Acquia Lift

Contents

Overview

The Janrain integration with Acquia lift enables Acquia Cloud customers who use Acquia Lift to personalize Drupal site content based on Janrain customer profile attributes.

Customer profile data stored within Janrain Registration can be transferred to Drupal using the Janrain Drupal module. Once mapped and available in Drupal user records, customer profile data can be accessed by Acquia Lift for content personalization.

This integration requires:

The following example walks you through personalizing content on a Drupal site hosted on Acquia Cloud using Janrain Registration and Acquia Lift.

The Janrain Drupal module supports mapping Janrain customer profile fields to Drupal user fields. Acquia Lift can personalize site content based on user context. This integration blueprint demonstrates how to use Acquia Lift to personalize site content based on a gender value that is transferred from Janrain to Drupal.

Prerequisites

Janrain Drupal Module Configuration Instructions

1. To create a field in Drupal to store the personalization attribute, start at Configuration and click Account Settings.

2. Click Manage Fields.

Manage fields

Figure 1: Click Manage Fields

3. Add the field that will hold the personalization attribute.

field gender

Figure 2: Add Personalization Attribute Field

4. Click Configuration.

Configuration

Figure 3: Click Configuration

5. Click Janrain Capture.

Janrain Capture

Figure 4: Click Janrain Capture

6. Click Field Mapping and map the Capture field to the newly-created Drupal field.

field mapping

Figure 5: Map the Capture Field to the Newly-created Drupal Field

7. Click Save Configuration.

Acquia Lift and Drupal Configuration Instructions

1. Click Acquia Lift.

Acquia LIft

Figure 6: Click Acquia Lift

2. Click the campaign listing page link.

Manage your campaigns

Figure 7: Click the Campaign Listing Page Link

3. Click Add Personalization Campaign.

Add Campaign

Figure 8: Click Add Personalization Campaign

4. Enter a campaign name and select personalize-target as the type.

Personalization Campaigns

Figure 9: Enter a Campaign Name

5. Click Save campaign settings.

6. Click on the name of the campaign to reveal the available visitor contexts.

contexts1

Figure 10: Reveal the Available Visitor Contexts

7. Click Choose a context… and select the context to be used for personalization.

contexts2

Figure 11: Select Personalization Context

8. Click Save campaign settings.

gender

Figure 12: Click Save Campaign Settings

Configuring Acquia Lift

1. Log in to your Acquia Cloud Drupal site with administrator privileges.

2. Navigate to the page that will host the Lift personalized content. Click Customize this page.

Customize this Page

Figure 13: Click Customize this Page

3. In the page section that will include the Lift personalized content, click the + icon.

Tertiary Features

Figure 14: Click ‘+’ Icon

4. In the Widgets section, click Add text.

widgets

Figure 15: Click Add Text

5. Select the campaign to be used for personalization.

Screen Shot 2014-08-01 at 9.56.30 AM

Figure 16: Select Personalization Campaign

6. In the General Settings section, enter a Title.

Title2

Figure 17: Enter a Title

7. Enter the default text to be shown in the personalization block and click +Add an option.

Add an option

Figure 18: Enter Personalization Block Default Text

Enter Personalization Block Text

8. Add the first content variation.

Hi Guys

Figure 19: Add First Content Variation

9. Add the second content variation.

Hi Ladies

Figure 20: Add Second Content Variation

10. Click Save.

11. The block is displayed on your page.

Block

Figure 21: Block is Displayed on Your Page

12. Click Save.

Save

Figure 22: Click Save

Configuring the Acquia Lift Campaign

1. Return to your campaign and click the content variation set.

Screen Shot 2014-08-01 at 12.11.02 PM

Figure 23: Click the Content Variation Set

2. You will see the set of variations that were created earlier. Click Show to visitors with specific traits.

show to visitors

Figure 24: Click Show to Visitors with Specific Traits

3. Select the variable you want to use for personalization.

gender2

Figure 25: Select Personalization Variable

4. Enter a value for the context variable.

male

Figure 26: Enter a Value for the Context Variable

5. Enter all values that will be used for personalization.

variation sets

Figure 27: Enter all Values to Be Used for Personalization

6. Click Save variation sets.

savevariationsets

Figure 28: Click Save Variation Sets

7. Click Start to start executing the campaign.

Start

Figure 29: Click Start to Start Executing the Campaign

Testing the Integration

1. Accessing the web page when logged out will initially show the default text variation.

Default text

Figure 30: Accessing Web Page when Logged Out Shows Default Text Variation

2. After signing in with a Janrain Capture account that has a gender attribute, the site will display one of the two content variations (depending on the gender attribute value).

higuys

Figure 31: After Signing in with a Janrain Capture Account that Has a Gender Attribute, Site Displays One of Two Content Variations