How to configure Siteground Optimizer with My Agile Privacy

SiteGround's SG Optimizer plugin is a powerful yet easy-to-use tool that offers a range of features to optimize the performance of your WordPress site.

Among other things, it allows CSS and JS files to be minified and combined, and delayed to reduce the total size of pages and speed up their loading.

However, an overly aggressive caching and optimization policy could compromise preemptive blocking capabilities and thus invalidate the site's compliance with the GDPR.

It is possible to optimize the speed and files of the site, without compromising the functionality of My Agile Privacy, by following these simple instructions.

First, from your site's admin panel, go to:
SG Optimizer > Frontend

From here, you can set up all the configurations shown below.

Exclusion of My Agile Privacy CSS from optimizations

To avoid problems with the My Agile Privacy plugin, it is necessary to exclude its CSS from the minification and combination of SG Optimizer.
This can be done simply and intuitively by changing the "Exclude from CSS minification" option.

A selection mask will open, where you can select the files to be excluded from minification.
SG Optimizer automatically detects the files that you can exclude, so all you have to do is select my-agile-privacy-frontend.c ss and my-agile-privacy-notification-bar.css as you can see from the image below, and press save.

Similarly, you need to exclude some files from the combination by changing the "Exclude from CSS combination" option and selecting the files as you see in the following image:

Exclusion of JavaScript from My Agile Privacy

Similarly, you will need to exclude My Agile Privacy JavaScripts from minification, combination, and deferred execution.
To go change the settings related to Javascript, go to the "Javascript" tab, again in the SG Optimizer options > Frontend

The exclusion process is the same as for css: you will simply have to select which files to exclude from the various settings.
This selection should be made for options:

Exclude from JavaScript minimization

Exclude from the combination of JavaScript

Exclude from JS display block referral

 

Always be sure to save your changes.
These exclusions should ensure that My Agile Privacy functions properly.

Always remember to check that your site is working properly after making any changes to optimization or caching settings.

If you experience problems, you may need to adjust your settings further or consult our support service, or Siteground's support service.

Download the free guide

Fill out the form and get immediate access to the guide in PDF format.
Mockup del pdf della guida
Loading in Progress...
Request successfully sent. You will be redirected to the download page shortly
By submitting this form I declare that I have read the privacy policy and authorize the Owner to respond to me for what is expressed in point a of the privacy policy
Warning: Your Cookie choices may not allow the form to be submitted.
Click here to review your preferences.
buy now My Agile Privacy - compliant in less than 3 minutes
a Formula Agile SRL project
VAT ID 04524510403 - REA: RN418884
Viale Medici 16/A, 47922 Rimini (RN) - Italy
Share capital 12'000โ‚ฌ
PEC formulaagilesrl[at]legalmail.it
For assistance: info[at]myagileprivacy.com
GDPR and privacy present complexities that extend beyond achieving website compliance. Compliance obligations span across all business aspects and necessitate expert analysis.
When it comes to implementing Banners and Policies, trust My Agile Privacyโ€”the only solution that excludes unnecessary implementations not mandated by regulations.
Logo CMP partner GoogleLogo CMP partner GoogleLogo IAB Europe approved
My Agile Privacy

This site uses technical and profiling cookies. 

You can accept, reject, or customize the cookies by clicking the desired buttons. 

By closing this notice, you will continue without accepting. 

In addition, this site installs Google Analytics version 4 (GA4), Facebook Remarketing with anonymous data transmission via proxy. 

By giving your consent, the data will be sent anonymously, thus protecting your privacy.