WP-Optimize version 3.5.0 is here! This update introduces a brand new premium feature: Google Analytics support. It allows you to manage your analytics setup directly within the plugin. We’ve also made several tweaks and fixes, including compatibility with the Local Google Fonts plugin. Let’s take a closer look at what’s new in this version.

Google Analytics support (exclusive to premium users)

We’ve added a new feature for our premium users: Google Analytics support. With this new feature, you can manage your Google Analytics tracking directly from the Minify section within WP-Optimize. Here’s what this means for you:

  • Simply enter your Google Analytics tracking ID, and the script will be used across all pages, making your analytics setup easier.
  • You won’t need to rely on extra plugins to manage your Google Analytics.
  • We’re hosting the Google Analytics script on your own server, so you won’t have to depend on an external link from Google. This helps improve site performance and gives you more control over your scripts.
  • If you’re looking to reduce resource usage, we’ve included support for the Minimal Analytics script. This lightweight alternative (1.4KB compared to 91KB) offers basic analytics functionality with a much smaller file size.

screenshot of the new google analytics minify settings in wp-optimize

Compatibility improvements and other tweaks (available to all users)

In response to user feedback, we’ve added support for the Local Google Fonts plugin. This update makes sure that our minify functionality works smoothly alongside this plugin, fixing a conflict that was raised in a recent support thread. A big thank you to our community for bringing this to our attention!

For the full list of changes, please review the changelog below.

Changelog:

* FEATURE: Premium – Host Google and minimal analytics scripts locally

* FIX: Premium – Cache – Single page cache purge/preload feature isn’t working

* TWEAK: Add logging for the WebP feature

* TWEAK: Allow minification of script modules

* TWEAK: Cache – Purge the cache when the site is migrated

* TWEAK: Improvements to asset minification cache logic

* TWEAK: Improvements to reSmushIt curl error message

* TWEAK: Minify – Added an option to disable Google Fonts processing when it causes conflicts with other plugins

* TWEAK: Move all WPO files from the uploads folder to uploads/wpo

* TWEAK: Style improvement of the loading modals