Google Analytics by MonsterInsights
[Plugin: Google Analytics for WordPress] Analytics breaks Fancybox plugin (1 post)

  1. jen697
    Posted 4 years ago #

    Here is the code I have to open my fancybox (plugin Easy FancyBox):

    Download the <a href="#sample_chapter" class="fancybox">Sample Chapter</a>.
    <div style="display:none" class="fancybox-hidden">
       <div id="sample_chapter" style="width:460px;height:380px;">
       content here.

    My problem is that when the Google Analytics for WordPress plugin in enabled the link opens the entire page in the fancybox and not the content in the sample_chapter div.

    First I went to the FancyBox support forum, and the author suggested that "usually, it is an external click/link tracking plugin that prepends the #sample_chapter inside the href with the full path which results in the link opening the full page inside an iframe."

    Is there some setting that I am missing that would fix this issue? I tried disabling the Track outbound clicks & downloads but that had no effect. Any help would be appreciated!



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics by MonsterInsights
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.