@level420 opened this Issue on August 20th 2019

Tracking page views and links works as expected, but content tracking does not work.
I've verified that content tracking does work if I'm using the non proxy javascript tracker.

This is for matomo 3.11.0, php 7.1.31 and current matomo proxy tracker from https://github.com/matomo-org/tracker-proxy as a fresh clone via git clone as advised in https://github.com/matomo-org/tracker-proxy/blob/master/README.md

The matomo instance is running on its own subdomain matomoinstance.mydomain.tld.
piwik.php is accessible through the path /stat/ on each website to be tracked.

Tracker code is:

<script type="text/javascript">
  var _paq = window._paq || [];
  (function() {
    var u="//mysite.mydomain.tld/stat/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', '1']);
    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);

config.php for the proxy:


$PIWIK_URL = 'https://mymatomoinstance.mydomain.tld/';
$PROXY_URL = '/stat/';
$TOKEN_AUTH = 'someworkingauthtoken';
$timeout = 5;
$user_agent = '';
@level420 commented on September 12th 2019

It was a tracker proxy bug and solved via https://github.com/matomo-org/tracker-proxy/pull/53

This Issue was closed on September 12th 2019
Powered by GitHub Issue Mirror