Hello!
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 –>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,'https://www.google-analytics.com/analytics.js’,'ga’ ;
ga(‘create’, ‘XXXXXX’, ‘auto’);
ga(‘send’, ‘pageview’);
</script>
<!– 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!
|
|
Hi,
Have you tried to insert the analytics code without the <script> tags (opening and closing)?
BR,
ThemeBurn team
|
|
Hi!
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…
Thanks!
|
|
Glad we’ve helped
If you like our products, we will be grateful, if you leave your rating at ThemeForest.
BR,
ThemeBurn team
|
|
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?
|
|