Datalicious Blog - Data Driven Marketing
Filed under

google analytics

 

How to add an 'email this post' link including Google Analytics tracking to your Posterous blog

Social media buzz or not, email is still the most frequently used tool to share interesting things with your network so why not make it as easy as possible for them?

Would you like to add an 'email this post' link with Google Analytics tracking to your Posterous blog similar to the below (Thanks @ianlyons, for prompting us to write again)?

The email would like similar to the below once people click on the above 'email this post' link, as you can see the email is ready to be send including perma link to the post and Google Analytics tracking parameters.

1. Ok, first you need to generate a URL with Google Analytics tracking parameters so any clicks are picked-up and recorded. Skip this step if you don't want to track responses from forwarded emails. 

To generate your URL go to the below page and fill in the form as shown as shown, generate the URL and copy it.

Campaign Source: email-post
Campaign Medium: email
Campaign Name: email-post

The tracking URL should look similar to the below depending on how much you changed the above form text.

http://www.domain.com/?utm_source=email-post&utm_medium=email&utm_campaign=email-post

2. Now you need to prepare the custom mailto link code that you can insert into your custom Posterous theme including the appended Google Analytics tracking parameters. To do that go to the below site, fill in the form as shown, generate the mailto URL and copy it.

To: AAA
Subject: BBBTitleCCC
Body: I thought you might find this post interesting.
DDDPermalinkEEE?utm_source=email-post&utm_medium=email&utm_campaign=email-post

Make sure you add the Google Analytics tracking parameters highlighted above to the body text behind the 'DDDPermalinkEEE' part.

The mailto URL should look similar to the below depending on how much you changed the above form text.


3. Also, before we can insert the code into the Posterous theme we need to first clean it up a little and turn it into an actual link.

A) Completely remove the 'AAA' in the above URL.
B) Change the 'BBB' to '{' and the 'CCC' to '}'.
C) Change the 'DDD' to '{' and the 'EEE' to '}'.

Please make sure you only replace and remove exactly what I highlighted above otherwise the code may break. Once done the code should look similar to the below.


D) Finally wrap the encoded URL into an actual HTML link tag. Once done the final code should look similar to the below.

4. Ok, you're ready to insert the code into your custom Posterous theme. For more information on how to install a custom theme visit the below page.

To have the link appear in the same position as on our blog copy and paste the HTML link code into the following position.

Loading mentions Retweet
Email this post
Filed under  //   blog   christian bartens   email   email this   google analytics   how to   link tracking   post   posterous   web analytics  

Comments [0]

Tying offline sale from retail stores and call centers back to the online campaigns driving them

Have you ever wondered how many of the offline sales that happen in your retail chain or call centers are actually driven by online campaigns and research activity on your website? Would you like to know the true value that your online media spend is driving including offline conversions?

The graph below shows how companies could use email receipts sent out to customers after conversion events across all channels to tie at least a small sample of offline conversions back to online campaign and research behavior. By sending out email receipts and providing incentives for customers to open and click on the emails it would be possible to trigger virtual online order confirmation pages similar to the standard online confirmation pages. 

The standard cookie based campaign tracking mechanisms of any web analytics package such as Omniture and Google Analytics can then take over and do their normal job and help tie the virtual sales events back to visitors and campaigns.

Email Chris at cbartens@datalicious.com if you would like to find out more or need some help implementing the below for your company.

Loading mentions Retweet
Email this post
Filed under  //   attribution   call center   christian bartens   conversions   google analytics   media attribution   offline   omniture   online   phone   retail   sales   services   web analytics  

Comments [0]

Google Ad Planner now DoubleClick including new features and improved data integrity

The Google Ad Planner we've come to love so much has officially be renamed to DoubleClick Ad Planner! Thank god, they didn't only change the name but also rolled out some new features and improved the data integrity by 10% (as claimed by Google).
In cas you ever wondered where your Google Analytics data goes if you opt in to share it with the world, here is your answer: "To improve the quality of our site traffic estimates, we have upgraded our traffic estimation model. Our model uses a hybrid methodology that combines sample user data, from various Google products and services, with direct measured site-centric data. The model's direct measured signal is pulled from Google Analytics customer accounts that have chosen to opt-in to sharing their data with Ad Planner."
This is especially interesting for publisher data and might over time force more of the Australian publishers to add Google Analytics code to their sites.
"In May 2009, we announced Ad Planner Publisher Center, which made it possible for publishers to opt-in their Google Analytics data to Ad Planner. We've now upgraded site profiles in Ad Planner to display this data in the worldwide charts for Daily Unique Visitors on site profile pages. For publishers who opted-in, their direct measured data is displayed as a solid line in their chart. For example, Gamezhero, a website offering free online games, opted-in their Google Analytics data in June. Here's what their worldwide chart for Daily Unique Visitors looks like now."
Google/DoubleClick Ad Planner
http://www.google.com/adplanner 

