@anonymous-piwik-user opened this issue on March 13th 2013

Hi,

For get working the proxy hide url, update the how to

in piwik /misc/proxy-hide-piwik-url/piwik.php add

 _paq.push(["setSiteId", "trackedsite-id"]);

with the id of the website to track

 7) You now need to add the modified Piwik Javascript Code to the footer of your pages at http://trackedsite.com/ 
    Go to Piwik > Settings > Websites > Show Javascript Tracking Code.
    Copy the Javascript snippet. Then, edit this code and change the last lines to the following:
        [...]
        (function() {
          var u=(("https:" == document.location.protocol) ? "https" : "http") + "://trackedsite.com/";
          _paq.push(["setSiteId", "trackedsite-id"]);
          _paq.push(["setTrackerUrl", u+"piwik.php"]);
          var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
          g.defer=true; g.async=true; g.src=u+"piwik.php"; s.parentNode.insertBefore(g,s);
        })();
      </script>
      <!-- End Piwik Code -->
@anonymous-piwik-user commented on March 13th 2013

In abe2512262ed8ee657e5a5a5e2e2f25c40266632: fixes #3820

@halfdan commented on March 13th 2013

Thanks for the report. Fixes in master.

@mattab commented on March 13th 2013

I also updated the Hide analytics footprint faq

@mattab commented on March 13th 2013

In d16c51b1e2252ea405ab0e1be2a227f2f335a5fa: Refs #3820 script links to doc

This issue was closed on March 13th 2013
Powered by GitHub Issue Mirror