Send Site Traffic Revealer data to Adobe Analytics

This document covers the steps for configuring the AdRoll Site Traffic Revealer for Adobe Analytics.

Enable Site Traffic Revealer in the AdRoll ABM platform

  1. Navigate to the Site Traffic Revealer Settings dashboard here: https://app.adroll.com/settings/site-visitors-data?advertisable=ADVERTISABLE_EID
  2. Toggle the Enable switch to on.
  3. Select “Do not send data to Google Analytics”.
  4. Click “Save”.

Screenshot: Click “Save”.

Create eVars (custom variables) in Adobe Analytics

  1. In Adobe Analytics, navigate to the Report Suite Manager by clicking “Report suites” under the Admin menu. Screenshot: Create eVars (custom variables) in Adobe Analytics
  2. Select the Report Suite you would like to set up. Screenshot: In Adobe Analytics, navigate to the Report Suite Manager by clicking “Report suites” under the Admin menu.Refer to Adobe’s documentation on creating a report suite if you have not yet created a suite.
  3. Navigate to the report suite’s Conversion Variables page by clicking Edit Settings > Conversion > Conversion Variables.Screenshot: Create eVars (custom variables) in Adobe Analytics
  4. On the Conversion Variables page, click “Add New” to add an unused eVar to the report suite.Screenshot: Create eVars (custom variables) in Adobe Analytics
  5. Set the following variable fields to:
    • Name: RollWorks Company Domain
    • Status: Enabled 
    • Type: Text String
    • Allocation: Linear
    • Expire After: VisitScreenshot: Allocation: Linear
  6. Click “Save”.
  7. Repeat the above steps for the following metrics:
  • Name: RollWorks Company Name
  • Status: Enabled
  • Type: Text String
  • Allocation: Linear
  • Expire After: Visit
  • Name: RollWorks Company Industry
  • Status: Enabled 
  • Type: Text String
  • Allocation: Linear
  • Expire After: Visit
  • Name: RollWorks Company Revenue
  • Status: Enabled 
  • Type: Text String
  • Allocation: Linear
  • Expire After: Visit
  • Name: RollWorks Company Size
  • Status: Enabled 
  • Type: Text String
  • Allocation: Linear
  • Expire After: Visit

Configure Extensions in Adobe Tags

  1. In Adobe Tags (formerly known as DTM or Launch), within the Adobe Experience Platform Data Collection app, select the property that contains the Tag to update.Screenshot: Expire After: VisitRefer to Adobe’s documentation on creating a Tag property if you have not yet created a property.
  2. Navigate to “Extensions” and verify that the following extensions are installed, configured, and saved to your library: Adobe Analytics, Adobe Client Data Layer, Core.Screenshot: Configure Extensions in Adobe TagsFor installing and configuring any extensions, refer to Adobe’s documentation on Tag extensions for more information:

Create Data Elements in Adobe Tags

  1. In your relevant Tag property, navigate to “Data Elements”.
  2. Click “Add Data Element”.
  3. Set the following fields to:
    • Name: RollWorks Company Domain
    • Extension: Adobe Client Data Layer
    • Data Element Type: Data Layer Computed State
    • [Optional] Path: domain
  4. Click “Save to Library”.
  5. Repeat the above steps for the following Data Elements:
  • Name: RollWorks Company Name
  • Extension: Adobe Client Data Layer
  • Data Element Type: Data Layer Computed State
  • [Optional] Path: company_name
  • Name: RollWorks Company Industry
  • Extension: Adobe Client Data Layer
  • Data Element Type: Data Layer Computed State
  • [Optional] Path: company_industry
  • Name: RollWorks Company Revenue
  • Extension: Adobe Client Data Layer
  • Data Element Type: Data Layer Computed State
  • [Optional] Path: company_revenue
  • Name: RollWorks Company Size
  • Extension: Adobe Client Data Layer
  • Data Element Type: Data Layer Computed State
  • [Optional] Path: company_size

Screenshot: [Optional] Path: company_size

Create Rules in Adobe Tags

If you already have a Pixel set up, proceed to Creating the Site Traffic Revealer Rule.

Creating the Pixel Rule

  1. In your relevant Tag property, navigate to “Rules”.
  2. Click “Add Rule”.
  3. Set the following fields to:
    • Name: RollWorks Pixel
  4. Under the Events section, click “+” to add a new event.
  5. Set the following fields to:
    • Extension: Core
    • Event Type: DOM Ready
    • Name: Core - DOM Ready
  6. Click “Keep Changes” to save the event.Screenshot: Name: Core - DOM Ready
  7. Under the Actions section, click “+” to add a new action.
  8. Set the following fields to:
  9. Click “Keep Changes” to save the action.
  10. Click “Save to Library”.Screenshot: Click “Keep Changes” to save the action.

