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
xenforo-2-addon-google-analytics-lite-preview.jpg


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.

Features:
  • 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
Limitations
  • 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?
A:
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
    xenforo-2-addon-google-analytics-lite-settings.jpg
    85.6 KB · Views: 114
  • Like
Reactions: Mr. Jinx and Sota
Author
Nulumia
Downloads
38
Views
305
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Nulumia

Top