For more information on the Google/DoubleClick Ad Planner data methodology
http://www.google.com/support/adplanner/bin/answer.py?answer=175532

Loading mentions Retweet
Email this post
Filed under  //   accuracy   adplanner   christian bartens   data   doubleclick   features   google   google analytics   integrity   publishers   stats   trends   web analytics  

Comments [0]

Panelists confirmed for ad:tech session on paid vs. free web analytics platforms

New: Watch the video interview.

We're excited to finally announce the panel line-up for our ad:tech session this year on paid vs. free web analytics platforms! 

ad:tech 2010, Wednesday, March 17, 4:50pm - 5:35pm

It's taken a while but we managed to get some of the best names in the web analytics space together in one spot to answer all your questions so make sure you mark the above date in your calendar.

Session panelists
  • Matt Langie, Director Product Marketing, Omniture (Global)
  • Benjamin Mangold, Analytics Director, Mangold Sengers
  • Alex Crompton, Senior Manager Web Marketing, Aussie 
  • Jonathan Kerr, Associate Director eCommerce, Budget Direct
Session moderator
  • Christian Bartens, Managing Director, Datalicious
Email me at cbartens@datalicious.com if you have any particularly questions you would like me to post to the panel.

For more information on the session and the event please visit the official ad:tech website or read our earlier blog post.

Loading mentions Retweet
Email this post
Filed under  //   adtech   christian bartens   free   google analytics   news   omniture   paid   panel   web analytics  

Comments [0]

Datalicious to lead session on paid vs. free web analytics platforms at ad:tech 2010

Update: Check out the impressive list panelists including some of the best web analytics minds in Australia.

Make sure you mark the below date in your calendar if you're wondering what analytics platform to choose: Google Analytics or Omniture?
ad:tech 2010, Wednesday, March 17, 4:50pm - 5:35pm

Paid vs. Free: What Are The Best Analytics Tools For Your Marketing & Advertising Requirements?

  • Do you know what you need? What framework should you be using for comparison?
  • Free vs. paid for tools: what’s best for your advertising plan?
  • How do you leverage the support you get from paid for tools to ensure your marketing plan benefits?
  • Comparing local vs. global analytics tools in the market
  • What’s the best resourcing plan to get full potential from your data analytics tools?
  • What are you watching? Why? Who are you reporting that to?
  • What are the current limitations of social media metrics?
Have a look at the below conference schedule, looks interesting.
http://www.ad-tech.com/sydney/adtech_sydney_schedule.aspx

Loading mentions Retweet
Email this post
Filed under  //   adtech   christian bartens   google analytics   news   omniture   sitecatalyst   speaking   web analytics  

Comments [0]

Atomic Labs Pion: Implementing Omniture without JavaScript page tags

Update: Datalicious now Atomic Lab Pion reseller and integration partner for Australia.

Is implementing and updating Omniture page tags an issue for you? Atomic Labs's Pion Reactors provides a solution to process your website and campaign data server side and then insert it via the Omniture API. They also currently support sending data to Google Analytics and Unica.

In contrast to using a central JavaScript file to dynamically populate the Omniture variables based on page URLs, the Atomic Labs software taps into the network traffic stream and can then use any text within the transmitted data to create/modify additional variables and events via processing rules. At the same time you can also enrich your visitors click stream data from the website with profiling information from your CRM database using simple SQL queries and all in real-time, a great first step towards single customer view.

Why would you want to implement this?

  1. Bypass your developers, staging, testing, etc. Increase your speed to new insights
  2. Deploy new analytics without risking errors on your web site
  3. Hide your tracking data from prying eyes
  4. Modify your CRM in real time. Create targeting algorithms to better serve your customer as well as lead queues for call center staff, all on the fly.
  5. Enrich your analytics with data you would not allow in javascript, such as "profit on a sale transaction".
  6. You won't lose data because of analytics request delays

Check out the Atomic Labs website below or email Hamish at hogilvy@datalicious.com for more information and implementation help.

