Expand my Community achievements bar.

Join us January 15th for an AMA with Champion Achaia Walton, who will be talking about her article on Event-Based Reporting and Measuring Content Groups!
SOLVED

Cancelling Image Request

Avatar

Level 1

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!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor and Adobe Champion

Dear Sharanya,

Guess your DTM/Launch request is getting cancelled.

Make sure that your property has your local domain so that your local domain didn't get excluded.

Thank You!

Arun

View solution in original post

5 Replies

Avatar

Community Advisor and Adobe Champion

Dear Sharanya,

The code is working perfect for me.

s.clearVars();

var linkName;

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

s.linkTrackEvents = 'event1';

s.events = 'event1';

linkName = "linkclick";

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

s.tl();

If you can share the Public URL, we can help you to debug more.

Thank You!

Arun

Avatar

Level 1

Hello Pratheep,

I am trying out link tracking on a local site and the image request cancelling looks as follows,

1.JPG

The Custom Link I pass along with the s.tl() call fires but the respective eVars do not fire or get mapped in the reports. Hence, the reports are showing up empty. Could you please help me figure out what is causing this cancellation?

Avatar

Correct answer by
Community Advisor and Adobe Champion

Dear Sharanya,

Guess your DTM/Launch request is getting cancelled.

Make sure that your property has your local domain so that your local domain didn't get excluded.

Thank You!

Arun

Avatar

Community Advisor and Adobe Champion

Dear Sharanya,

Able to solve the issue?

Thank You!

Arun

Avatar

Level 1

Hey Pratheep,

I added the domains and no it did not resolve the issue. Still figuring it out. I have even tried tracking internal traffic and mapped the eVar for the same. Nothing seems to be collecting any sort of data in the reports! The image requests are still cancelling on click of any component. For internal traffic, I added the below code in my Analytics extension custom code section.

s.intURL = "http://localhost/dailyshop"

s.eVar16 = s.intCheck();

Note: I HAVE correctly mapped the eVars and props in the report suite settings!