[DigitalPoint] Better Google Analytics

[DigitalPoint] Better Google Analytics 1.1.1

No permission to download
  • 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:

1722530830863.webp


Edit the User ID dimension:

1722530860154.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:

1722531002652.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)
  • Made change to Mailer class to have better compatibility with XenForo 2.3 w/ PHP 8.3
  • Update mail class to concurrently work with XenForo 2.2 and 2.3
  • If site is running XenForo 2.3, the last bit of JavaScript code that needed jQuery has been rewritten (specifically the $.on() usage is rewritten for XF.on()).
  • Change JavaScript to have overlay page tracking work with is unexpected objects (third-party addon: DragonByte eCommerce)
  • Raise the "all time" start date for charts to 2016 (Google API can only go so far back without throwing an exception)
  • 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
Fixes issue where some PWA tracking events would fire on all page views.
  • Love
Reactions: Anomandaris
  • New passive tracking option: PWA (if user is in progressive web app or not)
  • New event tracking option: PWA
    • tutorial_begin = viewing installation instructions (iOS only)
    • app_open = loading app
    • app_install_prompt = start installation (not all platforms support it)
    • app_install = app installed (not all platforms support it)
  • New event tracking option: Contact form usage
  • 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).
  • Love
Reactions: Anomandaris
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).
  • 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)
Back
Top Bottom