Title: Using Minify with Google Content Experiments
Last modified: August 20, 2016

---

# Using Minify with Google Content Experiments

 *  [Jonathan Goldford](https://wordpress.org/support/users/jg-visual/)
 * (@jg-visual)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/using-minify-with-google-content-experiments/)
 * For Google Content Experiments you’re required to put a snippet of JS code just
   after the opening <head> tag. The problem is that if you have minify turned on
   with W3 Total Cache a number of other files and code will be placed before the
   snippet just after the opening <head> tag. Right now the only solution I’ve found
   is to turn off minify for that page completely, but of course this slows down
   the page and isn’t the optimal solution.
 * Is there a way to load this particular snippet as the first file just below <
   head> without turning off minify for this page altogether?
 * Thanks for the help.
 * [http://wordpress.org/extend/plugins/w3-total-cache/](http://wordpress.org/extend/plugins/w3-total-cache/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Jonathan Goldford](https://wordpress.org/support/users/jg-visual/)
 * (@jg-visual)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/using-minify-with-google-content-experiments/#post-3209799)
 * Anyone have any ideas here? Thanks a ton for the help.

Viewing 1 replies (of 1 total)

The topic ‘Using Minify with Google Content Experiments’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Jonathan Goldford](https://wordpress.org/support/users/jg-visual/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/using-minify-with-google-content-experiments/#post-3209799)
 * Status: not resolved