[cXF] Matomo Analytics

[cXF] Matomo Analytics 1.1.0

No permission to download
Compatible XF 2.x versions
  1. 2.0
  2. 2.1
  3. 2.2
If you got our add-ons on websites other than customizexf.com or xenforo.com, then you got them on pirated sites. If so, we suggest you remove the add-on from the server and download it from the original site. Please, support the developers and fight piracy!

With this simple template modification you can easily add your Matomo (formerly Piwik) tracking code in a template. You can do it all by yourself by directly editing the template or install this simple template modification.

Set all your Matomo analytics settings in Matomo control panel and simply paste the tracking code in template cxf_matomo_analytics. Find your tracking code in Matomo Settings > Websites > Tracking Code.

How to track visitors by username?
In your tracking code find:
var _paq = _paq || [];

... and paste next code right below that line:
<xf:if is="{$xf.visitor.user_id}">
    _paq.push(['setUserId', '{$xf.visitor.username}']);
First release
Last update
5.00 star(s) 1 ratings

More resources from BassMan

Latest updates

  1. 1.1.0

    XenForo 2.2 compatibility update Note: you'll find two ZIP files when downloading. One for XF...
  2. 1.0.2

    compatibility fix
  3. 1.0.1

    option page removed - paste your tracking code in dedicated template now

Latest reviews

I just set up Matomo and it is really cool. This Addon made it very simple to input the tracking code onto my forum. Thanks for creating this Addon.
Thank you for your review.
Top Bottom