Skip to content

Matomo/Piwik anti adblock php script which help you to circumvent the blocking of your tracking by ad blockers

License

Notifications You must be signed in to change notification settings

simonfrey/matomo_circumvent_adblock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCAB (Matomo Circumvent AdBlock)

If you are using the standard config of Matomo you are missing out on a lot of potential data on your website. The schema used by Matomo is widely known to AdBlockers and thereby the tracking is not working for visitors of your website using AdBlockers.

Enterprise Support

If you need help with your Installation or Support with the Setup, I offer Enterprise Support. Please contact me via [email protected].

Installation

  1. Open a shell on your Matomo server
  2. Go into your main Matomo directory
  3. Download and unzip mcab curl -L https://github.com/simonfrey/matomo_circumvent_adblock/releases/download/v1.0/mcab.zip > mcab.zip;unzip mcab.zip;rm mcab.zip;php mjs_cfg.php
  4. Display the javascript snippet you have to add to your site by opening your browser and direct it to https://[your-matomo-server]/mjs_display_config.php

Create config with site url

If you directly want to display the javascript snippet with your siteID (you get in Matomo main interface) attach ?siteID=[your id] to the display config url:

https://[your-matomo-server]/mjs_display_config.php?siteID=[your id]

Issues

If you find any issue, please report them via Github issues

License

This project is licensed MIT

About

Matomo/Piwik anti adblock php script which help you to circumvent the blocking of your tracking by ad blockers

Topics

Resources

License

Stars

Watchers

Forks

Languages