Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5981

Using adblock obfuscation PLUS Matomo's tracker-proxy scripts

$
0
0

I’ve set up a primary site, on which Matomo is installed in a subdirectory, using this method to get more accurate results (it’s simonfrey’s matomo_circumvent_adblock on github). It creates randomly named php files, which then serve up the tracker js files, but with all the variables renamed. This works fine on the primary site.

My issue is then in trying to create a second site using Matomo’s tracker-proxy scripts (matomo-org’s tracker-proxy project on github), so that the secondary site can refer to local files which then communicate with the Matomo installation on the primary site. Using as-is works because the original Matomo files still exist on the primary site, but those files run amok of adblock. If I want to change it so that this proxy points to the modified files from the script above.. I’m having trouble with that. It seems that, unlike for some more generic reverse proxy scripts I’ve seen out there on the internet, Matomo’s does Matomo-specific things that might depend on certain symbols being present.

Anyway, wanted to see if anyone has any ideas about this. Again, I’d like to be able to have Matomo running in a subdir on the primary site, using this or another effective obfuscation method, and then I’d like to have Matomo’s tracker-proxy or something similar be able to access that from secondary sites.

Thanks!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5981

Trending Articles