Is there anyway we can use the google analytics add on that VBSEO offers and have VBSEO put the analytics code within Photopost as well? Right now my photopost is not being tracked and I have to manually add the code in.
This is a discussion on Google Analytics on Photopost? within the vBSEO Features Archive forums, part of the vBulletin Links & Resources category; Is there anyway we can use the google analytics add on that VBSEO offers and have VBSEO put the analytics ...
Is there anyway we can use the google analytics add on that VBSEO offers and have VBSEO put the analytics code within Photopost as well? Right now my photopost is not being tracked and I have to manually add the code in.
You can just add the code to the photopost header template can't you?
Header or headerinc?
Where exactly?
Not sure... Does photopost have a global header template? I thought it did. It should be the one that contains the <HEAD></HEAD> section.
headerinc has that but when I add it right before </head> it doesnt show up when I view source
Strange.
Hi,
if you will add google analytics code to the "headerinclude" template, that will result in duplicate code inclusion on forums pages if you have analytics option enabled in vbseocp.
Instead, you can modify your photopost header-inc.php file:
FIND:
ADD BELOW:$headinclude = process_replacement_vars($headinclude);
enter you own account code, of course$headinclude .= '
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-00000-0";
urchinTracker();
</script>
';![]()
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Thanks alot![]()