Posts Tagged ‘web analytics’

Jan 10
2011

I have recently guest-authored a series of posts on mobile analytics strategy on the Google Analytics blog. Each of the three posts highlights simple yet key steps for marketers to track their mobile traffic and improve their returns.

For those of you on the go, here’s a quick glance at the material I covered.  Try to make time to read each post in-depth, even if you have to read it on your smart phone!

image

1 – Look for Mobile Trends

In the first post, I detail how to monitor and analyze mobile traffic using key performance indicators. This is best done by customizing your GA settings to receive mobile traffic reports, custom alerts, and for the enthusiast, using the Google Analytics data export API.

2 – Give Your Reports More Dollar Power

So you’re mobile trends are positive, do you just throw the data to your boss? No. You always want to give your reports more dollar power. The second post centers on the power of presentation. If you’re CEO can easily connect the dots, two bottoms will be covered — your company’s and yours! :)

3 – Act on Your ROI

The average analytics guy will stop at step 2, but the third post encourages you to do more. Additional segmentation and leveraging  AdWords’ reports will allow you the much needed visibility into campaign performance to maximize your results.

image

And There’s More!

For tor the technically inclined, and to get a more comprehensive perspective on your mobile presence, there is more you can do. Check out the code site page on mobile to:

  • Track native iPhone or Android applications
  • Track activities on websites from low-end mobile devices

And be on the lookout for  niche analytics solutions specifically built for mobile.

Remember, it’s never too late to start maximizing your company’s mobile investment and implementation. Be sure to check out each post for more details and practical tips.

For more analytics tips and insights, follow @ferasa on twitter.  Happy analyzing!

Dec 09
2010

One of our most well received posts this year was on “Tracking Online and Offline Marketing Campaigns with Google Analytics”. The post detailed how to properly plan for and track your various marketing initiatives and campaigns (search, email, social, offline, etc.) to understand the impact and ROI of each channel.

That post was geared towards those who already had a good understanding of URL tagging. How about the beginners? In this post, we will try to address both beginners and advanced users. Does either of the bullets describe you?

  • You are familiar with URL tagging, but need to find a way to automate the process using an elaborate tool
  • You are looking for a brief how-to guide on URL tagging.

If the answer is yes, keep reading. Actually, keep reading either way – this was just a poorly crafted attempt at being dramatic. :)
Although url tagging isn’t a hot new topic, proper planning and tagging is fundamental to improving visibility into campaign performance, overall accuracy and proper attribution of campaign conversion data. Some of the most common questions we get asked are related to URL tagging, so we figured it was time to share some of the tools we use internally to help make the URL tagging process less mundane and more bulletproof.

Why should I continue reading? Here’s what you’ll get…

  1. Online URL Tagging builder
  2. An Advanced URL Tagging Kit (Excel based), and yes, it’s free!
  3. A video guide & practical tips

Ok fine….How do I get started?

Start with the end result of tagging – a pivot report with Channel Segmentation.
Impress your boss and brag about your marketing channel and campaign segmentation skills, show them a sample report like this one (and get additional help/resources for your analytics team!) and then proactively follow the steps and tools in this post.

ChannelMetrics

Let me explain why the above report is so powerful:

  • All your campaigns – online and offline are segmented and properly tracked
  • The pivot data is in an analysis friendly format
  • The raw data is available and easily exported from GA (extracted into Excel via the API)

The three tools listed below will help you set up proper campaign tracking.

1- Online URL Builder

If you’re trying to learn how to build properly tagged URL’s or just need a tool to facilitate building a quick link or two, this tool will serve your needs very well. It’s quick, easy and available online here:

http://www.e-nor.com/url-builder.aspx

urlbuilder

Simply enter the appropriate values, and then press the Generate URL button, and you’re done.

2- The Google Analytics Campaign Segmentation | URL Tagging Kit (beta)

