Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to track download content

Avatar

Level 6

I have a requirement where I need to track the event of mostly downloaded pdfs/zip file from AEM. So for that I was thinking about two ways -

1) Use Adobe analytics and track the download event. After I will write a component in AEM to query Adobe analytic to give the result. But I could not find document on how to query analytics data from AEM. 

2) Use tracker.js. But when I hit this url then this url http://localhost:4502/libs/wcm/stats/tracker.js?path=/content/dam/geometrixx/documents/GeoCube_Datas... then it says "impression added" but there is no way to see impression in console. Where I can see the impression? Is tracker.js only for page tracking?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Please find the detailed article on Server-side Download Tracking for Analytics

 

https://www.pedromonjo.com/2021/03/server-side-download-tracking.html


Aanchal Sikka

View solution in original post

3 Replies

Avatar

Level 10

Hi There,

Thanks for reaching out to Adobe Community.

Please follow the below article about enabling tracking in AEM thru Reports and Analytics.

https://docs.adobe.com/docs/en/aem/6-0/administer/integration/marketing-cloud/sitecatalyst/sc-link.h...

Thanks!

Avatar

Level 6

Hi,

I know how to track different events in Adobe Analytics and see the report but my question was different. I want to know how to write fetch data from Adobe Analytics programetically.

Avatar

Correct answer by
Community Advisor

Please find the detailed article on Server-side Download Tracking for Analytics

 

https://www.pedromonjo.com/2021/03/server-side-download-tracking.html


Aanchal Sikka