Académique Documents
Professionnel Documents
Culture Documents
Having this said and as you most surely are in control of your
business, there is no sense in telling you that you need to focus on
trial downloads, converting them into sales and providing good
support for existing customers. However, we decided to help you
with tracking all of these events by using a widespread free tool,
available on the internet, which really gives you an insight of your
online business.
2
Table of Contents
3
1. Setup Google Analytics for your website
Google Analytics (GA) may not be the only tool available for
advanced traffic analysis but it’s one of the most used worldwide
(see study). When we decided to write this white paper, we
started from the following facts:
Most of the software vendors using the Avangate eCommerce
platform also use Google Analytics for traffic trends on their
website
All vendors are interested in getting all their user behavior in
one place, from visiting to purchasing and even downloading
data, so correlations are more obvious and full of actionable
insights.
4
would be to know how different segments of users behave on your
shopping cart, like from organic searches compared to paid
searches, and why some have a bigger shopping cart
abandonment rate than others.
You will have to add your website to Google Analytics, which will
provide a tracking code to add to all the web pages within your
site. Google supplies two different tracking codes; you should stick
with the new one, called ga.js as Google will most probably stop
providing support starting 2009 for urchin.js.
In case you already have the Google Analytics code installed, look
in the source code of your website for the tracking code or any of
the lines:
5
var pageTracker = _gat._getTracker("UA-XXXX-XX");
or
_uacct = " UA-XXXX-XX ";
6
Note: If you have already installed the tracking code on your
website, please replace it with the one provided through Step 2 of
the Avangate CPanel Web Analytics Wizard.
If you use other 3rd parties shopping carts use the following code
for your website:
Make sure you add the tracking code on all pages of the website in
order to avoid any errors or inaccuracies in the gathered data.
Here is a cool tool to check if all your pages have Google Analytics
tracking code installed properly: http://www.sitescanga.com/. You
can also try the WASP tool crawling option to check how well the
tracking code has been installed.
7
2. Define Goals for your website and online activity
When you started your business you surely had goals set up on
your mind. Think of them and try to find out what are the
indicators that would make you say… Hey, this is what I wanted!
8
Tracking Downloads
Now that you have Google Analytics installed, finding out how
many users click on a download link is not that difficult. There are
two possible scenarios of tracking this action that we met so far,
depending on the way your website is structured:
Just add the following JavaScript for the "on click" event of the
download triggering link:
For using this hack, Google informs us: if your pages include a call
to _trackPageview, your Analytics tracking code must be placed in
your HTML code above any of these calls. In these cases the
tracking code can be placed anywhere between the opening
<body> tag and the JavaScript call.
9
Scenario 2: Users click on a download file link and land on a
"Thank You for Downloading" page.
You don’t need to insert any more code inside your website, as the
number of users viewing this page is equal or almost equal with
the numbers of users starting the download.
Note:
In case you implemented automatic start of the download by using
JavaScript, don’t forget to take into consideration it may be
disabled for some users, so make sure a Download Now link to
start the download is highly visible no matter what.
If you have several software products for download, make sure the
“Thank You for Downloading” landing page has a different URL for
each software product.
Having the same URL for all of your software products’ download
page will get you nothing else but the global number of downloads
on your website.
If you can’t decide upon one of the above methods, the best way
to choose the most efficient option is to A/B test it , to see which
one of them offers the best results. Google Website Optimizer
helps you do A/B and Multivariate experiments with no cost
whatsoever.
10
For the second scenario, to go even further, label all your
visitors that downloaded your software. This way, when looking at
your Google Analytics data, you will be able to see how many
times a user that downloaded your trial returned to the website
and what sections / pages were of interest for him. To do this, you
can modify the body tag on the Thank You for Downloading page:
You can find more details on how to set labels for visitors in the
Google Analytics Support Center .
11
Tracking Sales
First, make sure you have the right tracking code on your website.
If you haven’t modified your tracking code with the one provided
by the Avangate CPanel Web Analytics section, please do so now.
12
How to do that? It’s simple: add exactly
the same code you have added to your
website within all your shopping cart
templates files, just as stated by Step 3
or the Avangate Web Analytics Wizard.
Once inside this section, access all the template files you have
created for your shopping cart and add the tracking code just as
shown in the bellow image.
13
Please make sure all the template files have the tracking code
installed, as leaving only one file aside can create accuracy
problems in the data you receive.
However, the tracking is still not 100% accurate. Let’s say the
user just arrived from Google while searching for your product
name. So far, for Google Analytics, everything is crystal clear.
However, when the user clicks on the Buy Now button on your
website and arrives to the Avangate Shopping Cart, Google
Analytics gets troubled. Even if he knows that it’s the same user
that has just been on your website, going from your site to the
Avangate Shopping Cart will make him think the your website is
the source of the user’s visit. Of course, that is not true as the
user came through searching on Google.com for your software
product.
If you don’t take any measures at this point, all the sources for the
conversions will be referred to your website by Google Analytics,
and that is not correct.
14
Fortunately, Google provides a little hack to make this work. So, in
order to help Google get all the data about your visitors, you need
to add the following code to all your Buy Now links or any other
links that send the user to your shopping cart pages.
If you are using forms in order to send users to the shopping cart,
you need to modify your form source code to look like this (add
the “onsubmit” Javascript action):
it should be modified in order to look like this (add the “onclick” Javascript
action):
<a href="https://secure.avangate.com/order/product.php?PRODS=1"
onclick="pageTracker._link(this.href); return false;">Buy Now</a>
The above hack helps Google Analytics (GA) copy all the user
details from your websites’ cookie to the cookie set up on the
shopping cart.
<form name="name" method="post"
onsubmit="pageTracker._linkByPost(this)">
So, now, even if the user jumped from your website to the
shopping cart, Google Analytics will know that he has arrived
initially from the search engine. If he finishes a transaction, GA
will be able to correlate that transaction to the Google keyword
that brought the user to your website.
15
3. eCommerce Analytics Data
This step is the one that probably many of you are most interested
in: How can Google tell you the profit that a certain keyword or
referrer is bringing you?
Knowing this will definitely help you find out how to better invest
your budgets in your marketing campaigns. Will it be Paid
Advertising, organic SEO or maybe getting as many reviews from
bloggers as possible? This is the moment to find out.
First of all, you need to let Google Analytics know that you are an
eCommerce website so it will activate this function for you.
16
Figure 5 – Activating eCommerce tracking in Google Analytics
<script type="text/javascript">
pageTracker._addTrans(
myOrder.refNo, // Order ID
myOrder.idAffiliate, // Affiliation
myOrder.totalPriceUSD, // Total
myOrder.taxUSD, // Tax
myOrder.shippingUSD, // Shipping
myOrder.city, // City
myOrder.state, // State
myOrder.country // Country
);
for(i = 0; i < myOrder.productsInOrder.length; i++)
{
pageTracker._addItem(
myOrder.refNo, // Order ID
myOrder.productsInOrder[i].id, // SKU
myOrder.productsInOrder[i].name, // Product Name
myOrder.productsInOrder[i].category, // Category
myOrder.productsInOrder[i].priceUSD, // Price
myOrder.productsInOrder[i].quantity // Quantity
);
}
pageTracker._trackTrans();
</script>
17
The After Sales Message section was
designed by Avangate in order to
customize the way the “Thank you for
purchasing” page will be displayed to the
user. All the code added to this page will
execute only when a user will finish a
purchase.
Figure 6 (up) –
Figure 7 (left) –
18
Figure 8
The customized
Google Analytics
tracking code
inside the After
Sale Message; it
must be placed
above any other
code in the page.
You will get all the data within your Google Analytics Account. The
eCommerce section in Google Analytics is active and is gathering
data from your sales. Just after a few days of transactions, you’ll
be able to see something very similar to this report:
19
Figure 9 – eCommerce Reports as seen in Google Analytics.
20
4. Analytics and User Behavior
At this point, everything is in place for gathering all the data from
your website and shopping cart, but just owning the data is not
going to boost up your sales.
Please notice that the insights are unique for every website and
software business, so the above are just pure examples.
21
What is you conversion rate for purchases?
When you started your online business, you probably had many
goals in mind, but there is one we are sure we can guess:
Increase your sales.
It’s time to see in real time how this happens, so you don’t have to
wait till the end of the year or the semester to see how you are
doing.
A valuable report you’ll get is to see why your sales increased and
decreased over time. Maybe we’re overreacting a little, as Google
Analytics will never be able to answer the “Why” question, but it
will give the hint towards the “guilty” factors. From there,
answering the Why question is just a matter of testing or
observations.
So, let’s set up the first Conversion Goal tracking under Google
Analytics. Go to your website profile settings and, under the
Conversion Goals and Funnels section, click the edit link:
22
Setting up Purchase Conversion Goals
For purchases a conversion will occur every time a user ends up
on the Finish Purchase page on your shopping cart. Here is how
you set up a Conversion Goal:
23
Figure 12 – Setting up funneling steps for monitoring abandonment rate through
the Avangate shopping cart
24
Having this done, a brand new report is going to be generated
under your website’s Analytics data. Click on the Conversion Goals
menu item under your website reports and you will get a report
that looks like this:
25
Figure 14 – Funneling overview for completed transactions in Google Analytics
26
On the left you can see the main entry points for a certain setup
step and on the right you have the main exit points within the
shopping cart steps. In the middle, you get all the data that stays
within your shopping cart from one step to the next one, until
users “touchdown” on your finish purchase page.
27
Even More Value
Figure 16 – The $index metric under the Top Content report in Google Analytics
28
calculated for all the pages on the websites that users visit before
buying.
You can deal with it in 2 ways. The easy but not so accurate way:
give the value of 1 dollar (or whatever value you consider right)
for every finished download.
The little bit more difficult but much more accurate way: calculate
how much a download values for you and setup that value for the
goal. How do you do that? The following chapter is going to focus
on this.
29
Shopping cart abandonment rate monitoring. You can
make customizations on the pages where the users
abandon the shopping cart in order to decrease this rate.
Sometimes, even a small change to colors and layout can
improve the user experience so he doesn’t get lost in the
process.
30
5. Tracking how many trial users buy your product
Knowing for sure will help you take the right decisions for
improving things. No matter how good they are, they can always
be better.
You need to build special links or a special landing page for all the
users that come from buying links within your software. The
special link method has usability advantages, as the users can be
taken directly to the shopping cart, without any intermediate
pages.
31
Google offers a 3-step wizard for building the special links. By the
third step, the application will generate a new link:
Figure 17 – Create special links with Google Link Builder for tracking buyers
coming from your software product.
If you already use special links for users coming directly from the
software links or buttons, include the above parameters.
32
6. Adding the first profile to your account
You can set up a profile for gathering data that only comes from
search engines, or that only comes from referrers. Ever interested
how new visitors vs. returning visitors behave on your website?
Ever wanted to ignore all the visits that come from your company
or home IP? We’ll get back to this later and for now we will
concentrate on creating a profile for tracking just the visitors
coming from your software product.
33
Figure 18 – Creating a new profile for your website in Google Analytics
At this point, the profile is going to gather data from all your
visitors. We need to filter and include in the profile only the
visitors coming from your software product.
So, create the following filter just like in fig. 19 and apply it to
your profile. We’ll assume that, just as shown earlier, the value for
the Campaign Source variable is going to be ‘software’. You can
name it as you wish; just don’t forget to be consistent when
applying the filter to the newly created profile.
34
Figure 19 – Creating your first filter in Google Analytics
Apply the Purchase Conversion Goals, just as you did for your
general website profile. Having all this set up in place just within
this profile, Google will show you exactly the number of purchases
that occur from users coming from your software.
35
7. How much does a Download value to you?
Divide that amount with the total number of downloads, and you
will get exactly the value of a download for your business. Take
this number and put it in the Goal Value box for Download
Conversions you set up earlier. Make sure to make this update for
all your profiles.
36
8. Segmenting is pure gold
37
First of all, create 6 new profiles (you can create up to 50 profiles
in Google Analytics) just as shown earlier in the document. Name
all the profiles according to the above 6 different segmenting
rules. Create a filter for each profile just as shown in the following
images:
38
Visits coming from AdWords paid advertising
Direct visits
39
Visits coming from a partner or a referrer
New visitors
40
Returning visitors
Every one of the above filters should be applied to its own profile.
However, here are a couple of filters that can be mixed with the
ones above, or be used as independent ones.
41
Tracking subdomains
42
There is also a little hack that will show you how to track the real
keywords that users are searching when clicking on your AdWords
ads. The following 2 filters go hand in hand with the Paid
advertising filter presented before. When applying them to the
selected profile, make sure you respect the following order:
1. Only Paid Search filter (presented above)
2. AdWords Advanced Filter – part 1
3. AdWords Advanced Filter – part 2
43
AdWords Advanced Filter – part 2
You can find out more information about the above filter at the
following address:
http://www.getelastic.com/exact-keywords-google-analytics/
Don’t forget to add the conversion goals you’ve set up for the
main profile to any profile you might create. After all, how
different segments of public convert on your website is what you
are after. Also, don’t forget to activate eCommerce tracking for
each of the profiles.
44
show on the dashboard the following reports: Top content,
Keywords, Top landing pages and Conversion Goals. Conversion
goals should be kept on your dashboard on all profiles.
It’s a good start for finding out how to act and increase your sales.
However, try not to fall in the pit of owning more and more data,
but not acting on it. Always think in the context. Always have the
website, search engine or partner website opened and try to
visualize the data that Google Analytics serves you.
Try to think like the user. Whenever you are ready to act, do it by
testing. If you discover that people don’t see the download button
very quickly, test by either making it bigger or by positioning it
better. See what results work better. Try Google Optimizer for
this. You can have all the testing data linked within your Google
Analytics Account.
45
9. Make Google Analytics better
46
reports from two profiles, there is an option to view the new
profile in a separate tab.
Try not to rely only on the data that Google Analytics serves you.
There are many tools that can definitely help you in getting to the
desired result: better understanding, more sales.
47
10. Cool tools to go along with Google Analytics
WASP
WASP is the Web Analytics Solution Profiler, a specialized Firefox
extension aimed at web analysts and web analytics
implementation specialists, who want to do quality assurance and
understand how their web analytics solution is implemented. It’s a
great plug-in that will help you debug any issues that might
appear in your websites tracking. We also recommend their blog,
which has great resources:
48
Run A/B experiments (compares the performance of
entirely different versions of a page)
Run multivariate experiments (compares the performance
of content variations in multiple locations on a page
simultaneously)
Lately, several Google Website Optimizer authorized companies
appeared on the market. Future Now has really valuable resources
on how to use Google Optimizer on their blog, Grokdotcom . For
instance the 10 Minute Guide to Testing with Google Website
Optimizer (PDF) is a very nice list with the most important things
about this tool. We also recommend another article: 101 tips for
Google website optimizer .
49
importance is the graphs, conducting comparative analyses for
different terms. You just have to insert some keywords, select the
region and the time you are interested in and voilà: you get a
comprehensive graphic with the search volume evolution.
Ad Preview Tool
Judging by its name, this is a tool by Google AdWords that just
previews the way your site will look in the Search Engine Result
Page (SERP).
What are the benefits of using this program? First of all, you’ll get
a hint of how your ad will look like, and secondly, you will see the
contextual placement of your ad, i.e. whether your ad has well
defined keywords. Thirdly, you get improved location targeting for
your ads. You can also refine the results page by adding location
attributes and values manually to the URL of the ad preview
page. Optional attributes include a target country,
longitude/latitude coordinates, regions, and cities. In the U.S., you
can also set a target ZIP code or designated market area (DMA).
Generally speaking, the Ad Preview Tool provides "clean" search
results page for a given keyword, domain, language and
geography. This way, you can monitor your local campaigns in
different areas (you shouldn't employ it for national campaigns).
Nevertheless, you should take into account the "relativity" of this
tool - the SERP won’t look the same at all times. For more details
about this tool, check out "Google's Ad Preview Tool Gotchas You
Should
50
Compete and Alexa
Compete and Alexa can provide good insights on how your
competition is standing. Follow them, learn from their mistakes
and improvements and make sure you are on top of things. For
any of the tools provided, context is very important. For example,
learning the approximate traffic of your competitors can be easily
linked to their back links. Use Yahoo Site Explorer to get access to
this data.
Try:
Google Webmasters Tools
Yahoo Site Explorer Center
Live Webmaster Tools
Crazy Egg
While Google Analytics has a
feature of showing the Website
Overlay with the links clicking
situation, unless some specific implementations are done, it’s
51
pretty much off target when it comes to provide actionable data.
Crazy Egg is a specialized tool that can provide a picture of where
people clicked on your site. This tells you what’s hot and what’s
not, so you can make changes that matter. It has a free service
plan, as well as paid ones.
iPerceptions 4Q
Avinash Kaushik introduced this permission based
on-exit survey that provides an easy to deploy, use
and analyze the framework, in order to get 4
answers that no website owner can live
without. Surveys are powerful and can yield much deeper
insights about the customer experiences on your website, helping
you get a broader image about your visitors’ behavior.
52
11. Great Blogs to Follow
53
The Official Google Analytics Blog
It's all about the latest news, tips, and resources straight from the
Google Analytics team.
54
12. Great Books to Read
While these 2 books will help you really understand what’s with all
that data you get from your analytics tool, Bryan Eisenberg from
Grokdotcom will help you take some actions and make those sales
hit the roof. And as one can never be 100% sure of the action he
takes, he recommends to “Always Be Testing”.
55
Did you find this ebook useful?
Can you think of any ways to improve it? Are there any other
subjects you would like us to approach?
56
About Avangate
The company’s offer includes an eCommerce platform incorporating an easy to use and
secure online payment system plus software marketing services and additional
marketing and sales tools such as an affiliate network, automated cross selling
options, software promotion management, real time reporting, 24/7 shopper support,
and the ARMS reseller management program specifically designed for software sales.
Avangate
Van Heuven Goedhartlaan 937, 1181 LD Amstelveen, The Netherlands
Tel: +31 208908080 Fax: +31 202031309
Email: info@avangate.com Web: www.avangate.com
.member of GECAD Group, delivering innovative IT solutions Worldwide since 1992
57