close

Filter

loading table of contents...

Blueprint Developer Manual / Version 2512.0

Table Of Contents
Creating Experiences for Evergage

Evergage uses different naming conventions than the CoreMedia personalization extension and the other supported personalization providers. The following table shows the mapping of Evergage terms to CoreMedia terms:

Evergage CoreMedia
Campaign Experience
Experience Variant

Table 6.6.  Evergage naming


Prerequisites
Creating Experiences for Testing or Personalization
  1. Create a new web campaign in the Evergage portal. Add the required number of experiences (one for each variation) and switch to the setup menu.

  2. Set the global campaign settings like user targeting, goal and metric.

  3. Switch to the experiences panel. Set the test mode and traffic allocation, name the experiences, and set each experience to type Personalize.

    Evergage Experiences panel

    Figure 6.28.  Evergage Experiences panel


  4. Add the JavaScript snippets to connect the variations to CoreMedia. For this open the mirrored experience definition (see Section, “Creating Experience Definitions in Studio”) in CoreMedia Studio. For each variation copy the Javascript snippet to the clipboard, change back to the Experience JavaScript tab and paste the JavaScript.

    Adding JavaScript code to the variants

    Figure 6.29.  Adding JavaScript code to the variants


Creating Experiences for Segmentation

The segmentation use case allocates the customer base to a set of segments.

Creating Segments

For the segmentation use case you have to create an External Segment content item for each segment you want to use in the <Site Root>/Options/Personalization/Segments/evergage folder of the site. For the content name use lower- and upper-case letters, numbers, minus and underscore, no special characters are allowed.

  1. Create a new web campaign and add an experience for each segment.

  2. Open the setup menu and switch to the experiences panel.

  3. Set the test mode to Rule-Based and set traffic allocation for Control to 0%. Afterwards edit each experience: Set its name and add a targeting rule with the fitting segment.

    Defining Segment experiences in Evergage

    Figure 6.30.  Defining Segment experiences in Evergage


  4. Add the JavaScript code for connecting the segments to CoreMedia. Add the following code for each experience, substituting the parameter segment_name with the name defined in CoreMedia (see Section, “Creating Experiences for Segmentation”).

    cm_p13n.pushSegment("<segment_name>");
    Evergage add JavaScript to experience

    Figure 6.31.  Evergage add JavaScript to experience


Creating Experience for Content Masking

The CoreMedia JavaScript frontend integration code - triggered by the Evergage JavaScript - dynamically loads content via AJAX from the CAE backend and injects it into the already displayed page. To minimize visually disturbing effects, such as elements flickering, popping up or moving around, during these page updates it is essential for the CoreMedia code to get notified when Evergage has finished processing all decisions. Therefore, a special campaign must be added, which must always be executed last by giving it the lowest priority:

  1. Create a new campaign, named CM Final.

  2. Set its priority to a lower value than all the other CoreMedia campaigns.

  3. Set its Test Mode to A/B.

  4. Add a single experience named Final and allocate 100% traffic to it.

  5. Set the experience's JavaScript code to: cm_p13n.completed('evergage');.

    Create final experience for Evergage

    Figure 6.32.  Create final experience for Evergage


Note

Note

Do not set any targeting or other rules, the experience must run on every page load.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.