The URL builder above is great for onesey twosey links, but woefully inadequate if you have more than a few links to tag (who doesn’t?) For a more robust method, check out E-Nor’s URL Tagging Kit. This Kit provides an automated method to tag many urls at the same time for multiple campaign variables. Using the URL Tagging Kit offers the ability to tag in bulk, updates formulas, error checks and prepares final tagged URLs for distribution to the campaign manager and then off to Quality Assurance.

Input Parameters:

linktagging1

Output Tagged URLS!!!

linktagging2

For beginners, just use the default settings and tag away!

For advanced users, here is what you get with this beta version:

  • Auto concatenation of tag fields
  • Error checking
    • Space character is handled gracefully
    • Character case is auto-fixed based on selection
    • Leading/trailing spaces are trimmed
  • Your choice of querystring parameter character (? Or #)
  • Auto-creation of final static version of the tagged URL

Download the URL Tagging Kit here

Download

3- Online Video Tutorial

Don’t have time to read? Just watch the short tutorial below

(for whatever reason, I can’t seem to get full screen mode enabled on this video. Click here to watch the video on Youtube with full screen enabled.)

Practical Tips

  • Google AdWords offers an “auto tagging” feature, if you turn it on and you connect your AdWords account with your Google Analytics account, you are all set. No manual URL tagging are required.
  • Use URL Tagging for campaign types, such as:
    • Newsletters
    • Email
    • Banners
    • Affiliate
    • Shopping Comparison Sites
    • Non-Google CPC, CPA or CPM based advertisements
    • Press Releases
    • TV
    • Radio
  • Basic UTM tagging only applies to your domain(s) and does not apply to external domains.
  • Check which querystring parameter your site supports: ? or # (if you are using # as your querystring parameter, make sure you read the reference from Google Code on the _setAllowAnchor command)
  • Establish an insightful naming convention for your team & stick to it!
  • Ensure a QA process is in place:
    • QA naming convention (including upper and lower case) and if you use holiday_2011, don’t use FALL-2011 for the same campaign.
    • Check links to verify landing pages render properly.
    • Verify final tagged urls in all final content.
    • Verify information is passed to Google Analytics as planned.

So there you have it. Tag, Track, Segment, Analyze and Optimize!

Advanced User Notes:

  • For advanced users and those interested in multi-channel attribution, you can make use of the Multiple Custom Variables (MCV) feature in Google Analytics to measure first, last (and in between) campaign attribution
  • If you are running social media and online viral marketing activities and you are active in blogging, on Twitter and Facebook, you should include “off-site” measurements in your overall campaign analysis.
  • Here’s a nice post on the GA blog detailing a solution that requires no tagging.

Related Posts

Oct 11
2010

Recently, I had a conversation with some web analysts about the different traffic attribution models in Web Analytics.   This is a topic that web analysts and marketers will never reach an agreement on!  A few days after the dry theoretical discussion, I got a request from one of our clients to change the traffic attribution model in Google Analytics to treat “direct” traffic like any other traffic sources, which will enable them to measure the impact of their branding efforts.

What is considered “direct traffic” in Google Analytics?

Direct Traffic represents visitors who typed the URL directly into the web browser, clicked on a bookmark to arrive at your site, or clicked on an untagged URL in a desktop based application that link to your site.

What is the issue:

By default, Google Analytics attributes a visit and its conversions and sales to the last traffic source; that is what we call Last Click Attribution model. An exception to this rule is a “direct” visit. If a visitor returns to a site directly, the last traffic source before the direct visit will still get credit for that visit’s activities. This behavior is disliked by (few) analysts who prefer to look at the “direct” traffic like any other traffic sources.

Here is a simple example to illustrate the issue:

You are a web analyst at forever21… you ran a huge online campaign for the back to school sale (banner, email, social media, affiliate,..) now you want to measure your brand awareness in the market. You want to see how many people because of your branding efforts visit your website directly by typing your URL?

A few months after the end of the campaign you still see visits are tracked as “paid search”, “email” and “banner”. You see a very small number of “direct” visits. In the budgeting meeting you shared the numbers with the board and you decided to spend more $$$ on marketing because you haven’t reached your brand awareness goals yet.

Hold on! Do you know that most of these “paid search”, “email” and “banner” visits that you see today in your report are “direct” visits?These campaigns did their job months ago and now the whole universe knows about your brand and comes to your site directly.  Unfortunately, you have no insight about these “direct” visits because of the rule that “direct” visits do not override previous traffic sources for 6 months!

Can we change this rule? If this will answer your business needs and save you money, of course we can :)

