Edit

Share via


Personalize your customers' web experience (preview)

[This article is prerelease documentation and is subject to change.]

Personalizing the web experience for your visitors is critical to foster loyalty, increase engagement, enhance satisfaction, and drive higher conversion rates. You can personalize your customers' web experience in either of the following ways:

The web tracking and personalization tables are available in Dataverse.

Personalize the web experience with code

You can use APIs to personalize the web experience for your visitors. Query any of the Customer Insights - Data APIs to retrieve rich information about each customer, such as demographic information, web interactions, activities, segments, and measures.

Since the cookieIds also uniquely identify a known customer or an unknown visitor, you can use the cookieId to query a profile. Retrieve the Customer Insights - Data web tracking cookie on the server side of your website. Customer Insights - Data cookies are stored as "_msci" in the request.

For example, using C#, you can find the cookieID of the current visitor like this:

string cookieId = Request.Cookies["_msci"]; //CI-D cookie

Then, use the cookie as an identifier to query any of the Customer Insights - Data APIs.

Personalize the web experience without code by using Optimizely

Often, customization requires a team of web developers. But Optimizely's native integration with Customer Insights - Data empowers marketers to personalize your website for visitors, without developers and without having to understand code themselves.

The Optimizely integration allows Customer Insights - Data to share segments with Optimizely and create audiences in Optimizely that are based on those segments. You can use them in your web personalization campaigns or web experiments. Customer Insights identifies website visitors who are members of a segment and lets you provide a personalized web experience to them in real time.

For example, let's say you create a segment in Customer Insights - Data for high-value customers. This segment also shows up in Optimizely, making it easy to add a promotional banner to the home page that's only displayed to visitors who are part of the "high-value customers" segment.

You can also track user behavior for events that real-time tracking supports and for specific events in Optimizely: Campaign & Experiment.

Watch this brief video for an overview of the Optimizely integration with Customer Insights - Data.

Tip

Sign up to request access to the preview version of the real-time personalization features and read the blog about the announcement.

Prerequisites

Connect to Optimizely

Connect to Optimizely by using either of the following methods.

Use the first run experience

Going through the first run experience creates a connection to Optimizely and exports all segments. You can edit the export and remove segments as you prefer.

  1. In Customer Insights - Data, go to Web tracking & personalization.
  2. Select Set up in the Optimizely tile.
  3. Enter a name for the connection to Optimizely.
  4. Enter an Optimizely API key. Learn more at Personal access token.
  5. Agree to the data privacy and compliance notice, and then select Connect.
  6. Choose the Optimizely project you want to connect to.
  7. Select Save or Save and Run.

You now have a connection to Optimizely and an export with all your segments. You can edit them like any other connection or export.

Create the connection and export from scratch

Create a connection to Optimizely and export your segments manually. You can share this connection with other users in Customer Insights. You can remove the connection at any time to discontinue the use of Optimizely.

Create the connection:

  1. In Customer Insights - Data, go to Connections.
  2. Select Add connection, and then select Optimizely.
  3. Enter a name for the connection.
  4. Enter an Optimizely API key. Learn more at Personal access token.
  5. Agree to the data privacy and compliance notice, and then select Save.

Create an export and include the segments that you want to export to Optimizely:

  1. In Customer Insights - Data, go to Exports.
  2. Create an export and choose the Optimizely connection you want to use. If you don't see a connection, create one or ask your administrator to create the connection and share it with you.
  3. Name your export and provide the Optimizely Project ID.
  4. To export the segments to Optimizely right away, select Save and Run. You can also schedule the export to run on system refresh.

Known limitations

  • In Optimizely, you can create up to 100 audiences or attributes per project. If you exceed this limit, Optimizely moves the extra audiences or attributes to your audiences archive.