Hi,
We're still using vBSEO 3.3.2 since we're not consider vBulletin 4.0 stable enough(do you agree?).
But we still want to change to the new Google Analytics asynchronous tracking code. Could that be done, and if, HOW is it done?
This is a discussion on Change to asynchronous tracking within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; Hi, We're still using vBSEO 3.3.2 since we're not consider vBulletin 4.0 stable enough(do you agree?). But we still want ...
Hi,
We're still using vBSEO 3.3.2 since we're not consider vBulletin 4.0 stable enough(do you agree?).
But we still want to change to the new Google Analytics asynchronous tracking code. Could that be done, and if, HOW is it done?
This is available in vbseo 3.5.
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
I know that. But, as I wrote below, vBulletin 4.0 is still not stable and vBSEO 3.5 is still in BETA, no?
IF vBSEO 3.5 is stable enough even though it's still BETA, will that version work with vBulletin 3.8.2?
Yes, you can install rc3 on vb 3.x. If you don't want to run the RC software, you will have to make manual code edits to the code on the older versions of vbseo and that is not officially supported.
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
ah glad i found this thread i wanted to use the new tracking method for vBSEO 3.3.2
3.3.2 will not be updated to include this.
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Is it possible to post the file and code edits for those with 3.3.2? Please![]()
2011 Average: 1 post every 5 seconds... 24/7
The entire methodoloy and hook locations has changed.... it's not just one block to change. Perhaps a developer can share the details later, but i do not know all the steps involved.
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
I'm bringing this thread to Oleg's attention so that he can supply the required edits as requested.
Juan Muriente / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Thank you![]()
2011 Average: 1 post every 5 seconds... 24/7
Hello,
the following related changes were made in functions_vbseo.php file:
find:
add below:Code:$track_url = $more_tracking = $more_tracking2 = '';
find:Code:$more_tracking = array();
replace with:Code:$more_tracking .= "\n".'pageTracker._setVar("'.(($bbuserinfo['userid']>0) ? 'member' : 'guest').'");';
find:Code:$more_tracking[] = "['_setVar', '".((vbseo_vb_userid()>0) ? 'member' : 'guest')."']";
replace with:Code:$more_tracking .= "\n".'pageTracker._setVar("usergroup-'.$bbuserinfo['usergroupid'].'-'.htmlspecialchars($grouptitle).'");';
Code:$more_tracking[] = "['_setVar', 'usergroup-".($bbuserinfo['usergroupid'].'-'.htmlspecialchars($grouptitle))."']";
find:
replace with:Code:$more_tracking2 .= "\n".'pageTracker._trackPageview("'.VBSEO_ANALYTICS_GOAL_PATH.$vbseo_goal_pages[$vbseo_goal].'");';
Code:$more_tracking[] = "['_trackPageview', '".VBSEO_ANALYTICS_GOAL_PATH.$vbseo_goal_pages[$vbseo_goal]."']";
find:
replace with:Code:$more_tracking2 .= "\n".'pageTracker._trackPageview("/virtual/'.($novbseo?'off':'on').'/f'.$forumid.'/'.VBSEO_REQURL.'");';
Code:$more_tracking[] = "['_trackPageview', '/virtual/".($novbseo?'off':'on').'/f'.$forumid.'/'.VBSEO_REQURL."']";
find:
replace with:Code:vbseo_insert_code(' <script type="text/javascript"><!-- .... </script>', 'body_end');
Code:array_push($more_tracking, "['_trackPageview'" . ($track_url ? ",'track_url'" : "") ."]"); array_unshift($more_tracking, "['_setAccount', '".addslashes(VBSEO_ANALYTICS_CODE)."']"); if ($vboptions['cookiedomain']) { array_unshift($more_tracking, "['_setDomainName', '".addslashes($vboptions['cookiedomain'])."']"); } vbseo_insert_code(" <script type=\"text/javascript\"><!-- var _gaq = _gaq || []; _gaq.push( " . implode(",\n", $more_tracking) ." ); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; document.documentElement.firstChild.appendChild(ga); })(); //--> </script>", 'body_top');
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!
Thank you, will do this now![]()
2011 Average: 1 post every 5 seconds... 24/7
woostar so these edits worked ?
edit: just tried it on vb 3.8.5 + vbseo 3.3.2 and google code disappears from pages when viewed via source
Upgrading to 3.5.2 + will have this code by default.
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!