Reedge Support

Claudiu Rogoveanu Mar 20 2 Question and Answers / Tips & Tricks

As a result of the numerous requests and questions from our clients, we released the beta version of Google Analytics integration. You can now have your test's data and stats sent from Reedge inside Google Analytics and this way you are able to build rich reports that can bring valuable insights about how specific tests perform on certain specific segments of users.

For example, you could see how are your variations performing in a certain browser, or how are they performing for visitors that are comming from adwords.

To enable the Google Analytics integration on your Reedge tested website, you need to do the above:

  1. Make sure that google analytics tracking code is placed under Reedge code , in your website's header.
  2. Add the piece of java-script code below inside your google analytics code as described under.

var REED_timeout=3000;
(function(maxT){function dg(){if(typeof(REED)!="undefined"&&typeof(REED.do_ga)=="function")REED.do_ga(false);else{if(retr>(maxT/200))return;retr++;var t=dg;setTimeout(function(){t()},200)}}var retr=0;dg()})(REED_timeout);

The place where this code should be added is shown in the below images:

  • For websites that  use the newest analytics asynchronous tracking :
ga-async.png
  • For websites that use the old synchronous tracking, paste the integration code just above 
    pageTracker._trackPageview();
  • For storing test's data in Google Analytics we use events and custom variable. For storing the custom variable, by default we use the Slot number five. Though, that can be changed if needed by adding the below line before the integration code:
 var REED_ga_slot=5;
After doing the integration, the test data will start appearing in Google Analytics in two places :
    1. Under custom variables, there will be a variable named Reedge-XXXX where XXXXX will be the test ID inside Reedge. You can see that id in the address bar when you edit your test. Under that variable, you'll see your testing combinations. Each combination name is built from the changes names trimmed in such a way so that the resulting name is not too long - around 40 chars (this is a google analytics limitation, we cannot do anything about it). If you have a test where you test 2 sections of one page, section one contains changes yellow button and green button , section 2 contains change White background , than in google analytics the following values will appear under the custom variable corresponding to your test: Original/Original , Original/White_background, Yellow_button/Original, Yellow_Button/White_Background, Green_button/Original, Green_button/White_background
    2. On each pageview of a tested page we also send an event to google analytics. You can find those under Content/Events inside your Google Analytics. You can use the events to see reports of how many times a variation has been seen(not just by how many visitors). 
We hope you enjoy the new Google Analytics integration and appreciate feedback and improvement suggestions.

Dennis van der Heijden June 01, 2011 2 Question and Answers / Tips & Tricks

To add or install the code to your site you need to have a project. Make a project by clicking on Settings - Create New Project or click on the top link in your dashboard (next to the main video).

Fot a new project you need a domain name and name of a project. Under those two the code will appear. Paste that above in the top of your html file or template between <head> and </head>.

If you already have a project, you can find the code in Settings - Project Settings then paste that script you see at Code that above in the top of your html file or template between <head> and </head>.