Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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?

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