Information for: DEVELOPERS   PARTNERS   SUPPORT

Using Personalization Inspector

Personalization Inspector requires jQuery 1.7 or newer.

After you enable the Personalization Inspector, Personalization displays a menu bar at the bottom of the webpage. To view the Personalization inspector, click its up arrow icon Up arrow.

lift-inspector

Personalization Inspector features

The Personalization Inspector contains the following three tabs:

Personalization Profile tab

This tab displays information that is normally stored in cookies that are sent to the Personalization Web service. Its displayed information includes:

  • Person tracking id: A combination of letters and numbers unique to this particular website visitor.
  • Touch tracking id: The combination of letters and numbers that uniquely identifies this website visitor’s touch. A touch is a series of contiguous views with a duration between events of no more than 30 minutes. For more information about touches, see Examining visitor information.
  • Evaluated segments: The website segments into which this website visitor currently fits, based on their activity on the website. For more information about segments, see Managing your site’s segments.

Site Preview tab

The Site Preview tab allows you to examine your personalizations as if you are a visitor that has been assigned to a particular segment. Depending on the segments that you select, Personalization Drupal displays the content that is targeted to the corresponding audiences. For example, if you select the segment first-time-visitor and you have configured a content variation that displays a pop-up registration window to the audience first-time visitors, Personalization will display this pop-up window.

You can add or remove any segment that you have configured in Personalization Web.

lift-inspector-site-preview

Adding segments

To add segments for debugging:

  1. If you are currently previewing your website as a visitor in selected segments, click Stop Preview.
  2. On the Site Preview tab, click Enter a segment. Personalization displays a list of available segments.
  3. Click the segment that you want to add, and then click Add.
  4. To add additional segments, repeat the previous two steps.

To preview your website as it will now appear to the selected segments, be sure to click Start Preview, and then refresh the webpage.

Removing segments

To remove a segment:

  1. If you are currently previewing your website as a visitor in selected segments, click Stop Preview.
  2. Click the X icon lift-inspector-x for the segment that you want to remove.

To preview your website as it will now appear to the selected segments, be sure to click Start Preview, and then refresh the webpage.

For more information about creating and managing segments, see Creating and managing segments.

Event Log tab

lift-inspector-errorlog

To display several different kinds of log messages that come from Personalization Drupal or Personalization Web, click the Event Log tab.

The following logs, based on their Type column value, are available for review:

  • Personalization Web
    • Information logs: These logs are marked with an information icon lift-inspector-info and display the segments you are put into as you navigate your website. Personalization Inspector saves logs from previous webpages you have visited, so that you can see how your segments change as you move through your website.
  • Drupal
    • Error logs: These log messages are marked with an error icon error and detail ways in which your personalizations are not functioning properly.
    • Warning logs: These log messages are marked with a warning icon lift-inspector-warning and identify outdated goals and personalizations. For example, if you update your website and remove a component that was included in a personalization, but that personalization is still running, the log displays an error message such as No DOM element for the following selector in the chrome personalization: "#node-3 img" where DOM element is the component that was removed, chrome is the name of the personalization, and #node-3 img is the selector that is used to identify the component.
    • Information logs: These log messages are marked with an information icon lift-inspector-info and allow you to see what personalization groups you qualify for as you browse your website. The logs also display what goals are being met—for example, if you click on a picture of a cat, and you have defined that visitor action as a goal, the log lists that goal as having been sent to the Personalization Web service.

Advanced

Logs of the Developer type display debugging information that can be helpful to website developers. For example, if a personalization requests that the decision engine pick a variation from the set to display, this information will be displayed as a developer log message.

The log messages can be filtered based on their Severity (available options are Error, Warning, and Info) and their Type (Drupal, Lift Web, or Developer).

Minimizing and closing the Inspector

To minimize the menu bar, click the down arrow icon lift-inspector-down-arrow.

To close the Personalization Inspector, click its X icon lift-inspector-bar-x. After you close the Inspector, you will have to re-enable it in your browser to use it.