Google changed the way the code works. We updated vBulletin 5.4.0 to reflect this.
You can work around it in 5.3.4 like this:
Google Analytics Javascript code to insert on VB5
Collapse
X
-
Yes it works but I quoted the instructions which are on the left of where you enter the code, then realised your code is different, so guessed I'd made a mistake.
The instructions by our box read:
If code you got starts with something like "<script type="text/javascript> and ends with "</script>", please DO NOT include those. -
-
-
Update to vBulletin 5.4.0 and you must use the entire code as provided by Google in your post. You only need to put it in the appropriate setting in the AdminCP. vBulletin will insert it into the page footer of every page.Leave a comment:
-
Google Analytics Javascript code to insert on VB5
I've this code...from google.... but appears don't work....
I must use all? Or wich selected parts?
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXX-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-XXXXXXXXX-3');
</script>
Thanks for the help
(FOR GA, it's only to put this code in admin cp or I must to modify CSS or page's html or info? )Last edited by mito22; Fri 16 Feb '18, 12:02am.Tags: None
Related Topics
Collapse
-
by bbaxter51I've got the Google Analytics code on my site and have since day 1. It's never worked until 1 day I put a splash page up, GA grabbed that splash page and tracked that but has never tracked my forum....
-
Channel: Support Issues & Questions
-
-
by zemanIt was suggested that it's best to put the tracking id in the footer template just before </body>. After I copied the tracking id script it went to a page where it said, "Confirm Removal of...
-
Channel: Support Issues & Questions
-
-
by MaltairBeen a while, where do I input this again? I don't see it in the vb5 Admin Control Panel.
-
Channel: Support Issues & Questions
-
-
by creaturexAnother thread on this forum say that in order to add Google Analytics code to my forum, all I need to do is add the code the footer.
My forum is hosted in the vBulletin Cloud, so I can't...-
Channel: Support Issues & Questions
-
-
by bowiedawgs01A previous admin had tried to setup Analytics in the past, and the code was still in there. I created my own Analytics account and want to install it myself. I have a couple of questions.
...-
Channel: vB Cloud Support & Troubleshooting.
-
Leave a comment: