Articles in the Google Analytics Category

Tracking Sub-Domains and Multiple Domains with Google Analytics

October 2nd, 2009 by Joe Teixeira

There really isn’t anything better in the world than a properly configured Google Analytics tagging implementation. Well, actually, there are lots of things that are better, like Double Chocolate Chip ice cream and a live rock concert! But at this exact moment, no, there isn’t anything better than the comfort of knowing that your online presence – regardless of how many sub-domains or multiple domains it spans – is tagged perfectly and the cleanest possible data is being funneled into your Google Analytics account.

This is an important topic because there are lots of online storefronts, blogs, microsites, and other web site sections that are hosted on a sub-domain or a completely separate domain that are often forgotten about when it comes time for installing Google Analytics. When tagging isn’t present on a portion of your web site, not only does your bounce rate increase, you also start collecting “dirty data”, including self-referrals in your Traffic Sources section, along with a high than normal amount of direct traffic.

So, how do you implement Google Analytics across sub-domains or across multiple domains? It’s actually quite simple to do, as long as you follow the exact instructions outlined below. Let’s start first with the easy one, sub-domains. We’ll then work our way into the more complex one, multiple domains.

Tracking Google Analytics Across Sub-Domains
Let’s say that your web site’s URL is www.site.com. Let’s also say that your site’s blog is hosted on blog.site.com. Because of the way that the Google Analytics Tracking Code works, installing the code as is from your Google Analytics account will produce a lot of referrals from www.site.com or blog.site.com in your All Traffic Sources report. This means that the visitor’s original referring information (Google, Yahoo, Bing.com, etc…) will be lost if the visitor goes from your main site to your sub-domain site, or vice-versa.

To avoid this headache, simply update your Google Analytics Tracking Code to include the call to _setDomainName, as shown in bold below:

