xF1 Add-on - Local Google Analytics (with CDN support) | NulledTeam UnderGround | The Best Scripts Site In The World
Local Google Analytics (with CDN support)

xF1 Add-on Local Google Analytics (with CDN support) 1.0.0

No permission to download
  • Read Our Rules

    Dont forget read our rules Nulled Team UnderGround Rules

  • You may not say thanks or replied bad language in a thread - Your reply will be removed and warning! You must be like us "overview" in the resource. You will be access to download in FREE SECTION ONLY! DO NOT PREMIUM SECTION! Is only upgrade to up account.
  • Please support our site and click on the advertised
  • Complete Installation Service

    Review Our XenForo Complete Installation Service
  • Multiple Accounts

    Dont forget we not allowed Multiple Accounts, so all of your accounts as well as your IP will ban

Compatible XF Versions 1.x
IMPORTANT: This resource is unsupported!

Based on this blog entry, I decided to create an add-on, as I finally wanted to fix the “Leverage Browser Caching” warning you get when you perform a speed test on your website.

What does it do?
It replaces the URL in the google_analytics template with the URL of your local analytics.js.

  • Enable/disable local Google Analytics
  • If you defined a CDN in your config.php, the analytics.js will be served via your CDN automatically
  • Cron task to automatically fetch analytics.js from Google and update your local file
Unzip the archive and upload the contents of the "upload" folder to your forum root directory. Then go to "List Add-ons" -> "+Install Add-on", choose the unzipped .xml-file and import it.

Go to "Options" -> "Statistics & Metrics", enable the add-on and set the absolute path to your analytics.js (e.g./var/www/YOURDOMAIN/httpdocs/js/trg/local_ga/analytics.js):

The cron task runs once a month (at the 15th during the night). You may change it to your needs.




Just perform a speed test and you will see that the “Leverage Browser Caching” warning vanished.

Coming soon.
First release
Last update
0.00 star(s) 0 ratings

More resources from Admin

Share this resource