Features
- Serve Google Tag Manager JavaScript from your own domain
- Normally, Google forces browsers to re-download the JavaScript every 15 minutes, which can hurt your site rendering speed. If you choose to serve it from your own domain, the time between re-downloads is set to 30 days. It also allows you to serve it from the network edge (for example cached in Cloudflare's data centers).
- Google Analytics API usage for:
- Setup/configuration
- ...
- Compatibility with very old (end-of-lifed for years) versions of PHP
- Event chart based on eventCount metric (will allow you to see more than page_view events)
- Better compatibility with Pixel Exit styles
- Added Session medium as dimension option for charts
- Added Session source as dimension option for charts
- Added missing phrase, ecommerce
- New "Totals" section of charts (for reporting on metrics you don't want to break down by dimension)
- Fixes issue with medium/source tracking in RSS feed causing the RSS feed to not validate as being valid
- Fixes issue with link source tracking using the wrong delimiter
- 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
- Using XenForo's filter system to allow users to remove URI from URI-specific chart (when viewing chart from icon in staff bar).
- Chart icon link in staff bar will give a thread-specific chart when viewing a thread.
- Chart icon link in staff bar will give a user-specific chart when viewing a member profile.
- Raised execution order of template modification that adds to staff bar (helps with compatibility with other add-ons).
- Added geographic dimensions (city, region, country) as options for charts.
- Added "Signed in user" as an available dimension for charts.
- Give a better error message about Organic Google search dimensions requiring an association to the respective Google Search Console property (including link to make that association).
- Removed usage of abstract class that required XF 2.2.0+ to exist.
- New user group permission: Do not track with Google Analytics
- Fixed issue where an old installation of legacy (XF1) version of add-on would cause installation issues of this (XF2) version of add-on.
- Fixed issue where some email sent/email read events wouldn't get logged if you are tracking events by user ID.
- Added missing phrases for "city" and "region".
- Added ability to debug events going through backend measurement protocol.
- Using new Google Analytics Admin API endpoint (going from v1alpha to v1beta).
- 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
- 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
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')
- 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.
- 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?)
- 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)
- Google Analytics changed what dimensions are compatible and no longer allow full page URL to be used in conjunction with most other dimensions/metrics. Because of that, we are switching to something that works reasonably well as far as compatibility in reporting (page path).
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...
- 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)
Fixes issue where some PWA tracking events would fire on all page views.
[*]All JavaScript has been rewritten to be "native" (does not use jQuery) in preparation for removal of jQuery in XenForo 2.3.
[*]Fixed issue with app_install_prompt PWA event being triggered
[*]Added ecommerce support for DigitalPoint/Marketplace addon. Events:
[*]view_item_list
[*]view_item
[*]add_to_cart
[*]view_cart
[*]begin_checkout
[*]purchase