View Full Version : Analytics code, using Vbulletin with vbseo
October 1st, 2010, 04:41 PM
Hi guys, i am using vbulletin with vbseo, and have installed google analytics through vbseo. Now i see that analytics code is not in photopost, how should i add it manually ?
I have last version of photopost and vbseo
October 1st, 2010, 05:34 PM
well I guess that would depend on how you installed the analytics code. I am not too up on google code but we just simply show the vb footer. The only way code is not going to show in the vb footer on photopost would maybe be because it is only designed to show up on the forum.
October 2nd, 2010, 05:40 PM
Hi Chuck, that's right as you say. So in what part do you think i should add it to be shown in or near the header or footer of photopost ?
The code is the next:
var _gaq = _gaq || ;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script'); s.parentNode.insertBefore(ga, s);
October 2nd, 2010, 07:34 PM
well does your analytics code only show for certain keywords etc. I dont see anything that prevents it from showing.
Have you viewed the source of the classifieds page is that script in there?
October 3rd, 2010, 12:59 PM
As Photopost is not taking it from vbulletin, i am asking in what part of photopost code, i can add it.
October 3rd, 2010, 09:46 PM
We load the vb footer.
You can try and load it in the photopost footer but not sure thats going to work
Feel free to post a url .
October 10th, 2010, 06:54 PM
Isn't there any other file or piece of code where i can add it so it is loaded in all sections ?
I have tried putting it inside indexhead.tmpl, at the end, and it works, but i should edit all the templates..
October 10th, 2010, 08:26 PM
well my question would be since we load the vb footer why is it not there. Now of course I have yet to see your site so I am posting blind so to speak.
October 12th, 2010, 12:00 AM
sorry, the web site is NC: NIGHTCLUBBER.com.ar - La comunidad clubber mas grande de Latinoamerica. (http://www.nightclubber.com.ar)
photoipost is in Fotos de fiestas de musica electronica - Fotos de eventos electrónicos (http://www.nightclubber.com.ar/fotos/)
October 12th, 2010, 09:52 AM
well how is the google analytics pulled in vb thats what I would need to know.
we simply pull the vb header footer head statement stuff.
if there is some extra call to do analytics I would need to know that.
Its not printing in your footer its in the header of your vb forum.
You can try editing our menubar template and place it in there if you wish at the top of that template.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.