PDF file tracking in AppMeasurement

Avatar

Avatar
Validate 1
Level 3
gokula
Level 3

Likes

25 likes

Total Posts

90 posts

Correct reply

7 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Ignite 3
Ignite 1
View profile

Avatar
Validate 1
Level 3
gokula
Level 3

Likes

25 likes

Total Posts

90 posts

Correct reply

7 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Ignite 3
Ignite 1
View profile
gokula
Level 3

25-03-2019

Hi,

We have a requirement of PDF file download tracking and click / link tracking.   Currently we have latest AppMeasurement version 2.12 code is in place.

To track downloads and clicks do I need to used any custom solution ? if yes, how?

I came across this article Automatic Tracking of Exit Links and File Downloads but not sure if I set below variables is that works ? Or Do I need any custom plugin which tracks all activities of PDF files.

  1. s.trackDownloadLinks=true

  2. s.trackExternalLinks=true

  3. s.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,doc,pdf,xls"

Anyone can help ?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Applaud 500
MVP
Asheesh_P
MVP

Likes

130 likes

Total Posts

334 posts

Correct reply

146 solutions
Top badges earned
Applaud 500
Affirm 100
Contributor
Boost 100
Give Back 10
View profile

Avatar
Applaud 500
MVP
Asheesh_P
MVP

Likes

130 likes

Total Posts

334 posts

Correct reply

146 solutions
Top badges earned
Applaud 500
Affirm 100
Contributor
Boost 100
Give Back 10
View profile
Asheesh_P
MVP

29-03-2019

@gokula If you using DTM?

Go to Adobe Analytics Tool > Click on Gear icon next to an installed Adobe Analytics tool from the Overview tab > Within Adobe Analytics tool  > Go to Link Tracking > Enable "Track Download Links" > Enable "Track Outbound Links" > Disable "Keep URL Parameters"

Let me know if that works.

Answers (6)

Answers (6)

Avatar

Avatar
Coach
Employee
Gigazelle
Employee

Likes

473 likes

Total Posts

1,947 posts

Correct reply

740 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile

Avatar
Coach
Employee
Gigazelle
Employee

Likes

473 likes

Total Posts

1,947 posts

Correct reply

740 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile
Gigazelle
Employee

29-03-2019

It also could be a custom variable - if it's a prop or eVar, you'll want to strip the query string yourself.

Were you able to get everything figured out?

Avatar

Avatar
Seeker
Moderator
PratheepArunRaj
Moderator

Likes

316 likes

Total Posts

871 posts

Correct reply

265 solutions
Top badges earned
Seeker
Bedrock
Engage 1
Affirm 250
Contributor
View profile

Avatar
Seeker
Moderator
PratheepArunRaj
Moderator

Likes

316 likes

Total Posts

871 posts

Correct reply

265 solutions
Top badges earned
Seeker
Bedrock
Engage 1
Affirm 250
Contributor
View profile
PratheepArunRaj
Moderator

26-03-2019

Dear Gokula,

Weird. If you didn't set s.linkLeaveQueryString to 'true' it should not capture the query string parameters, however can you set the parameter to 'false' and see the result?

Sounds illogical, but testing can give some sort of understanding rather than assuming.

Thank You!

Arun

Avatar

Avatar
Validate 1
Level 3
gokula
Level 3

Likes

25 likes

Total Posts

90 posts

Correct reply

7 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Ignite 3
Ignite 1
View profile

Avatar
Validate 1
Level 3
gokula
Level 3

Likes

25 likes

Total Posts

90 posts

Correct reply

7 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Ignite 3
Ignite 1
View profile
gokula
Level 3

26-03-2019

Hello ishans9314858

I can see the pdf tracking count but another thing I noticed in analytics report which add some query string at the end of the link showing multiple records.  For reference attaching below screenshot. If you see below after .pdf extension few parameters getting added.

1719172_pastedImage_2.png

So just wanted to know how the query string added here in report ?

Do I need to set s.linkLeaveQueryString  here ? Default value is False but still I am able to see OR any other configuration var

Thanks

Avatar

Avatar
Affirm 100
Employee
ishans52004352
Employee

Likes

155 likes

Total Posts

330 posts

Correct reply

105 solutions
Top badges earned
Affirm 100
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Affirm 100
Employee
ishans52004352
Employee

Likes

155 likes

Total Posts

330 posts

Correct reply

105 solutions
Top badges earned
Affirm 100
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
ishans52004352
Employee

25-03-2019

No gokula​,

No plug-in is required for manual tracking. You can just implement it using the JS code and s.tl() function.

Experience Cloud Help

Avatar

Avatar
Validate 1
Level 3
gokula
Level 3

Likes

25 likes

Total Posts

90 posts

Correct reply

7 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Ignite 3
Ignite 1
View profile

Avatar
Validate 1
Level 3
gokula
Level 3

Likes

25 likes

Total Posts

90 posts

Correct reply

7 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Ignite 3
Ignite 1
View profile
gokula
Level 3

25-03-2019

Thank you for quick response ishans9314858

For manual tracking, do I need to use any external plugin ? Somewhere I read about downloadLinkHandler plugin but I am not able to get in documentation.

If I used configuration variables described above where I can able to see the data report?

If you can provide any example that helps really.

Avatar

Avatar
Affirm 100
Employee
ishans52004352
Employee

Likes

155 likes

Total Posts

330 posts

Correct reply

105 solutions
Top badges earned
Affirm 100
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Affirm 100
Employee
ishans52004352
Employee

Likes

155 likes

Total Posts

330 posts

Correct reply

105 solutions
Top badges earned
Affirm 100
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
ishans52004352
Employee

25-03-2019

Hi gokula​,

You can use configuration variables like s.trackDownloadLinks and s.linkDownloadFileTypes and that will allow automatic tracking of download links with the extension specified above (in s.linkDownloadFileTypes).

Alternatively, you can have manual tracking through a piece of code using s.tl() function, something like onclick="s.tl(this, "d", myLink)"