Solution:

Simple! Just credit visits to the last campaign/traffic source regardless of whether the visit was a direct or non-direct visit. See the table below for a comparison between the default GA reporting settings and the “True Direct” solution settings:

Visitor Visit 1 Visit 2 Visit 3 Visit 4
Source / Medium cnn.com / Referral ask / organic Direct Access Bookmark
Last Click Attribution cnn.com / referral ask / organic ask / organic ask / organic
True Direct Attribution cnn.com / referral ask / organic direct / none direct / none

How:

We will need to run some JavaScript code before firing the Google Analytics tracking code. This JavaScript code will check:

  • the value of the URL of the page that loaded the current page (Output: URL or Null)
  • the current page’s URL (Tagged with Google Analytics campaign UTMs or not tagged)
  • if the value of the referring page is NULL and the current URL doesn’t contain any UTMs, then update the URL with the following utm parameters utm_source=(direct)&utm_medium=(none)&utm_campaign=(not set)

Why do we check whether the current page is tagged or not?

Sometimes pages are loaded without referring information, yet they might have been manually tagged with campaign parameters to force GA to credit the visit to a certain channel. We do not want these pages to be overridden by our “direct” parameters.

Example: http://www.mysite.com/myfile.html#utm_source=cnn.com&utm_medium=banner&utm_campaign=thanksgiving

The traffic source for this visit will be:

  • Source = cnn.com
  • Medium = banner
  • Campaign = thanksgiving

Click here to view the entire code segment

Let us explore the code, section by section:

function get_referrer() {
var source = document.referrer;
if (source == null || source == “”)
return “direct”;
}

This portion of the code will determine the URL value of the page that loaded the current page (referring page). If the value is NULL, the function will return “direct” indicating that the current page was not referred by another site.

function get_parameter() {
var urlstr = window.location.href;
var results = urlstr.match(/[\\?&#]utm_source=([^&#]*)/);
if (results != null)
return “tagged”;
}

This portion of the code will determine if the current page is manually tagged with Google Analytics campaign parameters.

if (srcPage == “direct” && parameter != “tagged”) {
window.location.hash = “utm_source=(direct)&utm_medium=(none)&utm_campaign=(not set)”;
}

This portion of the code will check the values returned by the two functions above. If the visit has no referring information (direct) and the URL is not tagged with any Google Analytics campaign UTMs, then the page URL will be updated with Google Analytics UTM parameters setting the source and medium for the visit to “direct”

Page URL
http://www.mysite.com/myfile.html
New URL
http://www.mysite.com/myfile.html#utm_source=(direct)&utm_medium=(none)&utm_campaign=(not set)

* Notice that we did not use window.location.href function because this function will reload the page with the new URL, which is not what we want to happen. We just want to update the URL, without affecting the visitor experience, in order for the Google Analytics tracking code to attribute the visit in a certain way.

Bonus: Defining a Search Term as Direct Traffic

Sometimes out of convenience or laziness visitors reach your website by entering your domain name or business name as a search term in a web search engine (ex. google, yahoo, bing). Those visits will be attributed in GA as organic search visits, even though, the only difference between the two visits is that in one visit the URL was typed into the web browser’s address bar and the other was typed into the browser’s search box.

In my opinion, these branded searches should be dealt with as direct visits. In GA we have the option to do that so if you are convinced, then let’s configure Google Analytics to treat certain search terms (our brand) as direct traffic.

The configuration has to take place at the code level. It will be simply adding the _addIgnoredOrganic() method inside the Google Analytics tracking code for each keyword we want to track as direct traffic.

The custom Google Analytics tracking code will look like this:

<script type=”text/javascript”>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxxx-x']);
_gaq.push(['_setAllowAnchor', true]);
_gaq.push(['_addIgnoredOrganic', 'e-nor']);
_gaq.push(['_addIgnoredOrganic', 'e-nor.com']);
_gaq.push(['_addIgnoredOrganic', 'www.e-nor.com']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
})();
</script>

Congratulation, now you don’t only have access to the direct visits data of those who visit your site for the first time as direct, but you will have insight into all direct visits regardless of whether they took place during the first, second or even the tenth visit.

Related Posts

Oct 09
2010

Just got back in town from another great Google Analytics training day at SMX East (New York City). Thank you to all who attended, it was great meeting you all and I hope I lived up to your expectations.

As I typically do after a workshop, here are the answers, links, and additional references to questions raised that we didn’t have time to address in full details. Feel free to drop me an email if you have an account specific question.

Again, thank you all for attending the workshop and I hope you start putting all the power of Google Analytics in use to help you improve the performance of your website and get better ROI on your marketing campaigns.

10/19/2010 Update

Some of you asked for more technical details on flash and video tracking, here are the links. Enjoy!

Feras

Sep 14
2010

The digital marketing space is constantly evolving and for those of us in the web analytics industry, staying up-to-date and relevant is a challenge (for some of us analytics geeks, this is the only thing that keeps us going! ) But your job doesn’t end here- you are still expected to generate more revenue, reduce costs and improve the return on investment for your marketing campaigns, all in a ‘New York minute’ :) .

