How to Add Google Analytics Experiments to Your Thesis Site

by Chris Pearson · 21 comments

Many savvy webmasters are now choosing to run Google Analytics Experiments to help them optimize their sites for specific goals.

However, because of a unique implementation requirement (the code is supposed to appear as close as possible to the opening <head> tag), adding this to your Thesis site can be both challenging and annoying.

Fortunately, we’ve developed the free Google Analytics Experiments Box to make this process easier.

If you’d like to add Google Analytics Experiments to your site, follow our detailed documentation, and you’ll be up and running in just a couple of minutes.

About the Author: Chris Pearson, Thesis creator and DIYthemes founder, is obsessed with optimizing the web and making sure every last detail receives the attention it requires. You should follow him on Twitter here.

If you enjoyed this article, enter your email below to get free updates!


Bilal Ahmad

Wonderfull. Thanks for keeping us updated with the latest boxes. Keep it up Chris.

Vivek Parmar

Hi Chris!

Thanks for this box. It’s a request can you let me know does it increase the loading time of website?

Chris Pearson

Vivek, the Google Analytics Experiments code is a tiny script that does add a fractional amount of loading time, but this impact is so small that it’s not really noticeable.

The tradeoff, of course, is that you can use the experiments to learn how to make your site more effective.

Hasan Alim

This is amazing Chris.. This box will help me so much.. I really love Thesis.
Keep up the good work.


Hi Chris,

Thanks so much. Not only are these boxes way-usefull, their release tells us that DIYThemes is alive and kicking. I think this is really important, here’s why:

We have been using Thesis since shortly after you got started and have built a very nice little business (actually two) on Thesis.

Bottom line, we are very dependant on you. Sure we could change themes, but I shudder to think about the task, and anyway, Thesis is the best for our needs.

So when we don’t hear from you for say six months, as often happens, we get worried. Probably not rational, but still true.

Also, I think that going back to emailing us licence holders about updates and new features is a very good idea, for the same reasons.

So in summary, please don’t be a stranger! Even an email, say once every three months, just telling us what’s happening at DIY and what you are working on (no need to make release timing commitments) would be fine.

Also, I for one, suggest that you should be charging us licence holders an ongoing yearly support charge, not just for the theme when we buy it.

My experience is that companies that have ongoing maintenance revenue are better able to focus on their customers without the strain of always having to come out with the next big thing to keep the lights on.


Bernard Go

I have the same concern. Thank you for writing this, John.

Chris Pearson

John and Bernard, thanks for stopping by!

Typically, we send out an email about once every 3 months to let you know about product updates or add-ons/techniques you can use to make your site faster or smarter.

As long as you haven’t unsubscribed from our customer email list, you should be receiving these updates in your inbox. If you think you’re not receiving them, please let me know, and I can check to make sure you are still on the list.

Next, I agree with you about subscription-style pricing rather than the one time fee we charge now for product access. In internet terms, DIYthemes is pretty old, and much of our internals run on ancient (but updated) software. Moving from this system to a newer, fresher one is a huge ordeal when you’ve amassed as much technical debt as we have.

Moving to a new pricing model and “starting fresh” is the cleanest and most attractive way to deal with this legacy debt. This is definitely something that’s on our radar for 2017.


Hi Chris,

Great to hear. If you need a testimonial as to why paying you on a subscription model is the smart thing to do, just let me know.

Also, please subscribe me to your updates at the email address used for this comment. Or give me a link to your customer email subscription page and I will do it myself.


Wonderfull. Thanks for keeping us updated with the latest boxes. Keep it up Chris.

Itender Rawat

Wonderfull post. Thanks Chris for keeping bloggers updated with the latest news. Keep posting useful stuff Chris.


Always testing different methods with google analytics.

Jenny Rev

Hey Chris,

Thanks for keeping up updated with the latest things. Your experiments give us very useful stuff.

~ Jenny


Is there a chance to talk to a human being from your company?

I have a few questions before I make a pruchase, but I can’t seem to find any contact form.

Chris Pearson

Certainly, Mike! Just email us—diythemes [at] gmail [dot] com.

Luke Villa

Some pretty useful stuff here on an often overlooked area. Thanks for free Google Analytics Experiments Box.


Thanks for sharing this post, I have some question related to your other blog post but there comments were closed.

I, just started my new project, Pingdom is showing that website loads within 2 seconds, while In google page speed results performance is much poor.
Please help how can I increase Google speed test toll result.? How can I minimize JS and CSS without disturbing website look n feel?
Does shared hosting affect SEO also?

vamsi kumar

Wonderfull. Thanks for keeping us updated with the latest boxes. Keep it up Chris.

Tim Dorrian

Damn! That’s such a tidy addition to your theme. Props for being ontop of the game and adding powerful features like this. Keep up the good work!

Albert Barkley

Good post. Using these experiments, I am able now to implement Google Analytics in my website in a proper way.

Mike Grath

i will give it a try as i am seeing very less conversion rate on my site with high bounce rate.

steve cook

That’s great now there won’t be any risk this experiment box looks like a great product and i am surely going to use it .Thanks for this guys