[cXF] Matomo Analytics

XF2 Addons [cXF] Matomo Analytics 1.0.2 + 1.1.0
Simple tracking code integration.

Compatible versions
2.1, 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:

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>
FateKid
Author FateKid
Level
11
5,910 pts
1.0.2 + 1.1.0 Version
0 Downloads
129 Views
Published
Updated
0.00 star(s) 0 ratings Average Rating (0)

More files from FateKid

Customize Your XenForo 2 Community

[cXF] Matomo Analytics provides ultimate customization to your XenForo 2 community website! Enjoy powerful features that make your site stand out. Combine this add-on with XenForo 2 styles from our site and kickstart your online community now.

Why Download Our XenForo 2 Add-ons?

  • Easily enhance the quality of your XenForo online community.
  • Expand your XenForo 2 functionality with thousands of unique options.
  • Create unbelieveable user-experiences with advanced features.

Explore Other Resources

Are you looking for something different? Explore our thousands of unique and special XenForo 2 add-ons, available to download right now. FateKid shared this wonderful resource to you for free, so remember to share your appreciation by liking the resource and reviewing it.

Get started today and make your next project truly unique.

Top Bottom