[cXF] Matomo Analytics

[cXF] Matomo Analytics 1.1.0

No permission to download
License
  1. License agreement for cXF add-ons and services
How to install/upgrade?
  1. Installation instructions
Compatible XenForo version
  1. 2.1
  2. 2.2
Donation for support
  1. to keep this resource free please consider sending a small donation
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:
JavaScript:
var _paq = _paq || [];

... and paste next code right below that line:
JavaScript:
<xf:if is="{$xf.visitor.user_id}">
    _paq.push(['setUserId', '{$xf.visitor.username}']);
</xf:if>
Related resources

  • Like
Reactions: Jastor

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 Note: please remove...

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.
BassMan
BassMan
Thank you for your review.

Similar resources

cXF Service - Rate and Review BassMan
  • Featured
If you liked our support and service, please leave us a review. Thank you!
4.79 star(s) 34 ratings
Updated
[cXF] Account widgets BassMan
Add account menu items to a widget in different ways with optional bookmarks.
5.00 star(s) 1 ratings
Updated
[cXF] Action bar links (external) as buttons BassMan
5.00 star(s) 3 ratings
Updated
[cXF] Action bar links (internal) as buttons BassMan
... report, edit, delete, ip, warn link enhancement
4.50 star(s) 2 ratings
Updated
[cXF] Add What's New beside Alerts tab BassMan
  • Featured
Adds an icon with link to What's New page on the right side of Alerts tab or Search tab.
5.00 star(s) 4 ratings
Updated
[cXF] Admin Search on Index BassMan
... for faster search on administration index page.
0.00 star(s) 0 ratings
Updated
[cXF] Advanced Footer BassMan
  • Featured
Add icons and/or extra links to footer, set columns, fixed footer and more.
5.00 star(s) 2 ratings
Updated
[cXF] Advertisement Positions for XFRM BassMan
Add advertisements to predefined positions for XenForo Resource Manager
0.00 star(s) 0 ratings
Updated
[cXF] Advertising position after first post BassMan
Show ads after first post if there are any replies only.
4.50 star(s) 2 ratings
Updated
[cXF] Animations BassMan
Add animation to predefined elements or elements of your choice with extra settings.
5.00 star(s) 3 ratings
Updated
Top