Cancelling Image Request

Avatar

Avatar
Validate 1
Level 1
sharanya_sathya
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
sharanya_sathya
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
sharanya_sathya
Level 1

14-05-2019

Hi, I am doing a generic link tracking across my website and tracking it as follows on click of that link,

s.clearVars()

var linkName;

s.linkTrackVars = 'prop1,eVar1,events';

s.linkTrackEvents = 'event1';

s.events = 'event1';

linkName = "linkclick";

s.prop1 = s.eVar1 = s.pageName+":"+linkName;

When I check under the Console->Network tab, it shows the image request is getting cancelled followed by a subsequent image request firing. Although the beacon is firing, the data is not getting mapped to the eVar or the prop or the events. This in turn is resulting in report data showing up empty. Please do help!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Applaud 500
MVP
Asheesh_P
MVP

Likes

130 likes

Total Posts

334 posts

Correct reply

145 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

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

27-05-2019

Hi Sharanya,

I would suggest delaying the link activation option in DTM/Launch

  • in DTM enable "delay link activation"
  • In launch when you click the checkbox, a field opens where you can enter a delay of 500 milliseconds.

or use  s.forcedLinkTrackingTimeout = 500  in your s.tl() custom code.

Thanks,

Asheesh

Answers (2)

Answers (2)

Avatar

Avatar
Applaud 500
MVP
Asheesh_P
MVP

Likes

130 likes

Total Posts

334 posts

Correct reply

145 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

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

28-05-2019

If config is correct (code and report suite) and you do see the beacon in the network tab, data should start flowing soon. If you still see an issue, feel free to comment with some context e.g. code, where you setting this (DTM/launch), public url etc.

Avatar

Avatar
Validate 1
Level 1
sharanya_sathya
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
sharanya_sathya
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
sharanya_sathya
Level 1

27-05-2019

Hi Asheesh,

Delaying the link activation did resolve the cancelling image request problem. Thank you! However, the data is still not getting mapped to eVar, prop or the event.