Hi,
Does anyone know / is there a work around for the conflict between showing inline content in FancyBox and the Google Analytics for WordPress plugin?
Thanks!
Hi,
Does anyone know / is there a work around for the conflict between showing inline content in FancyBox and the Google Analytics for WordPress plugin?
Thanks!
Google Analytics for WordPress converts links like href="#anyID" to href="http://yoursite.url/page/#anyID" which indeed breaks FancyBox (it interprets a full URL as iframe content instead of inline) and I had the notion this was caused by the link tracking feature in Google Analytics for WordPress. But someone reported that changing all related options (I'm not familiar with Joost's plugin) did not change anything...
If you find out any option that disables this URL 'changing' behaviour by Google Analytics for WordPress, please let me know!
Manually put the Google Analytics asynchronous code snippet into your header.php before the </head> tag. That loads analytics in a seperate js file without changing the way your site operates. You can find the code here - https://developers.google.com/analytics/devguides/collection/gajs/
You must log in to post.