<script type=”text/javascript”>
var gaJsHost = ((”https:” == document.location.protocol) ? “https://ssl.” : “http://www.”);
document.write(unescape(”%3Cscript src=’” + gaJsHost + “google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E”));
</script>
<script type=”text/javascript”>
try {
var pageTracker = _gat._getTracker(”UA-XXXXXX-X”);
pageTracker._setDomainName(”.site.com”);
pageTracker._trackPageview();
} catch(err) {}</script>

This modified version of the Google Analytics Tracking Code will need to be installed on both your main site and the sub-domain site. If you have multiple sub-domain sites, then all of those will also need to have this exact modified version as well. Finally, be sure to change “site.com” within the Tracking Code to your site’s domain.

This is relatively easy for you or your webmaster to do.

Tracking Google Analytics Across Multiple Domains
Setting up Google Analytics Tracking Code on multiple domains is a bit tougher than setting GA up on sub-domains, but it’s definitely doable. The following instructions are what you’ll need to follow if you have multiple domains, for example, www.site.com and www.somethingelse.com.

There are a couple of different ways that you can pull this off in documentation online. However, this is our preferred way. First, you’ll need to use calls to _setAllowLinker and _setAllowHash in your Google Analytics Tracking Code on each multiple domain site, like the bolded calls below:

<script type=”text/javascript”>
var gaJsHost = ((”https:” == document.location.protocol) ? “https://ssl.” : “http://www.”);
document.write(unescape(”%3Cscript src=’” + gaJsHost + “google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E”));
</script>
<script type=”text/javascript”>
try {
var pageTracker = _gat._getTracker(”UA-XXXXXX-X”);
pageTracker._setAllowLinker(”true”);
pageTracker._setAllowHash(false);

pageTracker._trackPageview();
} catch(err) {}</script>

This is normally done without too much of a problem. The problems come about with this next item, which absolutely must be installed in order for multiple domain tracking to function. On every link to and from each domain, _link must be used, and on every form that takes a user to and from each domain, _linkByPost must be used.

For text links or image links, use _link as a JavaScript onClick event:

onclick=”pageTracker._link(’http://www.site.com/page.html’); return false;”

You’ll need to update “http://www.site.com/page.html” in the above _link function with the full path that a visitor will be taken to on your own web site.

For submit buttons or “add to cart” buttons, use _linkByPost as a JavaScript onSubmit event:

onsubmit=”pageTracker._linkByPost(this)”

It bears repeating that either _link or _linkByPost MUST be used on links to and from each domain. A user may click on a text link that uses _link going from one domain to the next and not affect their tracking, but if they click on a link on the next domain that takes the same user back to the original domain, _link must be present on that link as well, or referring information gets lost and self-referrals start to occur in your Traffic Sources report.

Work closely with your webmaster or IT guru to make sure that _link and _linkByPost are used on every link or form on every domain. It may be tedious, but it’s critical for proper cross-domain tracking with Google Analytics.

We hope that helps you tag your sub-domains and multiple domains properly with Google Analytics. It’s a bit of extra work, but data that is as squeaky clean as possible is a fantastic reward for your efforts!

Posted in Google Analytics, Web Analytics

Learn how to sync Google AdWords and Google Analytics together!

September 17th, 2009 by Joe Teixeira

One of the biggest challenges facing Google AdWords advertisers today is data analysis. Sure, AdWords marketers can determine their ad and keyword quality scores, click-through rates and cost per click bid prices, but what happens to the searcher when they land on the web site, after the click has occurred?

Most AdWords marketers also have a Google Analytics account at their disposal, but a very high percentage of marketers today do not have their Google Analytics account synced with their Google AdWords account. When your AdWords and Analytics accounts are not synced, you could be:

1. Missing out on valuable AdWords data.
2. Seeing a lot of (not set) keywords.
3. Experiencing a very high distortion between your visits and your clicks.
4. Not taking advantage of the “Clicks” tab within the AdWords section of reports with the Traffic Sources section.
5. Mixed or garbled information in your Campaigns, Keywords, or Ad Content reports.

Today, we are going to show you how to sync your Google AdWords and Google Analytics accounts together, so that you can join the party and collect valuable AdWords data within your Google Analytics account.

Step 1: Take charge and become an administrator!
In order for you to sync AdWords and Analytics, the email address that you use to log-in to your AdWords account must also be an administrator of the Google Analytics account. If it is not already an administrator, please get a hold of the person that is the Administrator of your Google Analytics account, and ask them to make you an Administrator. You really shouldn’t do anything else before this happens.

Step 2: Log-In to AdWords and sync your accounts!
After you’ve become a Google Analytics Administrator, it’s time to sync your accounts together.

First, click on the Reporting tab and click on the Google Analytics link, found on the top navigation menu of your AdWords Account:

Reporting Tab in Google AdWords

Once you do that, you should see a screen that looks like the one below, which gives you two options. You can choose to create a new Google Analytics account (no!), or, you can select the second option to link your existing Google Analytics account to your Google AdWords account (yes!). Click on Continue to move on to the next step.

Linking your AdWords and your Analytics accounts

After clicking on Continue, you will reach the final step in the AdWords to Analytics syncing process. Your Google Analytics account’s name should appear in the drop-down menu in the middle of the screen-shot below (if you’re not an Administrator, it won’t appear). Leave “Destination URL Auto-Tagging” checked on, and click on Link my account towards the bottom of the screen.

The Final Step in syncing your AdWords account

Congratulations! You’ve just synced your Google AdWords and Google Analytics accounts together. That was fairly easy, was it not?

Step 3: Enjoy The Results!
Now that your Google AdWords and Google Analytics accounts are synced, you can enjoy Campaign, Ad Group, and Keyword data from your AdWords marketing efforts found within the Traffic Sources section of reports. After a couple of days, you’ll also be able to see data populating within the Clicks tab within your AdWords Campaigns report. ROI, Revenue Per Click, and Margin are three new metrics that will appear across the top score-card to give some additional meaning and performance evaluation for your AdWords Campaigns.

You’ll also be able to take advantage of the Keyword Positions report, which will show you keyword click and performance metrics based on the position of each one of your ads, as they appear in a search result.  Also, if you participate in Google TV Ads, you’ll be able to see impression data for your TV Ads, including cost and CPM metrics.

So what are you waiting for? Log-in to your Google AdWords account and sync it to your Google Analytics account today!

Posted in Google AdWords, Google Analytics, Web Analytics, Web Analytics Metrics

Become a Fan of the Top Landing Pages Report

August 31st, 2009 by Joe Teixeira

Sometimes, less is more. Sometimes, fewer words can speak at a higher volume than lots of words. Sometimes, a simple, neat, and easy to read report can have a greater effect than a report filled with endless columns and rows of data. This is the case with the Top Landing Pages report in Google Analytics.

Tucked away quietly in the middle of the Content section of your Google Analytics profile, the Top Landing Pages report won’t dazzle you with an AJAX-based, “do-it-yourself” module like the Custom Advanced Segments area or fancy click-data on top of your web site like the Site Overlay report. In fact, the Top Landing Pages report has only three quantitative columns – most reports start out with at least five or six.

The report even has an evil twin – the Top Exit Pages report, which for the few folks who discover Top Landing Pages, can confound the two reports and even go as far as thinking that one is the continuation of the other (ouch!).

So what is it about Top Landing Pages that is so valuable, and such a hidden gem? Two words: Bounce Rate. The sole purpose of the Top Landing Pages report is  to compare Bounce Rates against the entry pages that your visitors used to reach your web site. And, as we all know, Bounce Rate is the percentage of single-page visits to your web site. High bounce rates are bad, because they suggest that your Landing Pages are either broken, unattractive, or did not meet visitor expectations. Low bounce rates are very good, because they suggest that your Landing Page content was interesting and persuasive enough to entice a visitor to go to another one of your site pages.

When you bring up the Top Landing Pages report, you’ll immediately see your top 10 Landing Pages (or, entry points) of your web site, and three metrics for each Landing Page: Entrances, Bounces, and Bounce Rate. You can use the “Rows” drop-down at the bottom-right of your report table to see more Landing Pages if you choose, and the “Filter” tool on the bottom-left of your report table to include or exclude certain pages from the report.

Top Landing Pages report

I mentioned two paragraphs ago that a high bounce rate is bad, and a low bounce rate is good. However, I won’t give you a percentage and say whether or not that figure is good or bad. A Bounce Rate of 35% may be very high for your web site, or it may be very low, which depends on several factors, such as visitor demographics and your web site’s industry vertical. Comparing your Bounce Rate against a static number will not give you an accurate measure of performance. However, Comparing your Bounce Rate against your site’s average will allow you to provide a backdrop of context for each individual Landing Page, as shown in the following image, with the Comparison to Site Average view enabled:

Top Landing Pages - Comparison to Site Average

After you’ve used Top Landing Pages for your own web site, determine which pages are in need of some optimization work. Is a Landing Page that you’re using for your pay per click campaigns suffering from a really high bounce rate? Now would be the time to possibly re-write that page’s content, make it more conversion-oriented, or fix any technical errors that may be present. Is one of your category-level pages a rock-star with a minuscule bounce rate? You may want to give Kudos to your SEO team, as their copywriting and keyword-matching optimization work is paying off.

Now that the best-kept Google Analytics secret has been exposed, add this report to your dashboard, or set-up a scheduled email report so that you can stay ahead of the curve and begin lowering those Bounce Rates!

Posted in Google Analytics, Web Analytics, Web Analytics Metrics

New Google Analytics Feature: Secondary Dimensions

August 18th, 2009 by Joe Teixeira

Back in May of this year, Google Analytics announced the release of some new features that will soon be available to everyone worldwide.  This announcement includes two new features that we are very excited about: Pivot Tables and the subject of today’s blog post, Secondary Dimensions.

What are Secondary Dimensions?
Secondary Dimensions allow you to add in a layer of data to any report table within the Google Analytics interface. With secondary dimensions, you can save time and effort, while simultaneously obtaining valuable insights within your report data. All you have to do is visit any report – Keywords, All Traffic Sources, or your Top Content report – and look for a new drop-down menu directly underneath the scorecard, shown in this image:

Secondary Dimension Drop-Down

Then, you can start diving deep. For example, segment your Traffic Sources report by “keyword“, and you’ll get this:

Secondary Dimension: Keyword

You can also do fancier analysis, like segmenting your Traffic Sources report by City, while using the Comparison to Site Average view to evaluate the percentage of New Visits from each location, which can help you evaluate your geo-targeted marketing efforts:

Secondary Dimension: City

With the power of Secondary Dimensions, you will be able to take your analysis efforts to the next level. Because every standard dimension is available in secondary dimensions, you have virtually limitless possibilities. Try segmenting your Keywords report by Landing Page, your Top Content report by Visitor Type, or your Map Overlay report table by Source for some fun (and useful) information! Secondary Dimensions are addictive, so consider this your only warning!

Next time we will talk about another new Google Analytics Feature, Pivot Tables (or Pivoting), and show you how to use Pivoting in conjunction with Secondary Dimensions for even greater reporting power!

Posted in Google AdWords, Google Analytics, Web Analytics, Web Analytics Metrics

It Takes a Village to Raise a Culture of Web Analytics

August 10th, 2009 by Joe Teixeira

The last 2 years have seen an influx of business men and women getting involved with Web Analytics. Owners, Presidents, VPs, Directors, Marketers, IT personnel and even Administrative Assistants have all taken an interest in this still relatively new dimension of the internet.

While it’s great that so many folks are diving head-first into the ocean of analytics, it’s very important to understand that one individual cannot do it alone. Everyone – even one man / one woman shows – needs a village…a community of individuals that can support, educate, and collaborate with one another to install, upload, and subsequently measure and take meaningful, useful insights from their analytics data.

Each person needs to rely upon any one (if not all) of the following types of people to truly achieve Web Analytics success:

1. The Web Analytics “Champion”
Each organization needs that one person who stands proud and champions the cause to their colleagues. This person takes command and learns everything possible about Web Analytics, and can eat and drink metrics and reports for breakfast, lunch, and dinner. This person can calculate search campaign ROI and Average Order Value figures in their sleep. He / She is the quarterback / point guard / captain of the team.

2. A Colleague who Shares the Vision
Forging a relationship with a co-worker who can get as excited and enthusiastic about Web Analytics as the “Web Analytics Champion” is key to promoting a culture of data insights throughout your organization. It becomes contagious to the rest of the company when they see that others are being positively influenced by Web Analytics, and they’ll want to be a part of it.

3. A Friend in Need is a Friend in IT
No matter what type of Web Analytics program you choose to run with, a technical / IT person is going to be necessary at one point or another. IT folks can help you upload any necessary scripts, code your website’s pages, manage APIs, parse server log-files, fix and repair bugs, and anything else needed for Web Analytics success. Making friend(s) in the IT department is a crucial, often overlooked step.

4. Don’t Forget the Marketers
At the end of the day, the purpose of Web Analytics is to understand the behavior and actions of your website’s visitors. Marketing / advertisement is what drives traffic to a website, be it a pay-per-click ad or a couple of months of hard-nosed SEO optimization work. The marketing department is going to need reports and statistics from Web Analytics to be able to refine their efforts, and evaluate which are working and profitable, which ones are wastes of money, and which ones have potential.

5. Sell, Sell, Sell!
Sometimes, the concepts and the philosophy of Web Analytics are hard to explain throughout an organization – anyone who has ever heard “Why Should I Spend Any Time with This?” will understand. This is a great opportunity to get a sales rep, or even the VP of Sales on board with Web Analytics. They can probably share with you some persuasive techniques that can be used to attract interest.

6. Who’s The Boss?
Not Tony Danza – unless he IS your boss. The Senior VP, Chief Technical Officer, Executive Vice-President, or perhaps the CEO themselves should be on board the Web Analytics gravy train. This is, understandably, a vital part in the ultimate success of building a culture of Web Analytics within your company – important colleagues or co-workers who were on the fence before may be strongly persuaded to jump on the bandwagon if a supervisor, partner, or even the owner supports the efforts.

In a lot of situations, people do not have the ability to take the reigns and create this prosperous culture of finding actionable insights. They work alone, in a small group, or in large companies where teams are spread across several offices, making building a community near impossible. Fortunately for us, MoreVisibility is that culture of Web Analytics. We are a Google Analytics Authorized Consultant, a Google AdWords Qualified Company, and have an entire organization of colleagues who champion the cause for Web Analytics.

Posted in A/B Testing, AW Stats, ClickTracks, Competitive Intelligence, Coremetrics, Feedburner, Google AdSense, Google AdWords, Google Analytics, Google Website Optimizer, Key Performance Indicators, Multivariate Testing, NetInsight, Omniture SiteCatalyst, Omniture Test & Target, Site Usability, Surveys / Polls, Tealeaf, Urchin Software from Google, Web Analytics, Web Analytics Metrics, WebTrends, Yahoo! Analytics

« Previous Entries Next Entries »


Inc 5000 Google Analytics Authorized Consultant Google Qualified Company Yahoo Certified Ambassador Microsoft adExcellence Member Greenified 2009

MoreVisibility
925 South Federal Highway, Suite 750
Boca Raton, Florida 33432, USA

800.787.0497

ph: 561.620.9682

fx:  561.620.9684


© 1999 - 2010 MoreVisibility ® All Rights Reserved. Privacy | Legal

MoreVisibility Social Networking Links YouTube LinkedIn Facebook Twitter