Send Site Traffic Revealer data to Adobe Analytics

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

 

Enable Site Traffic Revealer in RollWorks

  1. In RollWorks, 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”.

site_traffic_revealer.png

 

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.unnamed.png
  2. Select the Report Suite you would like to set up.unnamed__1_.pngRefer 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.report_suite_manager.png
  4. On the Conversion Variables page, click “Add New” to add an unused eVar to the report suite.unnamed__2_.png
  5. Set the following variable fields to:
    • Name: RollWorks Company Domain
    • Status: Enabled 
    • Type: Text String
    • Allocation: Linear
    • Expire After: Visitunnamed__3_.png
  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.unnamed__4_.pngRefer 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.unnamed__5_.pngFor installing and configuring any extensions, refer to Adobe’s documentation on Tag extensions for more information:
    • For details on configuring Adobe Analytics extension, see here.
    • For details on configuring Adobe Client Data Layer extension, see here.
    • For details on configuring Core extension, see here.

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

unnamed__6_.png

 

Create Rules in Adobe Tags

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

Creating the RollWorks 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.unnamed__7_.png
  7. Under the Actions section, click “+” to add a new action.
  8. Set the following fields to:
    • Extension: Core
    • Action Type: Custom Code
    • Name: RollWorks Pixel
    • Language: HTML
      • Click “Open Editor”.
      • Paste your RollWorks pixel code.
        • See here for finding and copying your Pixel code
      • Click “Save”.unnamed__8_.png
  9. Click “Keep Changes” to save the action.
  10. Click “Save to Library”.unnamed__9_.png

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.unnamed__10_.png
  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".

unnamed__12_.png

RollWorks 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_personlizationunnamed__13_.png
  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%unnamed__14_.png
      • Click Add Another and repeat the above steps for:
        • RollWorks Company Name
        • RollWorks Company Industry
        • RollWorks Company Revenue
        • RollWorks Company Sizeunnamed__15_.png
  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()unnamed__16_.png
  12. Click “Keep Changes” to save the action.
  13. Click “Save to Library”.

unnamed__17_.png

 

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?
0 out of 0 found this helpful

Articles in this section

Chat with an agent
Mon - Fri 10am - 6pm EST
Send a support email
Mon - Fri 10am - 6pm EST