Can't edit pages when using piwik analytics code

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Low
    • None
    • Affects Version/s: 5.0.1, 5.4
    • Component/s: None

      Symptoms

      When piwik's tracking html/javascript code is embedded into a page in Confluence, clicking edit does not work as expected. At first it displays a blank page, and then after a few more seconds it redirects to a "Page Not Found".

      Steps to Reproduce

      1. Confluence Admin > Custom HTML
      2. Enter the following code in the "at the end of the BODY" section:
        <!-- Piwik --> 
        <script type="text/javascript">
        var pkBaseURL = (("https:" == document.location.protocol) ? "https://multisitenexus.com/piwik/" : "http://multisitenexus.com/piwik/");
        document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
        </script><script type="text/javascript">
        try {
        var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
        piwikTracker.trackPageView();
        piwikTracker.enableLinkTracking();
        } catch( err ) {}
        </script><noscript><p><img src="http://multisitenexus.com/piwik/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
        <!-- End Piwik Tracking Code -->
      3. Try to edit any page

              Assignee:
              Steve Haffenden (Inactive)
              Reporter:
              David Mason (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: