I'm trying to troubleshoot a problem; vBSEO is generating two urchinTracker calls to Google Analytics when Google Analytics Funnel for Member Registrations is active.
The page source code looks like this:
I've searched through my templates to make sure urchinTracker() wasn't manually coded. It's not in the templates, so the only place I can think of where it comes from is vBSEO.HTML Code:<script type="text/javascript"> _uacct = "UA-668170-5"; _udn="voxilla.com"; urchinTracker(); </script> <script type="text/javascript"> _udn="voxilla.com"; urchinTracker("/google-funnel/regform-show.html") </script>
I did make the following changes to vBSEO Global Hook, but the change shouldn't make urchinTracker appear twice.
Any suggestions on how to fix it so urchinTracker is only called once with the funnel information?PHP Code:if(@include_once(($GLOBALS['vbpath']?$GLOBALS['vbpath'].'/includes':dirname(__FILE__)).'/functions_vbseo.php'))
$output = make_crawlable($output);
// added to support subdomain with Google Analytics - Eric Chamberlain
$output = str_replace(
'urchinTracker(',
'_udn="voxilla.com";
urchinTracker(',
$output);


LinkBack URL
About LinkBacks





Reply With Quote