Create data elements for Adobe Analytics
Data elements are references to specific parts of your site to collect variable values.
-
Log in to Adobe Experience Platform Data Collection using your AdobeID credentials.
-
Click the tag property that you intend to implement on your site.
-
Click the Data Elements tab, then click Add Data Element.
-
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
-
-
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.
-
Log in to Adobe Experience Platform Data Collection using your AdobeID credentials.
-
Click the tag property that you intend to implement on your site.
-
Click the Rules tab, then click Add Rule. Name it
Global Rule
. -
Click Add next to events, and enter the following settings:
- Extension: Core
- Event Type: Library Loaded (Page Top)
- Name: Core - Library Loaded (Page Top)
-
Click Keep Changes.
-
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
-
Click Keep Changes.
-
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()
-
Click Keep Changes.
-
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
- Implement Adobe Analytics
- Analytics Release Notes
- AppMeasurement release notes
- Analytics variables, functions, and methods
- Prepare to implement Adobe Analytics
- Implement Analytics using Experience Platform Edge
- Implement Analytics using the Adobe Analytics extension
- Implement Analytics using JavaScript
- Implement Analytics on other platforms
- Implement Analytics on mobile devices
- Implementation use cases
- Validate your implementation
- Frequently asked questions
- Review your implementation