GA-Lite (Google Analytics Lite)

GA-Lite (Google Analytics Lite) 2021-10-21

No permission to download
Compatible XF 2.x versions
  1. 2.1
  2. 2.2

This simple addon replaces the Google Analytics library with the GA-Lite library, a small cacheable version which can help slim your page size and load by a small amount. GA Lite is open source, and supports most features of the latest official Google API. It was originally created as a means to achieve 100/100 scores in Page Speed Insights and Lighthouse.

  • Size only 8kb
  • Open source
  • Can be locally hosted
  • Does not use cookies
  • Gets disabled on "Do not track" flag
Supports these functions from Google Analytics.js
  • Page Tracking
  • Event Tracking
  • Social Interactions
  • User Timings
  • Exception Tracking
  • Supports most features of latest API, with some exceptions in:
    • Custom variables, custom dimensions and metrics
    • Offline enabled data sync
  • Supports all modern browsers with some limitation for older IE browsers
Where to use

GA-Lite is enabled by default after installing the addon. You can change this and whether to serve locally or via CDN, at Admin -> Options -> Statistics & metrics.

Q: Should I use this on my site?
The simple answer is, if you are running Xenforo analytics "out of the box" with no customization, and standard Google Analytics console with no advanced metrics, yes you should be fine with this replacement. You will know if you're running custom Analytics as some owners of very large sites may do.
  • xenforo-2-addon-google-analytics-lite-settings.jpg
    85.6 KB · Views: 114
  • Like
Reactions: Mr. Jinx and Sota
First release
Last update
0.00 star(s) 0 ratings

More resources from Nulumia