Tagged: x
-
AuthorPosts
-
November 3, 2016 at 9:08 am #1242360
bjensen_drParticipantMy Google Analytics has seemed to zero out and stopped tracking my site, which correlates very closely to relaunching the site with X theme. I used the “Add On” Google Analytics plugin and put in my code and it was showing up in the source of the pages so I thought all was good.
I just moved the code to the Customizer javascript area and again the code is there, but now if the footer.
I am not a coder but I did notice that there seemed to be two script tags the start the expression. Could that be causing the issue? I have some other tracking codes that I am using that also don’t seem to be working.
—– source code from footer of my page.
<script id=”x-customizer-js”>
<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’, ‘xxxxxxxxxx’, ‘auto’);
ga(‘send’, ‘pageview’);</script>
November 3, 2016 at 9:28 am #1242414
DarshanaModeratorHi there,
Thanks for writing in! Please provide us with the URL to your page along with the code that you have tried to put into your site, so that we can assist you.
By the way, if you want to add it into your Customizer, Custom > JavaScript section, remove the script tags from your code, for example
<script> </script>Thanks!
November 7, 2016 at 1:54 pm #1247593
bjensen_drParticipantThere was some duplicative code causing issues. This is resolved, thank you.
November 7, 2016 at 2:14 pm #1247614
NicoModeratorHappy to hear that.
Feel free to ask us again.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1242360 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
