Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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?

2 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.