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
BedrockMission!

Learn More

View all

Sign in to view all badges

Adobe Target Standard - Click Tracking not working!!!

Avatar

Avatar
Validate 1
Level 2
s_kala
Level 2

Likes

11 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
s_kala
Level 2

Likes

11 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
s_kala
Level 2

01-05-2018

Hi Guys,

I am trying to A/B test few links in the header section of my website, meaning that the links are present on all the pages of the website.

But, I see the click tracking call failing in the network tab & do not see the click tracked in the reports. Below is the screenshot of the network tab.

Can anyone help me understand why the click tracking call is failing? 

1477641_pastedImage_1.png

View Entire Topic

Avatar

Avatar
Boost 5
Level 4
russpainter
Level 4

Likes

49 likes

Total Posts

40 posts

Correct Reply

7 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile

Avatar
Boost 5
Level 4
russpainter
Level 4

Likes

49 likes

Total Posts

40 posts

Correct Reply

7 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
russpainter
Level 4

01-05-2018

This is a classic clickTracking problem. The page is being forwarded on too quickly for the response to be sent out. The browser can't send it out in time and aborts it. I bet you see this being pretty sporadic depending on how quick the next page is loading. I've used a delay anchor with the clickTracking.

Try something like this

<script type="text/javascript">

$('element').click(function (e) {

    e.preventDefault();                  

    var goingHere = this.getAttribute("href");

       /// track events

       adobe.target.trackEvent({"mbox": "clicked-cta","params": {

        "param1": "value1"}

});

    setTimeout(function(){

         window.location = goingHere;

    },500);      

});    

</script>

This is using JQuery. Your developers may not use JQuery so they'd have to do something with Javascript.

I hope this helps. Let me know if you have any questions.

Russ