AEM Content Insights and AEM sites Analytics not working | Community
Skip to main content
Level 4
January 19, 2017
Solved

AEM Content Insights and AEM sites Analytics not working

  • January 19, 2017
  • 2 replies
  • 2196 views

I have followed the directions from the page from this link https://helpx.adobe.com/experience-manager/using/integrate-digital-marketing-solutions.htm l in order to connect AEM (local) to DTM and Adobe Analytics. Everything looks good and I can see the server calls and props and eVars fire correctly however,

1. how do I get the content insights to show data in the graphs?

2. How do I get the analytics to show pageviews, unique visitors and time on page in the view settings in sites?

Any help would be greatly appreciated.

Thank you,

Scott

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

Hi 

Please follow the steps:

  • New Cloud Service configuration  AEM Author containing credentials to connect to Adobe Analytics.
  • New Adobe Analytics Framework configuration on AEM Author which maps the content pages of the author to the related Analytics data based on content path.
  • New Page Load Rule in DTM (triggered at DOM Ready with the below described custom conditions)
    var pagePath = document.head.querySelector("[name=path]").content; _satellite.setVar("pageName", pagePath); return true;

    Notes:

    • The path is stored as metadata in the page headers (added at base page level)
    • The Adobe Analytics setting of the above mentioned Page Load Rule needs to be set on the following way: Page Name field = %pageName%
    • The Adobe Analytics Framework configuration needs to be assigned to the root page of the site (page properties -> cloud services -> Adobe Analytics -> select the recently created Framework configuration)

Please refer to this old post, where member had similar problem:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__xugi-hi_we_are_trying.html

I hope this would help you.

~kautuk

2 replies

Level 4
January 19, 2017

I also get the below message when trying to add the page views in the view settings within AEM sites, Do I need to add another cloud connection other than Adobe DTM and Analytics?

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
January 20, 2017

Hi 

Please follow the steps:

  • New Cloud Service configuration  AEM Author containing credentials to connect to Adobe Analytics.
  • New Adobe Analytics Framework configuration on AEM Author which maps the content pages of the author to the related Analytics data based on content path.
  • New Page Load Rule in DTM (triggered at DOM Ready with the below described custom conditions)
    var pagePath = document.head.querySelector("[name=path]").content; _satellite.setVar("pageName", pagePath); return true;

    Notes:

    • The path is stored as metadata in the page headers (added at base page level)
    • The Adobe Analytics setting of the above mentioned Page Load Rule needs to be set on the following way: Page Name field = %pageName%
    • The Adobe Analytics Framework configuration needs to be assigned to the root page of the site (page properties -> cloud services -> Adobe Analytics -> select the recently created Framework configuration)

Please refer to this old post, where member had similar problem:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__xugi-hi_we_are_trying.html

I hope this would help you.

~kautuk

Kautuk Sahni