Create data elements for Adobe Analytics

Data elements are references to specific parts of your site to collect variable values.

  1. Log in to Adobe Experience Platform Data Collection using your AdobeID credentials.

  2. Click the tag property that you intend to implement on your site.

  3. Click the Data Elements tab, then click Add Data Element.

  4. Give the data element the following settings:

    • Name: Page Name

    • Extension: Core

    • Data Element Type: JavaScript Variable

    • JavaScript variable name: window.document.title

      NOTE
      This value serves as an example to help get started. If your organization defines a better value for page name, such as a data layer value, you can enter it here.

      * Clean text checked

    • Storage Duration: None

  5. Click Save.

Create rules for Adobe Analytics

Rules map data elements to Analytics variable values, and determine when those values are sent to Adobe’s servers.

  1. Log in to Adobe Experience Platform Data Collection using your AdobeID credentials.

  2. Click the tag property that you intend to implement on your site.

  3. Click the Rules tab, then click Add Rule. Name it Global Rule.

  4. Click Add next to events, and enter the following settings:

    • Extension: Core
    • Event Type: Library Loaded (Page Top)
    • Name: Core - Library Loaded (Page Top)
  5. Click Keep Changes.

  6. Under Actions, click Add, and enter the following settings:

    • Extension: Adobe Analytics
    • Action Type: Set Variables
    • Page Name: click the container icon, and select the Page Name data element.
    • Campaign: Query parameter with a value of cid
  7. Click Keep Changes.

  8. Click the Plus sign next to actions to add another action, and enter the following settings:

    • Extension: Adobe Analytics
    • Action Type: Send Beacon
    • Name: Adobe Analytics - Send Beacon
    • Tracking: s.t()
  9. Click Keep Changes.

  10. Verify that you have the event and two actions set, then click Save.

Next steps

Deploy your Analytics implementation to your dev environment: Get Analytics code working in a test environment.

Analytics