We recently moved our old blog to Wordpress, and we have a large user base in vBulletin, so we wanted to make if easier for logged-in vBulletin users to comment on the Wordpress blogs. So, we are trying out this plugin.
We turned off the link while we are cleaning up some migration issues.
However, even with the link broken, the plugin was adding a second Google Analytics code to our footer, which we did not enter and which did not match our actual GA account or the code on our vBulletin install.
We found this code in
Code:
/wp-content/plugins/vbsso/includes/vbsso_shared.php
:
Code:
define ('VBSSO_PLATFORM_FOOTER_GA_HTML', "<script type=\"text/javascript\"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-25094208-2']); /*_gaq.push(['_trackPageview']);*/ /*track_event_marker*/ (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'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>");
Does anyone know how this got into in there, and the proper way to remove it?