[DigitalPoint] Better Google Analytics

XF2 Addons [DigitalPoint] Better Google Analytics 1.0.8
Extends Google Analytics to "track all the things".

  • Require XF 2.2 or higher (incompatible Mailer class between XF 2.1 and 2.2)
  • Use <xf:fa /> for the staffBar now that XF requirement is 2.2+ (better compatibility with Font Awesome Manager)
If you aren't using Font Awesome Manager, nothing really changes with this update (if you were using XF 2.0 or 2.1, you would have gotten errors before, now it simply doesn't let you install unless you have XF 2.2).
  • Some template modification changes to work better with third-party styles
  • Removed ability for purchase revenue chart to be broken down by item name (no longer allowed with Google Analytics API)
  • Fixed issue with compatibility with old versions of PHP.
  • Requires PHP 7.0 or higher (just getting too annoying/difficult to maintain backward compatibility with very old versions of PHP on old versions of XenForo).
  • Exception reporting works again by changing pageLocation dimension to pagePath (Google seems to not allow reporting on URLs with full query string any longer... maybe a privacy thing?)
This version has nothing added other than support for XenForo's new cookie consent system. If you are using a version of XenForo prior 2.2.12, it has no effect. There's also no effect if you aren't using the new cookie consent system.

The only situation where this update would be needed is if you are using XenForo 2.2.12+ and you are using the new Advanced (Beta) cookie consent option.
A minor update with the following:
  • itemPurchaseQuantity metric updated to itemsPurchased (per breaking changes to Google Analytics Reporting API going into effect Dec 1, 2022)
  • New item-scoped metrics added to E-commerce section of weekly heat map (itemsAddedToCart, itemsCheckedOut, itemsViewed and itemsViewedInList)
  • Don't try to track emails being read if the outgoing email has no HTML part (emails being sent manually as 'Plain text')
  • Suppress error if there is a transient Google Analytics API issue on the main admin page (won't show an error when attempting to display real-time map on the admin index page)
  • Changed the explanation text on the debug option to be more clear that it creates server error log entries for debugging server-side events
  • Fixed issue where chart dimensions would be mislabeled/incorrectly grouped on the chart
  • Added "Purchase revenue" as dimension option for charts
  • Added "Item purchase quantity" as dimension option for charts
  • New user group permission: Do not track with Google Analytics
  • Changed "javascript" route to "jc" to avoid conflict with web servers configured to internally handle requests with the string "javascript" without passing it along to XenForo (only applies when using the Host Google Tag Manager JavaScript on your own domain option)
  • Made the realtime block on admin index collapsible
  • Reports and realtime block have a link at top to take you directly to Google Analytics
  • Compatibility with very old (end-of-lifed for years) versions of PHP
Top Bottom