Loading mentions Retweet
Email this post
Filed under  //   CRM   google analytics   hamish   javascript   network   ogilvy   omniture   pion   site catalyst   SQL   tools   tracking   unica  
Posted by Hamish Ogilvy 

Comments [0]

Testing Javascript code live in production without affecting live traffic

Save yourself some time, reduce your frustration, remove code deployment risk and improve your insight by using our technique to quickly test and deploy new web analytics code on your site without the need for staged testing.

Fear driven motivation ...

Quite frequently we needed to test site updates on a staging server for fear of breaking the production site, upsetting customers and losing revenue. This seems like a really good idea, except that when the files are pushed live things don't always happen quite as expected. Staging sites are never the same as production, we've seen perfect copies have issues with cookies due to the different domain, poor version control, different asset location and other network issues like load balancing amongst a range of other problems, the bottom line is they are never the same, period. 

In addition to the testing issues, we also need to deal with the fact that assets like Javascript are cached by some browsers. Code roll outs are not immediate, but dribble out over a period of up to a month as browsers invalidate their cache. This is a scary proposition for people relying on the analytics data, especially when frequent updates are required. 

Efficiency driven motivation ...

In addition to this, for many of our clients (e.g. banks) we have rare deployment windows as far as 6 months in the future (yes this is not an exaggeration) and aren't allowed to test code outside their building. We have other clients where we need to send them code and wait for a testing response when they can allocate the resources. The feedback loop becomes very slow and sometimes very minor code issues can cause significant deployment delays. The loss in revenue and general inability to find answers to key business questions in a timely manner cannot be underestimated.

Our background is in analytics and strategy, so we're usually dealing with Javascript files for tracking purposes, but the same issues occur with all asset based code updates. We want a simple means to test and deploy new code without making any on page changes or requiring testing in a staging environment. Maybe i'm lazy, but i don't want to test the same code twice! This initially sounds a bit ambitious, but it's actually pretty simple.

The solution ...

We use a single controlling file to include all other Javascript assets. The single file has the ability to switch between different Javascript file versions based on the existence of a cookie (created from a URL parameter when testing is required). This single file is also utilised to control the file version of the asset files without making any on page changes.

Advantages

  1. No on-page changes are required for Javascript updates EVER
  2. All updated files roll out instantly to everyone, there is no caching lag. Roll backs are just as easy.
  3. Testing on the live site can be performed without ever affecting a single other user. Staging sites are not required.
  4. Testing can be performed remotely (wherever the production site is accessible).
  5. Risk of web site down time or customer irritation is greatly reduced.
  6. Time to go live is significantly reduced.
  7. Development costs are significantly reduced.
  8. Javascript file names can include a version number, this greatly reduces confusion around version control.

Implementation

If you know Javascript and you're looking for an example, check out below. If you need more explanation, then drop us a line.

A. CONFIG
- Production server base location (e.g. www.client-site.com/js/)
- Test Server A base loca tion (e.g. www.your-live-test-site.com/client-folder/js/)
- Test Server B base location (e.g. www.client-site.com/js/live-test/). Maybe they want to test too!
- File version (or name, e.g. scode-v1.js)

B. DEFINE INCLUDE FUNCTION and OTHER BASE FUNCTIONS
These functions include setting and retrieving cookies, reading URL parameters into variables and including other javascript files.

