Results 1 to 10 of 23

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Location
    Belfast, N.Ireland
    Posts
    96
    Plugin Contributions
    0

    Default Re: How To: Add Google Analytics Tracking Code Directly To Zen Cart Code

    Quote Originally Posted by JaspalX View Post
    Hi ardhill, may be a silly question but when you created the jscript_google-analytics.js file, did you remove the <script></script> tags? I just tried it and it seems to work fine. FWIW, I used jscript_ga.js
    Yes, you are correct.

    These .js files are loaded and run as Javascript by Zen Cart, so you don't need to add the <script></script> tags.

    In fact the ZenCart wiki states:

    Quote Originally Posted by ZenCart wiki
    NOTE: jscript_*.js files must not contain any <script...> .... </script> tags. They should contain ONLY the contents that are to go "between" those tags.
    http://www.zen-cart.com/wiki/index.p...verride_How-To
    Last edited by ardhill; 4 Oct 2012 at 09:04 AM. Reason: Added wiki url

  2. #2
    Join Date
    Oct 2012
    Posts
    3
    Plugin Contributions
    0

    Default Re: How To: Add Google Analytics Tracking Code Directly To Zen Cart Code

    Hi there,

    I'm trying to find a way to add Google -remarketing code to my pages - this seemed like a simple way to "hardwire" it into the page code - I tried, but it simply doesn't show up...

    I'm a little lost - any help would be most appreciated....

    Thanks

  3. #3
    Join Date
    Dec 2007
    Location
    Belfast, N.Ireland
    Posts
    96
    Plugin Contributions
    0

    Default Re: How To: Add Google Analytics Tracking Code Directly To Zen Cart Code

    Quote Originally Posted by stickleback View Post
    I'm trying to find a way to add Google -remarketing code to my pages
    Personally, I had to google - "Google remarketing code" to see what you were talking about

    Sorry, but right now I personally just don't have time to read it up and play with the code. Maybe you could start a new thread on this as there aren't that may people involved in this thread. Others may be able to help that won't read this thread. There is bound to be other people who have done what you want, or are working on it and read the forums here.

    BTW, do you have a short desription of what Google remarketing is?

    Regards,

    Paul

  4. #4
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    568
    Plugin Contributions
    0

    Default Re: How To: Add Google Analytics Tracking Code Directly To Zen Cart Code

    Thanks for this; Google Analytics works now.
    Reports are strange. Google analytics shows one visitor per day & google adwords show 30/40?

 

 

Similar Threads

  1. v139h Google Analytics Conversion Tracking code install
    By split63 in forum General Questions
    Replies: 7
    Last Post: 17 Dec 2015, 04:09 AM
  2. Where to put google analytics tracking code???
    By cmike in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Apr 2014, 08:05 AM
  3. Replies: 6
    Last Post: 3 Oct 2013, 10:36 PM
  4. Ecommerce Tracking code for Google Analytics
    By Endre in forum General Questions
    Replies: 7
    Last Post: 14 Nov 2012, 03:20 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