You know analytics will do the trick, but where and how can you get the proper training? Easy. Come and learn the tools of the trade at a full day hands-on Google Analytics training.

I am speaking at SMX East

If you’re convinced and ready to register, do so before October 3. Feel free to use this code for a $100 dollar discount: smx100gaw (case sensitive). You can register here and enter the promo code or just click on this URL. But if you’re holding out and still need a bit more convincing, check out some (uncensored :) ) testimonials from previous training attendees.

The training will cover some basics, but will focus on much needed, yet underutilized, best practices. We will also explore various advanced topics and leave a lot of time for Q&A. You’ll be prepared for morning’s work with specific action items to implement on your own site (or your clients’ sites).

So whether you’re a marketing manager, a technical webmaster, or a consultant, and whether you’re working for a start-up or a Fortune 500, this workshop will help you leverage Google Analytics to the fullest.

Training agenda

Morning Session – Marketer/Business Focus – Google Analytics Strategy & Planning
  • Web Analytics Strategy – approach, opportunities and limitations
  • How It Works – overview, accuracy and privacy implications, integrating with other data
  • Practical – understanding the user interface
  • Advanced Features Overview – clever stuff you can do with Google Analytics
Afternoon Session – Webmaster/Technical Focus – Google Analytics Implementation
  • Accounts & Profiles, Filters & Goals – structure your data properly
  • External Campaign Tracking – measure performance of search, email, banner campaigns
  • Reporting – dashboards & insights
  • Advanced Segmentation & Custom Reports – powerful ways to find insights
Need more convincing? Here are some testimonials

“I wanted to thank you for the great work you’ve done in helping Blue Shield set up Google Analytics and taking us through the process of understanding the User Interface. We are enjoying the training sessions and the entire team feels very confident in your expertise. Thank you!”
-T. S., Online Member Acquisition, Blue Shield of California

“I think Feras did a really good job presenting to an audience that had a wide range of Google Analytics experience. Glad I stayed the extra day to attend.”
-C. S., Search Engine Marketing Expo

So why wait any more! Register today and don’t forget to use this promo code for $100 discount: smx100gaw (case sensitive) or simply use this URL.

If you have any questions about the Google Analytics training, don’t hesitate to email or call. For latest updates on the workshop and other (mainly) analytics tips, follow me on twitter. And above all stay in touch!