Announcement

Collapse
No announcement yet.

Tracking Script Quit Working After 2+ Years

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tracking Script Quit Working After 2+ Years

    We have a tracking script on "Checkout 4" that has been in place since sometime in 2015 and working all along, about a month ago it quit tracking the order total. According to the tracking company there has been no change in the analytic script, I'm left wondering if there were any updates or changes to 3dcart that impact the way that the script gathers the sales data? Looking around the forum I see nearly everyone uses [subtotal] instead of [total] for tracking, not sure this should matter but maybe worth a try? Does anyone have any advice regarding this situation?

    Code:
    <script type="text/javascript">
    
       var params = new Array();
    
       params[0]='id=5fd754b0-0a49-4e67-84b8-e7a1a';
    
       params[1]='type=conv';
    
       params[2]='val=[total]';
    
       params[3]='orderId=[orderid]';
    
       params[4]='promoCode=';
    
       params[5]='valueCurrency=USD';
    
       params[6]='GCID='; //For Live Tracking only
    
       params[7]='kw='; //For Live Tracking only
    
       params[8]='product='; //For Live Tracking only
    
       k_trackevent(params,'14');
    
    </script>
    
    
    
    <noscript>
    
       <img src="https://14.xg4ken.com/media/redir.php?track=1&token=5fd754b0-0a49-4e67-84b8-e7a1a&type=conv&val=total&orderId=&promoCode=&valueCurrency=USD&GCID=&kw=&product=" width="1" height="1"/>
    
    </noscript>

  • #2
    GRWeb Sorry to hear about the script not working. We can look into what caused it to stop and possibly get it resolved. Are you able to open a support ticket with the details? We need to see what the script is attempting to pull and make sure the correct variables are being used. Here is a guide for the checkout 4 template and the variables used on that page: https://www.3dcart.com/guide/templat...out-step4.html

    Comment

    Working...
    X