Jump to content

Third Party Click Tracking Issue with Invocation Code


Recommended Posts

Hi,

I am struggling in tracking clicks on from JavaScript Invocation code, attached screen for settings in Revive. My Supplier is using Adzerk Ad server.

invocationCode.jpg

 

Please check his reply for same:


"The click redirect URL isn't being properly passed into the Tailshift click URL that's getting rendered to the page. I'm very sorry, but I cannot resolve this - no matter what macro we use, it still isn't going to get passed in. "

 

Invocation code is

<script type='text/javascript'><!--//<![CDATA[
   document.MAX_ct0 = unescape('INSERT_ENCODED_CLICKURL_HERE');

   var m3_u = (location.protocol=='https:'?'https://adserver.tailshift.com/www/delivery/ajs.php':'http://adserver.tailshift.com/www/delivery/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?zoneid=1");
   document.write ('&amp;cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
   document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
   document.write ("&amp;loc=" + escape(window.location));
   if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if ((typeof(document.MAX_ct0) != 'undefined') && (document.MAX_ct0.substring(0,4) == 'http')) {
       document.write ("&amp;ct0=" + escape(document.MAX_ct0));
   }
   if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://adserver.tailshift.com/www/delivery/ck.php?n=a67792f4&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://adserver.tailshift.com/www/delivery/avw.php?zoneid=1&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a67792f4&amp;ct0=INSERT_ENCODED_CLICKURL_HERE' border='0' alt='' /></a></noscript>

 

Please help me to solve this issue.

 

Link to comment
Share on other sites

Hi Eric,

Thanks for the reply.

But this is not related to my issue. Let me explain the issue to you

I created a campaign in Revive and targeted to a Zone, then copied Invocation Code (JavaScript) and handed to my 2 suppliers to paste on their websites. My suppliers are using AdZerk & EPOM system respectively to manage their inventory they tested the tags into their system and put their system CLICK MACROS + RANDOM NUMBER into tags. They can see the ad but can't record click if someone click on the ad.

 

I hope, I am clear enough this time. Can you please help me to troubleshoot this issue?

Link to comment
Share on other sites

  • 6 months later...

Hi @sumit.tailshift,

Yes, very difficult to know what's going on without details - so, I would recommend using something like Chrome's developer tools to trace the flow of requests. When you click on one of the ads, does the call through to their click macro get triggered by the browser? If so, then you can see that the issue is at their end. If not, then you've got a starting point to try and figure out why it's not being triggered...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...