Results 1 to 2 of 2
  1. #1

    Default Adwords Tracking Code Different Results Chrome vs. Firefox

    I added a third party's tracking code by following the instructions in this ZenCart Tutorial: https://www.zen-cart.com/tutorials/i...hp?article=399

    When I view source via my Firefox browser the values for order total and order id appear to be correct. When I view source via my Chrome browser I do not see the values for order total and order id. (both are Mac versions if that's potentially relevant). For privacy I've substituted XXXXXX for my id.

    I'm concerned that customers using Chrome are not going to be tracked. Is it just not visible in view source or have I put the code in wrong?

    View source output from Firefox:
    Code:
    <SCRIPT LANGUAGE="JavaScript">svaid = XXXXXX;bts_amount = 12;origin = escape(document.referrer);bts_orderno = escape('32181');</SCRIPT><SCRIPT LANGUAGE = "JavaScript" SRC="https://www2.higherengine.com/bts/XXXXXX/bts.js"></SCRIPT><NOSCRIPT><img src="https://www2.higherengine.com/bts/XXXXXX/bts.php?svaid=XXXXXX&amt=12&bts_orderno=32181" alt=""></NOSCRIPT>
    View source output from Chrome:
    Code:
    <SCRIPT LANGUAGE="JavaScript">svaid = XXXXXX;bts_amount = ;origin = escape(document.referrer);bts_orderno = escape('');</SCRIPT><SCRIPT LANGUAGE = "JavaScript" SRC="https://www2.higherengine.com/bts/XXXXXX/bts.js"></SCRIPT><NOSCRIPT><img src="https://www2.higherengine.com/bts/XXXXXX/bts.php?svaid=XXXXXX&amt=&bts_orderno=" alt=""></NOSCRIPT>
    Code I added for the tracking:
    PHP Code:
    echo "<SCRIPT LANGUAGE=\"JavaScript\">";
    echo 
    "svaid = XXXXXX;";
    echo 
    "bts_amount = " $order_summary['order_subtotal'] . ";";
    echo 
    "origin = escape(document.referrer);";
    echo 
    "bts_orderno = escape('" $order_summary['order_number'] . "');";
    echo 
    "</SCRIPT>";
    echo 
    "<SCRIPT LANGUAGE = \"JavaScript\" SRC=\"https://www2.higherengine.com/bts/XXXXXX/bts.js\">";
    echo 
    "</SCRIPT>";
    echo 
    "<NOSCRIPT>";
    echo 
    "<img src=\"https://www2.higherengine.com/bts/XXXXXX/bts.php?svaid=XXXXXX&amt=" $order_summary['order_subtotal'] . "&bts_orderno=" $order_summary['order_number'] . "\" alt=\"\">";
    echo 
    "</NOSCRIPT>"
    www.pinkchalkfabrics.com - cloth, pattern + tool for modern sewists
    ZC version 1.3.9h, Simple Category Tree, Super Orders

  2. #2
    Join Date
    Sep 2008
    Location
    WA
    Posts
    555
    Plugin Contributions
    0

    Default Re: Adwords Tracking Code Different Results Chrome vs. Firefox

    I would like to know this answer too. I am at the stage of posting adwords.

 

 

Similar Threads

  1. v139h Same code, different results
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Jun 2013, 08:35 AM
  2. v150 Placement of Images and Forms different between IE, Firefox, and Chrome
    By coreyalderin in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Sep 2012, 02:33 PM
  3. Google Adwords Conversion Tracking code help.
    By wondergirl in forum General Questions
    Replies: 39
    Last Post: 16 May 2012, 04:21 PM
  4. ie7 and chrome different than ie8 and firefox
    By Congerman in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Aug 2010, 04:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg