What's new
Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

Welcome to My Sharing Site

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Resource icon

xF2 Add-on [DigitalPoint] Better Google Analytics 1.1.2.2 1.1.2.2

xF2 Add-on
  • 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: https://xenforo.com/community/threads/nestable-not-coercing-value.225063/ )
  • Added option to reset encryption key (used for email tracking) under Admin -> Tools -> Rebuild caches
  • Fixed FontAwesome icon on button for setting Measurement ID
  • Made change to Mailer class to have better compatibility with XenForo 2.3 w/ PHP 8.3
  • 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.
  • 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).
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)
  • 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?)
Top