Creating the Site Traffic Revealer Code Rule

  1. In your relevant Tag property, navigate to “Rules”.
  2. Select the “RollWorks Pixel” rule (created above).
  3. Set the following fields to:
    • Name: RollWorks Pixel + Site Traffic Revealer
  4. Under the Actions section, click “RollWorks Pixel”.
  5. Click “Advanced Options” to expand the section.
  6. Check “Wait to run next action”.
  7. Set the “Timeout in milliseconds” field to 5000.
  8. Click “Keep Changes” to save the action.Screenshot: Set the “Timeout in milliseconds” field to 5000.
  9. Under the Actions section, click “+” to add a new action.
  10. Set the following fields to:
    • Extension: Core
    • Action Type: Custom Code
    • Name: RollWorks - Site Traffic Revealer
    • Language: HTML
  11. Click “Keep Changes” to save the action.
  12. Click “Save to Library".

Screenshot: Send Site Traffic Revealer data to Adobe Analytics

AdRoll Site Traffic Revealer Code

<script>
(function() {
    if (typeof __adroll === "undefined") {
        setTimeout(arguments.callee, 10);
        return;
    }
    try {
        var dataLayer = __adroll._ensure_global("adobeDataLayer", {});
        var advEid = __adroll._ensure_global("adroll_adv_id", "");
        var pixEid = __adroll._ensure_global("adroll_pix_id", "");
        var configureAdobeAnalytics = function(personalizationData) {
            personalizationData.event = "rollworks_personlization";
            dataLayer.push(personalizationData);
        }
        __adroll._b2bPersonalizationDataCbAdobe = function(personalizationDataResponse) {
            var personalizationData = personalizationDataResponse.user_attributes;
            if (Object.keys(personalizationData).length > 0) {
                configureAdobeAnalytics(personalizationData);
            }
        };
        if (dataLayer.constructor === Array) {
            __adroll.add_script_element(
                __adroll._srv("/user_attrs?advertisable_eid=" + advEid + "&keys_eid=" + pixEid +
                    "&first_party=false&jsonp=__adroll._b2bPersonalizationDataCbAdobe")
            );
        }
    } catch (err) {}
})();
</script>

Creating the Site Traffic Revealer to Analytics Rule

  1. In your relevant Tag property, navigate to “Rules”.
  2. Click “Add Rule”.
  3. Set the following fields to:
    • Name: RollWorks Site Traffic Revealer to Analytics
  4. Under the Events section, click “+” to add a new event.
  5. Set the following fields to:
    • Extension: Adobe Client Data Layer
    • Event Type: Data Pushed
    • Name: Adobe Client Data Layer - Data Pushed
    • Listen to: Specific Event
    • Time scope: All
    • Event / Key to register for: rollworks_personlizationScreenshot: Time scope: All
  6. Click “Keep Changes” to save the event.
  7. Under the Actions section, click “+” to add a new action.
  8. Set the following fields to:
    • Extension: Adobe Analytics
    • Action Type: Set Variables
    • Name: Set RollWorks Adobe Analytics Variables
    • Variables
      • Under “eVars” select the eVar for “RollWorks Company Domain”.
      • Click the Data Element button and select the “RollWorks Company Domain” element.
        • Alternatively, you can just set it as %RollWorks Company Domain%Screenshot: Variables Under “eVars” select the eVar for “RollWorks Company Domain”.
      • Click Add Another and repeat the above steps for:
        • RollWorks Company Name
        • RollWorks Company Industry
        • RollWorks Company Revenue
        • RollWorks Company SizeScreenshot: RollWorks Company Revenue
  9. Click “Keep Changes” to save the action.
  10. Under the Actions section, click “+” to add another new action.
  11. Set the following fields to:
      • Extension: Adobe Analytics
      • Action Type: Send Beacon
      • Name: Send RollWorks Data to Adobe Analytics
      • Tracking: s.tl()Screenshot: Name: Send RollWorks Data to Adobe Analytics
  12. Click “Keep Changes” to save the action.
  13. Click “Save to Library”.

Screenshot: Click “Save to Library”.

Build and Publish your Adobe Tag Library

Once the above steps have been completed, don’t forget to build and publish your tag library changes. Please refer to Adobe’s documentation on building and publishing a tag library.

Was this article helpful?

Articles in this section

Chat with an agent
Monday to Friday, 10am to 6pm ET
Send a support email
Monday to Friday, 10am to 6pm ET