G.Analytics tracking code bug

ThemeBurn SupportForumsOpenCart ThemesBurnEngineG.Analytics tracking code bug

This topic has been marked as resolved.


Yesterday I have tried adding the tracking code for my analytics account. It seemed like it worked fine but today I woke up like my pictures are not shown on my webpage. Deleted the code, deleted cookies and worked fine after. My page is http://blueinstal.ro

The code is a JS code which I insterted in the Custom field – JS and looks like this:

<!– Google Analytics –>
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
})(window,document,’script’,'https://www.google-analytics.com/analytics.js’,'ga&#8217 ;) ;

ga(‘create’, ‘XXXXXX’, ‘auto’);
ga(‘send’, ‘pageview’);
<!– End Google Analytics –>

Before deleting the code, I have tried deleting cookies, resfreshing the page a lot but nothing seemed to work.
Is this problem related to Opencart/Burnengine or should I contact Google help?
Thanks in advance!

September 8, 2016 at 10:12 am #50773


Have you tried to insert the analytics code without the <script> tags (opening and closing)?

ThemeBurn team

September 14, 2016 at 6:40 pm #50944


I gotta say, I wouldn’t have guess that could do it.
I deleted the script tags and now it seems like it’s working. I thought it has to be in there…


September 22, 2016 at 3:39 pm #51260

Glad we’ve helped :)

If you like our products, we will be grateful, if you leave your rating at ThemeForest.

ThemeBurn team

September 22, 2016 at 4:24 pm #51266

i am having trouble here too, I inserted without the script tags in both stores i have (multi store, different tracking codes)
the script Does load up on my default but shows up on the multi.
any tips?

July 24, 2019 at 2:00 am #67874
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.