Preserving Referrer through a javascript redirect

On the landing page that might use a javscript redirect, place this bit of code:

<script type="text/javascript">var monitus=monitus||{}; monitus.id=[[monitus store ID]];</script>
<script type="text/javascript" src="http://ldn..monitus.net/js/monitus.js"></script>
<script type="text/javascript">try{jMUI.yahoo.save_referrer_for_redirect();}catch(e){}</script>
[[...actual redirect script...]]
<script type="text/javascript">try{jMUI.yahoo.clear_referrer_for_redirect();}catch(e){}</script>

Then, on the redirected page, we need to grab the referrer back before we use it. In this example, we use the out-of-the-box GA code on the redirected page:

<script type="text/javascript" src="http://ldn..monitus.net/jmui.js"></script>
<script type="text/javascript">>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXX-1']);
var overridenRef = jMUI.utilities.cookie_value("_mrrf", null);
if(overridenRef) _gaq.push(['_setReferrerOverride', overridenRef]);
MUI.yahoo.clear_referrer_for_redirect();
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('http:' == document.location.protocol ? 'http://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>

Note: If the code is placed on a secure page (https), then the jMUI URL changes from "http://ldn..monitus.net/jmui.js" to "http://d35q1w5azactrh.cloudfront.net/jmui.js"

Boomerang testing on store pages

All you need to do is place this code as high-up on the page(s) you want to test; the higher the better.

<script type=”text/javascript” src=”http://ldn..monitus.net/boomerang-monitus.js”></script>

OR, IF ON HTTPS:

<script type=”text/javascript” src=”https://d35q1w5azactrh.cloudfront.net/boomerang-monitus.js”></script>

THEN:

<script type=”text/javascript”>BOOMR.init({ beacon_url: document.location.protocol+”//live..monitus.net/php-bin/mboom.php”,RT:{enabled:false},BW:{enabled:false}}); BOOMR.addVar(“mid”, <monitus store ID>);BOOMR._mon=”custom”;BOOMR.addVar(“mode”, BOOMR._mon);BOOMR.plugins.MT.startTimer(“t_done”);</script>

Monitus Tools v2.5

A new year, yet a new version of our tools! : )

This version is mainly a change in how we will be handling your subscription billing, so at first glance, not much exciting going on… However, we never want to leave you guys hanging so…

  • Google Analytics Session Timeout: You can now control the length of sessions in your Monitus.net settings screen. Careful though, as this can greatly affect your data! (longer sessions means less visits, longer time on site, etc…)
  • Delete Dropped Carts Emails: As a courtesy, we now allow you to set how often you want to receive the deleted carts email: daily (default, the current setting), weekly or monthly.

Of course, you knwo what that means, right? A light version now means a jam-packed version later! So stay tuned!

Monitus Tools v2.4

We have not posted a new version in a while – but it does not mean we were not actively working on one! Version 2.4 of our tools bring two very exciting new features:

The Monitus Toolbar for your Store Editor

Ever wondered how to use all that analytics data? Surely you’ve done some digging already, but extracting valuable, actionable data from that mountain of stats can be daunting. We have worked along with Rob Snell to bring some of his SEO techniques to you, right where you work, in the Store Editor. And using your Google Analytics data, we can now suggest a few ways to improve elements on your pages to, hopefully, increase conversions. This is powerful stuff – dynamite stuff, in fact – so don’t delay, have a look today!

Google Website Optimizer Experiment Wizard

We already launched the A/B Wizard a while back… But this is something else: we have worked very hard to bring you a wizard that makes it easier to create multivariate experiments. And the best part is, you only install our code once – then you can launch as many experiments as you want without re-publishing your store! Fast and easy – just like our other tools. Contact us for more information…

We will be going over each new tool in detail over the next few weeks, so please stay tuned!