All Help Topics
Adding Google Analytics
Contents
- Overview
- Installation
- Interpretation Basics
- Setting up Site Search
- Creating a Goal
- Viewing the Funnel
Download Guides
We've created a comprehensive guide to using Google Analytics in 3 downloadable PDFs:- Google Analytics for Photographers (43 pages, PDF, 5MB)
- Quick Start Guide (1 page, PDF, 116KB)
- Five Marketing Questions (5 pages, 541KB)
Overview
"Web analytics" refers to the collection and analysis of data about a given website. Once analytics code has been installed on your website, you can almost immediately start gathering very detailed information about who's visiting your site, what they're doing there, how long they're staying, and much more. Analytics data provides an unprecedented level of insight into what is and isn't working for site visitors, which can prove to be extremely valuable, particularly to those selling a product or service on their sites.
The goal of analytics is to give us a measurable baseline of activity on our website from which we can create data-driven decisions about our marketing activity.
Time and resources for most photographers are scarce commodities. Therefore, we cannot be rash or impulsive about how we allocate them. Analytics give us empirical data from which we can make informed decisions.
There are many tools available online for capturing and reporting this data back to you, but Google Analytics is the industry standard we recommend. It's extremely thorough, constantly evolving, and totally free of charge to its users!
Note: We cannot provide support on Google Webmaster-related questions. Please use the Google forums or our forums to gain advice from other users.Installation
We provide an easy way to integrate Google Analytics tracking code (or tracking code from any other provider) to your customized PhotoShelter pages. Please read through the below documentation for some guidance on getting started.
I want to use Google Analytics with my PhotoShelter account. What do I do?
- Head to http://www.google.com/analytics and follow the registration instructions. If you already have a Google account for Gmail or any of their other services, you may use the same username and password to register for an Analytics account.
- Once you're logged into your Google account, you'll be prompted enter the URL of the website you'd like to track. If you already have an Analytics account, then you will need to click on the "+ Add new account" link on your Account Overview page to see the same thing. There are various approaches here concerning the URL you should use, so the next step depends on what type of setup you have. For further instructions, please choose from the following options for the one that fits you best.
Option A:
My customized PhotoShelter portfolio stands alone; it is not integrated into another site.
Please choose between the following two options:
1. I do not use a CNAME for my PhotoShelter URL.
The URL you should enter is in this format: http://[yourname].photoshelter.com.
Next you will need to enter your contact information (name), and agree to the Terms and Conditions. On the final page, when asked what you are tracking, select "A single domain (default)" as shown below:
Once you've set up your account, you will be provided with tracking code, which should look something like this:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-YOUR ACCOUNT NUMBER-X']);
_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>
2. I use a CNAME (also known as a "vanity domain" or "custom domain") as an alias for my PhotoShelter URL.
The URL you should enter is in this format: http://[CNAME].yourdomain.com.
As with option A1, you will need to enter your contact information (name), and agree to the Terms and Conditions. On the final page, when asked what you are tracking, instead of selecting a single domain as described above, select "Multiple top-level domains" as shown below:
Once you've set up your account, you will be provided with tracking code, which will differ slightly from what you see above and should look something like this:
<script type="text/javascript"&rt;
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-YOUR ACCOUNT NUMBER-X']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_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>
Option B:
My customized PhotoShelter portfolio is integrated into another site.
This means that you maintain a site with pages at http://www.yourdomain.com that link off to your PhotoShelter pages. (Please see an example at http://manginphotography.com — when "Search Archive" is clicked, his PhotoShelter environment opens.)
Please choose between the following two options:
-
I would like to track all my traffic — to PhotoShelter and non-PhotoShelter pages — in one place.
The URL you should enter is in this format: http://www.yourdomain.com. You'll just need to make sure that you are selecting to track "multiple top level domains" as described in option A2. This same tracking code should then be inserted on both all of your non-PhotoShelter pages, as well as your PhotoShelter pages (how to insert in PhotoShelter pages is described below). -
I don't care about tracking the other pages in my account (or I will track these separately) — now, I just want to track my PhotoShelter pages.
In this case, please refer to Option A1 above ("My customized PhotoShelter portfolio stands alone; it is not integrated into another site."), and follow the instructions from there. By doing this, you are essentially tracking your PhotoShelter site and your non-PhotoShelter pages as different websites.
Once you've set up your account, you will be provided with tracking code, which should look something like what is described in either option A1 or A2 above.
Final Step for All Scenarios
Copy the tracking code exactly as it appears.
If you've selected a theme: paste the google code into the Analytics Code section of your PhotoShelter account, which is located in your Website Settings.
Click "Save Settings," and you're good to go!
If you've select Manual Customization: you need to paste the code into the footer section of the Public Page Master Template and the Customer Page Master Template.
I've installed the data. Now what?
First things first — you need to collect at least 1 month of data before being able to truly establish trending. In the meantime, if you want to start getting your feet wet, we recommend the following first steps:However, we recommend the introductory steps/fields of inquiry:
- Define a goal for what you want your visitors to do. (Sign up for an account? Make a purchase?)
- Analyze your goal "funnel" — how many people come close to reaching the goal you've set but then bail out? Where are they leaving in the process?
- Study your audience and how they're finding your site. Where are your visitors referred from? How long are they staying? How many do you have? Where do they live?
- Measure the effectiveness of your keywording. What are your visitors searching for? What are your top keywords? Are people searching for content you don't have?
- How does featuring content on your homepage affect views?
- Does different content drive better pageviews and time on site?
- How have external promotions (e.g. blogs, editorial placement, Facebook, Twitter, etc) altered historical traffic trends?
- Did your free photo shoot that you bartered in exchange for publicity really generate any traffic?
Analytics Interpretation Basics
Like any set of data, there is no magic in interpretation. Analytics provides us with a baseline of activity from which we can experiment to alter the trend information.
Dashboard
The dashboard gives us an overview of basic traffic patterns. Traffic on most sites typically yields a gently sloping curve during the week with peak traffic on Mondays, and decidedly lower traffic on the weekends. We should expect this pattern to recur unless we have some sort of promotional activity.
Because GA allows us to query by date range, we have the ability to really view trends over long periods of time. Our goal should be to increase or maintain the main metrics on our site, with the ultimate goal of improving "conversion." "Conversion" can be any outcome activity that you deem: calling you, e-mailing you, successful cart checkout, etc.
Visits
In marketing parlance, this is the size of your funnel, and is important because the greater this absolute number, the more chance of conversion that you have. If you are driving less than 1,000 visits per month, you're probably not leveraging your website as effectively as you could.
Pages/Visit
The more pages per visit, the more likely that you have an engaged visitor. You should strive to increase this number.
Average Time on Site
This should roughly correspond to your pages/visit. You'll notice that when the promotion began, there was a significant increase in "time on site," but the duration of the spike was brief.
% New Visits
Most photographer websites will have a high percentage of new visitors, compared to a service-based industry like banking. New visitors are not bad at all, but it serves to underscore the potential of SEO to affect traffic to your site.
Traffic Sources
There is no "right" ratio for traffic sources. In this example, we see that 23% of the site traffic is "direct," meaning the user knew the URL of the domain. This is instructive because we normally think that people know our URL and those visitors are the bulk of our traffic, so it might be surprising to find out that the majority of traffic is really coming from search engines in this example. Lastly, the absolute number of referring sites is important because it's an indicator of inbound linking, which is the most significant factor in search engine optimization. You should try to build this number over time.
If you have a high % of direct traffic, but low overall traffic (e.g. < 1000 visits/month), then you can probably leverage SEO more effectively to drive unsolicited visitors to your website. SEO is the most inexpensive (and probably underutilized) way to drive traffic.
Content Overview
Clicking on "view report" under the content overview will give us increased detail, but even in this truncated view, we can see that a relatively large chunk of traffic hits the homepage (13.86%) then disperses quickly to other parts of the site. This is not unusual at all.
Content: Keywords
The keyword terms that users are searching upon to find your site can be found in the Content->Keywords section of Google Analytics. Most sites have high keyword concentraion on the site name (e.g. "Joe Photographer"), which isn't surprising, but it's also uninstructive and non-actionable. Instead, look at the terms following your name to see what people are finding. You might find that an obscure image is highly optimized and driving lots of traffic. You might find that you're a Chicago Wedding Photographer, but in fact, none of those terms are yielding search results for you.
You need to determine which keywords are important to you and use tools like Google AdWords to determine if 1) there is search volume on the term, and 2) if the term is "ownable" through an SEO strategy. Some terms have too much competition for a single individual with a low-trafficked website to acquire.
Setting up Site Search
The Google Analytics Site Search option allows you to see what terms users are searching for on your website.
Follow Google's instructions for setting up your profile to track searches.
On the "Edit Profile Information" page, fill in the following fields:
- Exclude URL Query Parameters: ph,po,_bqH,_bqO,_bqG,_bqR
- Do Track Site Search
- Query Parameter: I_DSC
- Yes, strip query parameters out of URL
- Do you use categories for site search: No
Creating a Goal
Unlike a straight portfolio site, PhotoShelter gives you the ability to serve up e-commerce. Completion of a sale is a tangible goal that we can track through analytics. In this section, we'll show you how to track the following steps:- Adding items to the shopping cart
- Confirming the contents of the cart
- Entering shipping address (for physical fulfillments)
- Entering shipping methods
- Final confirmation & payment
Setting up a goal
From the Google Analytics overview page, click "Edit" next to your domain.
You can set up to four funnels, but we'll only set up one. Click "edit" next to the top position to start the funnel description.
On the Goal Settings page, fill in the following information
- Match Type: Regular Expression Match
- Goal URL: your customization URL with the following success path:
\/cart\/success\/.*
- Goal name: Whatever you'd like to name the goal
- Case Sensitive: leave unchecked
- Goal value: We set it to 0.0, but you might want to affix a price to the goal. See Google Analytics for more information.
- Step 1:
- URL: \/cart\/($|index|\?.*)
- Name: Cart Display
- Step 2:
- URL: \/cart\/shipping\/.*
- Name: Shipping Info
- Step 3:
- URL: \/cart\/ship-method\/.*
- Name: Shipping Method
- Step 4:
- URL: \/cart\/checkout\/.*
- Name: Cart Confirm
Viewing the Funnel
Once you've set up the funnel, you can go back to the "View Reports" section of Google Analytics. Click Goals -> Funnel Visualization.
The funnel visualization will show you how many people are entering the funnel and what percentage is converting at any given point. This data is not prescriptive, as there isn't much you can do to alter these conversion points. However, it is instructive in understanding your conversion rates. If your final conversion is 1% of the people entering the funnel, then you know you need at least 100 people to enter the funnel to complete a sale (Amazon had a conversion rate of 9.5% in 2007 and was a top 10 converting retail site).
ALERT: Change Suggested Following June 10, 2010 Site Upgrade
As of June 10, 2010 at approximately 12:01 am EDT, the structure of PhotoShelter website URLs will be changed to the following format:
http://yourname.photoshelter.comThis change will benefit you by keeping your brand first, shortening your website's links in general, and add clarity for your clients as a result.
Following the site upgrade, we suggest
that you make a change to your Google Analytics profile to support the
new link structure. This way, your account data will remain current.
Please note that if you are using a
CNAME in your Analytics, this action is not needed, but this would be
a good time to verify that cross-domain tracking code is properly in place for your site.
To make this change -- which you should not do until the new link structure is live on June 10, 2010 12:01 am EDT -- you should follow these steps:
- Head to your Google Analytics Overview.
- Click on the name of the account for your PhotoShelter website.
- Next to the profile for your PhotoShelter site URL, click the "Edit" button.
- In the Main Website Profile Information box on this page, click the "Edit" button in the upper right hand corner.
- Here, change the "Website URL" value from your existing site address (should be in the http://www.photoshelter.com/c/yourname format) to your new website URL, which should be in the format of http://yourname.photoshelter.com (substituting "yourname" in this link for the value you've defined for your site). If you don't know what your website URL is, you may find it in the first box on your Customize -> Website Settings page.
- Click "Save Changes". You're done! Sit back and enjoy your data.