function gqp(name){name=name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");var regexS="[\\?&]"+name+"=([^&#]*)";var regex=new RegExp(regexS);var results=regex.exec(window.location.href);if(results==null)return"";else return results[1];}
function setCookie(c_name,value,expiredays){var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays);document.cookie=c_name+"="+escape(value)+((expiredays==null)?"":";expires="+exdate.toGMTString());}
function getCookie(c_name){if(document.cookie.length>0){c_start=document.cookie.indexOf(c_name+"=");if(c_start!=-1){c_start=c_start+c_name.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1)c_end=document.cookie.length;return unescape(document.cookie.substring(c_start,c_end));}}return"";}
function include(filename){document.write(unescape("%3Cscript src='" + filename + "' type='text/javascript'%3E%3C/script%3E"));}


C. ADD LIVE TESTING FUNCTIONALITY
Some example code is shown below. The test URL parameter we're looking for is called "datalicious". So a URL like http://www.client-site.com/?datalicious=test will trigger the code to include from the test location instead of the production server. The default production code base is stored in a variable called "datClientCodebase"

var datURL=document.location.href.toLowerCase();
datTest = gqp('datalicious');
if (datTest == 'test') {
    setCookie('datCookie', 'test', 1);
}
if (datTest == 'client-name') {
    setCookie('datCookie', 'client-name', 1);
}
datCookieValue = getCookie('datCookie');
if (datCookieValue == 'test' || datTest == 'test' || datCookieValue == 'client-name' || datTest == 'client-name') {
    // This will use the test files on your server folder livetest
    if(datCookieValue == 'test' || datTest == 'test'){
        var datCodebase = '//www.your-server.com/client-name/js/livetest/';
    }else{
        // This will use the test files on the client-name server folder livetest
        var datCodebase = '//www.client-name.com.au/js/livetest/';
    }
} else {
    // Your server will use the production dir (this is done so you don't need a different file version on your
    //site), otherwise the client code base is used, which is the default normally
    if (datURL.indexOf('your-server.') > -1) {
        var datCodebase = '//www.your-server.com/client-name/js/';   
    } else {
        var datCodebase = datClientCodebase;   
    }
}

D. INCLUDE THE FILE
The following line of code takes the base file location and the file name (version), combines them and requests the desired file.

include(datCodebase + datScode);

E. TRIGGER
Now the file has been included, if there are any analytics functions, like with the Omniture scode, or google analytics page tracker, this part of the code can decide when these functions are executed. Normally we have conditions here so the function can be triggered at either the top or the bottom of the body.

F. CALL THE CONTROLLING FILE
Your web sites can now include this base file, but we recommend you use a cachebuster to ensure any updates you make the to base file propagate in a timely manner (we use 24 hours, but you can set to whatever you want). A code example is shown below, this would appear on all site pages:

<!-- BEGIN CACHE BUSTER -->
<script type="text/javascript">
var cacheBuster="";
var cbd=new Date();
var cbm=new Date();
var cby=new Date();
cbd=cbd.getUTCDate();
cbd=cbd.toString();
cbm=cbm.getUTCMonth()+1;
cbm=cbm.toString();
cby=cby.getUTCFullYear();
cby=cby.toString();
cacheBuster=cbd+":"+cbm+":"+cby;
</script>
<!-- END CACHE BUSTER -->

<!-- BEGIN INCLUDES -->
<script type="text/javascript">document.write('<scr'+'ipt type="text/javascript" src="//www.client-site.com/js/datalicious.js?cb='+cacheBuster+'"></scr'+'ipt>')</script>
<!-- END INCLUDES -->

Email Hamish at hogilvy@datalicious.com if you need help with your implementation.

Loading mentions Retweet
Email this post
Filed under  //   analytics   best practice   code   customization   google analytics   hamish   javascript   ogilvy   omniture   site catalyst   tips   web  
Posted by Hamish Ogilvy 

Comments [0]

How to ensure Google Analytics goal values are accurate when using Windows IIS web servers

When running Windows IIS as your web server, you might find that the issue of upper and lower case URLs can very annoying and troublesome.

Windows is a case insensitive OS, meaning test.html and Test.html are actually physically the same file in Windows. However, in Google Analytics they will by default be recorded as two different pages if you don't do something about it. The following screenshot shows an example of the folder '/candidates/' and how it is tracked as two different folders simply because of the case sensitive issue.

It's very easy to fix the problem. All you need to do is to setup a filter in your Google Analytics profile to convert all the URLs into lower case or upper case. To do that, login to Google Analytics and click on Filter Manager, then add a filter as shown in the following screenshot. This filter will turn all URLs in Google Analytics to lowercase eliminating the duplication on the content and goal reports. Please note, this only works form the moment you create the filter and not in retrospect.

We recommend that all websites running on Windows IIS should have such a filter to avoid the problem caused by case sensitivity.

Loading mentions Retweet
Email this post
Filed under  //   goals   google   google analytics   how to   iis   server   tutorial   URLs   web  
Posted by Chaoming Li 

Comments [0]

Oye Modern: Effective search strategy backed by powerful analytics

Background on Oye Modern

Oye Modern is a specialist online retailer of unique jewellery, stocking a range of designer pieces from DJ turntable rings with real vinyl, to sterling silver necklaces styled as crisp pencil shavings. Traditionally the site generated the majority of it’s business via online word of mouth from blogs, social media, and other online communities recommending her products. There was also a limited paid search program that was failing to deliver cost effective conversions and needed some love.

http://www.oyemodern.com/

Challenge for Datalicious

With a budget of $5,000, Oye Modern wanted to ramp up sales and visibility to capitalise on the pre-Christmas period. Datalicious was engaged to stretch this limited budget as far as possible, leading us to think outside the box and employing analytics to show return on investment.

The solution

With such a small budget, traditional media channels were ruled out quickly and Datalicious looked at how we can use proven tactics within low and zero cost environments such as organic search, social media and complimentary sites, together with tactics to optimise the website experience and messaging to achieve Oye Modern’s objectives.

Implementation recommendations

Partner with website Daily Addict which has a small but affluent following in Sydney with a good social-demographic match to customers that had previously purchased. The partnership involved Daily Addict producing video editorial featuring jewellery tips from Oye Modern, and was distributed via social media and emails to followers.

Optimisations to the site for organic search by creating additional pages, improving internal linking and simple changes to site copy.
Add several proven conversion optimisations to the website such as free shipping, a gift guide and improved messaging about delivery and returns.

A small paid search campaign in higher converting countries targeting product related keywords. This campaign was designed to generate learnings and continue to run as a profit centre after the Christmas campaign finished.

The Oye Modern team, together with our Datalicious planner Leila Hassan, executed all of the recommendations brilliantly and quickly within budget (excluding labour by their internal team) and put Oye Modern in the best possible position to capitalise on the Christmas gift giving frenzy.

The results

All marketing efforts combined produced a sales increase of over 400% from the normal baseline sales results of which at least 30% could be directly attributed to paid search managed by Datalicious.

Organic search increased 100% with almost twice the volume of visitors compared to the pre-campaign baseline - with many top 3 rankings for product terms, particularly the top selling products and names of designers.

Searches for “oye modern” (branded searches) increased significantly, together with a much higher conversion rate - it was great to see how the other activity produced an uplift in branded search.

The Daily Addict editorial was well received, generating several YouTube honours for being one of the top viewed in it’s category during the campaign, together with positive anecdotal feedback via email and social media comments.

With this campaign behind us now, we look forward to looking at new and interesting ways to continue to increase sales for Oye Modern, and allow Jeni the founder to leave her day job and put all her focus towards selling this wonderful and original jewellery to the world.  

"The SEM campaign that Datalicious put in place significantly increased our sales over the Christmas period and also introduced us to new markets we hadn't actively pursued before. The Datalicious team are smart, fun and an enjoyable bunch of people to work with." Jennie Oye, Director.

Loading mentions Retweet
Email this post
Filed under  //   christian bartens   clients   google analytics   jewelry   oye modern   paid   search   sem   seo   web analytics  

Comments [0]

Google Analytics catching up to (and surpassing) Omniture with new feature release

Google is slowly but surely leveling the playing field with its latest release and has made significant headway in the three key areas in which Omniture provides much more flexibility than Google Analytics (i.e. custom variables, custom goals, data export).

New Google Analytics features include

  • Engagement goals (time on site, pages per visit, see video below); can also be enabled in Omniture but not as easily (i.e. needs custom code) but you have up to 60 custom events
  • 5 custom variables (was only one before); there's up to 50 custom variables in Omniture so the key question is how many do you need (probably more than 5)?
  • Mobile reporting including iPhone and Android apps; Omniture has offered this for a while in different forms with and without JavaScript but the Google options sounds a little easier
  • Advanced analytics and report filtering options (see videos below); Omniture certainly offers something similar with its Discover product but it's 'slightly' more expensive
  • Easy report sharing between users via unique URL; Omniture just rolled out the same functionality a few months ago
  • Automatic alerts if your data changes significantly (very cool, see video below)); that I haven't seen from Omniture, alerts still need to be set-up manually by the user

All in all a pretty impressive release, thanks Google! Especially cool are the automatic email alerts that need no manual user set-up.

However, even though the Google Analytics platform has improved significantly and now even features a data extraction API it's still impossible to extract data on an individual user level which is crucial if you want to import website behavioral data into your CRM platform for example (to improve your cross and up-sell using website data). Drop us a line if you want to know more.

Read the official Google Analytics blog article here
http://analytics.blogspot.com/2009/10/google-analytics-now-more-powerful.html

Loading mentions Retweet
Email this post
Filed under  //   christian bartens   comparisons   discover   google   google analytics   omniture   sitecatalyst   vendors   web analytics  

Comments [1]