Analytics report for downloads from dynamic link

Avatar

Avatar
Validate 1
Level 2
sayabannatole
Level 2

Likes

2 likes

Total Posts

15 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Validate 1
Level 2
sayabannatole
Level 2

Likes

2 likes

Total Posts

15 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Boost 1
Affirm 3
Affirm 1
View profile
sayabannatole
Level 2

03-03-2020

Hi All,

 

We are trying to get the report for file downloads which are part of a dynamic link. It's like http://WWW.mycompany.com/home/category.do?data=<context_data> and context_data keeps on changing for every session of the user. We did enable the downlods tracking and link tracking but these are not getting captured in either of the filedownloads or tracked links in analytics report. Any idea how to get the these captured when the file is delivered as part of the dynamic link?

 

Thanks,

Sayabanna

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 2
sayabannatole
Level 2

Likes

2 likes

Total Posts

15 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Validate 1
Level 2
sayabannatole
Level 2

Likes

2 likes

Total Posts

15 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Boost 1
Affirm 3
Affirm 1
View profile
sayabannatole
Level 2

03-02-2021

Hi,

 

Sorry for leaving it open.

We did change the url links structuring by making them static which resolved the issue and we were able to track them. The suggestions were really helpful in trying to get the dynamic links captured.

 

 

Thanks,

Sayabanna

Answers (1)

Answers (1)

Avatar

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

538 likes

Total Posts

971 posts

Correct reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

538 likes

Total Posts

971 posts

Correct reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile
Andrey_Osadchuk
MVP

03-03-2020

Could you share a few examples of the context_data?

sayabannatole

Hi Andrey,

Thanks for checking on this one.

The context data is dynamic data asigned after a user is logged in ex" data=8Y2l73dGihj7QTV%2F2htdbtpyYOJW58IELJ3a1hFsXSco8t6hWG3ddqAZ%2BLjpRObHuQzmLAEAWdAerMmoK8Mjgom7h4xv9dSmhZFKOc5xh8jyeg9%2BVpLc2F3zyoCw%2FnMgmQwz4XN1P4rVg8cuwMoUMg%3D%3D"

And as as mentioned earlier this keeps on changing for every session.

 

the downloadable file will have the link like this <a href="/docroot/folder1/folder2/myAction.do?data=8Y2l73dGihj7QTV%2F2htdbtpyYOJW58IELJ3a1hFsXSco8t6hWG3ddqAZ%2BLjpRObHuQzmLAEAWdAerMmoK8Mjgom7h4xv9dSmhZFKOc5xh8jyeg9%2BVpLc2F3zyoCw%2FnMgmQwz4XN1P4rVg8cuwMoUMg%3D%3D"

Hope this helps to understand the issue here.

 

 

Thanks,

Sayabanna

 

 

Thanks,

Sayabanna

Andrey_Osadchuk
Since the value can't be parsed, I think the best option would be to ask the web developers/ editors to improve the html markup by adding a data attribute(s) to each link that is associated with downloads. The data attribute may contain the asset/ file name for example. Then if you configure a rule in Launch with an onClick trigger, you will be able to track number of downloads and the asset/file names.
sayabannatole

Hi Andrey,

 

The Href link has inner text as well. ex :<a href="/folder1/folder2/action.do?data=xt7%2BHJ43BN4dnFie0fyiOarDVkAeJl8V7kWDD3P0ILE3yTdUF9Mb8bKrf9sZkMGoISW0tm1r3rcb03StdlhMTMdpLJttIl9oWzCjUzDVTvUXWD0U%2BzVSnzt5JoT0IwShjR6gi92KPlVC8Rps6WQjDA%3D%3D">link Name</a>

These kind of links are there in a list. I tried to get the innerText(%this.@text%) and assign it to one of the eVar using the onClick event and trigger on a particulra page.

The report is not showing the link name captured when custom report is viewed for the eVar used to capture the value. It just shows "unspecified" in the report.

even tried the custom code in set variables but it's not picking the link name.