AEM has integrated the landing pages solution with Adobe Analytics by using the following call-to-action (CTA) components:
- Click Through Component
- Graphical Link Component
These components expose certain attributes that can be mapped via Adobe Analytics variables (Traffic, conversion variables) and success events to send information to Adobe Analytics.
Adobe recommends that you go through the existing AEM-Adobe Analytics integration to understand how this integration works.
In AEM, the Call to Action components - ClickThroughLink and GraphicalLink - displayed here in the sidekick, can be mapped to Adobe Analytics variables.
Drag and drop Call to Action (CTA) components from the sidekick into the mapping area in the middle of the page, as appropriate.
Component Name Attributes Exposed Meaning of Attribute CTA Click Through Link eventdata.clickthroughLinkLabel
The label on the link or the text of the link
The destination where you are taken when you click on the link
The click event CTA Graphical Link eventdata.clicktroughImageLabel
The title of the CTA image
The destination where you are taken when you click on the image which contains a link
The path to the image asset in the repository
The click event
You can now create a new landing page or open an existing landing page with existing CTA components and click Cloud Services tab in Page Properties from the sidekick (in the touch-optimized UI, select Open Properties and click Cloud Services) and configure the framework to use with landing page. Select the framework from the drop-down list.