WordPress Site Optimization Plugins and Raptive Ads

Using a WordPress optimization plugin can help improve your site speed and overall site performance when configured properly. On that same note, it's important to configure these plugins so that your ad scripts and other Raptive plugin features (CLS, email identity, etc.) don't get optimized. This will ensure that the ads and email identity solutions deliver optimal performance and maximize your earning potential.

We highly recommend following our guide to exclude Raptive ad scripts from your optimization plugin settings. Click below for your specific plugin instructions: 

Async JavaScript

Breeze

Debloat

Flying Scrips

Perfmatters

WP Fastest Cache

WP Rocket


Async JavaScript 

1. Copy the following Raptive script exclusions:

adthrive, adthrive.min.js, ads.min.js, adt_ei

2. Go to Async Javascript > Settings and paste the copied exclusions in the Script Exclusion setting, as seen below.

Then under the Plugin Exclusions setting, click into the Exclusions field and search for Raptive Ads. Select it from the drop-down list to be added in the field settings as follows:

3. Save these settings.

Breeze

Keywords and script file references don’t work to exclude Raptive ad scripts from being optimized. The best option is to head over to Breeze > File Optimization > JS Settings. Then confirm that the JS Minify setting has been disabled:

Then save this setting.

Debloat

For the Debloat plugin, if both CSS and JavaScript optimization settings are enabled, it's recommended to add Raptive CSS exclusions as well in addition to the Raptive JavaScript exclusions.

CSS Exclusions for Debloat Plugin

1. Copy the following Raptive CSS exclusions:

(.*).adthrive(.*)
.adthrive-ad
ads.min.css
adthrive.min.css

2. Go to Debloat > Optimize CSS. If the Fix Render-Blocking CSS and Remove Unused CSS settings are enabled, paste the Raptive CSS exclusions in the Exclude Styles and Exclude Stylesheets boxes as follows:

 


3. Save these settings.

JavaScript Exclusions for Debloat Plugin

1. Copy the following Raptive script exclusions:

adthrive
adthrive.min.js
ads.min.js
adt_ei

2. Go to Debloat > Optimize JS. If the Defer JavaScript and Delay Javascript settings are enabled, paste the copied exclusions in the Exclude Scripts boxes as follows:

3. Save these settings.

Flying Scripts

For the Flying Scripts plugin, please go to Flying Scripts > Settings and ensure that the adthrive keyword isn't listed in the "Include Keywords" box as seen below:

Perfmatters

1. Copy the following Raptive script exclusions:

adthrive
adthrive.min.js
ads.min.js
adt_ei

2. Go to Perfmatters > Assets > JavaScript and add the copied exclusions in the Exclude for Deferral and Excluded from Delay settings, if they're enabled:

 

3. Save these settings.

WP Fastest Cache

1. Copy the following Raptive script exclusions:

adthrive, adthrive.min.js, ads.min.js, adt_ei

2. Go to WP Fastest Cache > Exclude. Scroll down to the Exclude JS setting and click on the Add New Rule button:

 

Then add the exclusions as follows in the Exlude Page Wizard:

 

3. Save these settings.

WP Rocket

1. Copy the following Raptive script exclusions:

adthrive
adthrive.min.js
ads.min.js
adt_ei

2. Go to WP Rocket > File Optimization > JavaScript Files to paste these exclusions in the following settings, if you have them enabled:

3. Save these settings.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Send a message

Want to join Raptive? Apply here!