• Resolved feedx

    (@feedx)


    I’ve been trying to get the proxy script working without success. I have exactly the same problem as outlined by this support request.

    I do have this working successfully on an older piwik install i.e:
    Thanks for using WP-Piwik!
    You are using Piwik 1.12 and WP-Piwik 0.9.9.12 in network mode.
    Auto site configuration is enabled.
    Tracking code insertion is enabled.

    The code produced looks like this:

    <script type=”text/javascript”>
    var _paq = _paq || [];
    _paq.push([‘trackPageView’]);
    _paq.push([‘enableLinkTracking’]);
    (function() {
    var u=((“https:” == document.location.protocol) ? “https” : “http”) + “://mysite.com/wp-content/plugins/wp-piwik/”
    _paq.push([‘setTrackerUrl’, u+’piwik.php’]);
    _paq.push([‘setSiteId’, 10]);
    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>

    I’ve followed all the steps that are suggested but just can’t get this to work under the following:
    Thanks for using WP-Piwik!
    You are using Piwik 2.9.1 and WP-Piwik 0.9.9.12 in network mode.
    Auto site configuration is enabled.
    Tracking code insertion is enabled.

    The code produced looks like this:

    <script type=”text/javascript”>
    var _paq = _paq || [];
    _paq.push([‘trackPageView’]);
    _paq.push([‘enableLinkTracking’]);
    (function() {
    var u=”//piwiktrackingsite.com/group1/piwik/”;
    _paq.push([‘setTrackerUrl’, u+’piwik.php’]);
    _paq.push([‘setSiteId’, 3]);
    var d=document, g=d.createElement(‘script’), s=d.getElementsByTagName(‘script’)[0];
    g.type=’text/javascript’; g.async=true; g.defer=true; g.src=u+’piwik.php’; s.parentNode.insertBefore(g,s);
    })();
    </script>

    The tracking code that is generated in the newer install I’m trying to configure with the Proxy Script reveals the main piwik tracking site.

    Do we know with certainty that this Proxy script works with WP-Piwik 0.9.9.12 under Piwik 2.9.1 or if not, what is the most current version of Piwik that the proxy script is known to work with WP-Piwik 0.9.9.12. I know WP-Piwik 0.9.9.12 works with Piwik 1.12 but this could be open to exploits so I’d prefer to be running a more current version of Piwik that will work with the Proxy Script.

    https://wordpress.org/plugins/wp-piwik/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Piwik PHP Proxy Script Mode Doesn't Work With Piwik 2.9.1’ is closed to new replies.