[cXF] Matomo Analytics

xF2 Add-on [cXF] Matomo Analytics 1.1.0

No permission to download
Compatible XF Versions
  1. 2.0
  2. 2.1
  3. 2.2
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:

Code:
var _paq = _paq || [];

... and paste next code right below that line:

Code:
<xf:if is="{$xf.visitor.user_id}">
    _paq.push(['setUserId', '{$xf.visitor.username}']);
</xf:if>
Author
Admin
Size
15.9 KB
Extension
zip
Downloads
8
Views
1,017
First release
Last update

More resources from Admin

Latest updates

  1. 1.1.0

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

Similar resources

[cXF] About Tab as Default Admin
Show About tab on member view as default.
0.00 star(s) 0 ratings
Downloads
0
Updated
[cXF] Advertising position after first post Admin
Show ads after first post if there are any replies only.
0.00 star(s) 0 ratings
Downloads
21
Updated
[cXF] Back to top in post Admin
Add an arrow to Go to top in each post and optionally choose a position.
0.00 star(s) 0 ratings
Downloads
2
Updated
[cXF] Conversation Button Admin
Add conversation button or icon in message user block.
0.00 star(s) 0 ratings
Downloads
23
Updated
[cXF] Cookie Notice Admin
Customize default cookie notice or make it floating
0.00 star(s) 0 ratings
Downloads
3
Updated