Skip to content
My Agile Pixel® server-side, made easy
Cache

How to configure SiteGround Speed Optimizer with My Agile Pixel®

Updated Oct 2026 2 min read

SiteGround’s SG Optimizer / Speed Optimizer plugin is a user-friendly yet powerful tool for improving your WordPress site’s performance.

It features options for minifying, combining, and delaying the loading of CSS and JS files to reduce page size and speed up site loading.

However, overly aggressive caching and optimization can interfere with the plugin’s scripts and cost you events.

To optimize speed without affecting My Agile Pixel®, follow these steps:

Since My Agile Pixel® 3.4.1 these exclusions are automatic: the plugin keeps its own scripts out of the SiteGround Speed Optimizer optimizations by itself. The steps below are for earlier versions, or if you still notice problems.

First, from your site’s admin panel, go to SG Optimizer > Frontend.

Exclusion of My Agile Pixel® CSS from Optimizations

To ensure My Agile Pixel® works correctly, exclude its CSS files from SG Optimizer’s minification and combination.

  • Adjust the “Exclude from CSS minification” setting. Open the selection menu from Frontend > CSS and choose the relevant files: mapx.css and mapx.min.css. Save your changes.
  • For proper operation, also exclude these files from CSS combination by using the “Exclude from CSS combination” option, selecting the same files, and saving again.

Exclusion of My Agile Pixel® JavaScript

Similarly, you must exclude My Agile Pixel®’s JavaScript files from minification, combination, and deferred execution.

  • Go to the “JavaScript” tab under Speed Optimizer options > Frontend.
  • Add the necessary exclusions in each of the following settings:
    • Exclude from JavaScript minimization
    • Exclude from the combination of JavaScript
    • Exclude from render-blocking JS deferral

Select the relevant My Agile Pixel® files in each case and be sure to save your changes.

These exclusions should ensure that My Agile Pixel® functions as intended.

After adjusting your optimization or caching settings, always verify proper site operation.

If you continue to experience issues, further settings may need adjustment, or you can contact our support service or SiteGround’s support for assistance.

Frequently asked questions

// ready to go

Recover the conversions you are losing

Turn on server-side tracking on your WordPress: recover the events the browser blocks, after consent.

Buy now →