Support » Plugin: Easy FancyBox » [Plugin: Easy FancyBox] Conflict with Google Analytics for WordPress

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author RavanH

    (@ravanh)

    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Easy FancyBox] Conflict with Google Analytics for WordPress’ is closed to new replies.