• Your Files, Your Rules – Upgrade Today! Exciting news! With our new ownership, you’re no longer limited—upload files from here to any website without getting Banned. 🚀 Why wait? Upgrade your account now
DigitalPoint - Better Google Analytics

Free DigitalPoint - Better Google Analytics 1.1.2.2

  • Moved initial Analytics JavaScript higher up in page execution chain (hopefully prevents third-party gtag() code from failing if wrapped in <xf:js /> tags)
  • Made the template modification that injects the main JavaScript work a little better (specifically made compatible with newer versions of XenForo).
  • Force user_id to be integer before sending it via Measurement API (usually for things like logging emails being read).
  • Made change to Nestable usage so it works in 2.2 and 2.3 (was waiting for Nestable fix: Fixed - Nestable not coercing value )
  • Added option to reset encryption key (used for email tracking) under Admin -> Tools -> Rebuild caches
  • Fixed FontAwesome icon on button for setting Measurement ID
  • Fixed issue when tracking emails being opened and the encrypted payload is invalid
  • Changed user property for tracking user ID from uid to usid
!!Important!!

It seems Google Analytics doesn't allow creation of the user property uid any longer so user ID tracked has been changed to usid. For new installations, nothing needs to change, but for existing installations, you'll want to go into your Google Analytics admin area to: Admin -> Data display -> Custom dimensions, and rename the existing User ID dimension to something else (for example User ID OLD)

Should look something like this:

DigitalPoint Better Google Analytics-1.webp


Edit the User ID dimension:

DigitalPoint Better Google Analytics-2.webp


Once you have done that, go to XenForo admin -> Options -> Analytics and click the "Set" button. If you reselect your property and data stream, it will create the new user ID dimension, usid automatically.

Once that is all done, your custom dimensions in Google Analytics will look something like this:

DigitalPoint Better Google Analytics-3.webp


You can archive the User ID OLD dimension if you want since it's not going to be used going forward.
XenForo 2.3 updates:
  • Updated overlay page tracking to work with lazy loaded core XenForo JavaScript
  • Fixed compatibility issue with email tracking in XenForo 2.3 (different getTo() method)
  • Changed verbiage from "conversation" to "direct message" on settings when using XenForo 2.3
Other:
  • Don't try to generate an encryption key during setup if Sodium extension isn't installed
  • Ignore invalid payload for email tracking (if payload can't be decrypted for whatever reason)
Back
Top