Category : Analytics Setup
Do I need the Google Analytics tracking code on every page?
Attributing goals and conversions to marketing channels
On most websites, the conversion journey involves many different routes and across many sessions: few customers buy from the first advert. You may have heard of the ‘rule of 7’. In reality, it varies from maybe 2 or 3 touches for a $20 purchase and definitely more than 10 for an enterprise business service. Your company is buying prospects (or traffic) from a number of online channels, and in many cases, it will be the same potential customer coming from different sources. To be able to report on this in Google Analytics, we need to get the basic setup correct. Tagging campaigns for attribution The first step is to make sure that the different traffic sources can be compared in a multi-channel report are consistent and have complete inbound link tagging. Be sure to tag your campaign correct with our URL Builder. Some tools (such as Bing or Mailchimp) have options to turn on link tagging for GA - although it's buried in the settings. With many others, you will have to add the necessary ‘UTM’ parameters onto the link. Without this tagging, many sources will be misattributed. For example, affiliate networks could send referrals from any of thousands of websites which will appear under the ‘referrals’ channel by default. Facebook ads, since the majority come from the Facebook’s app, will appear under the ‘direct’ (or ‘unknown’) channel. From when full tagging is in effect, the channels report will start to reflect your genuine traffic acquisition source. But don’t expect a 100% match with other tracking tools – see our article on Facebook – GA discrepancies. Importing cost data The cost for any Google AdWords campaigns can be imported automatically, by linking the accounts, but for any third party campaigns, you will need to upload a spreadsheet with your costs on. The benefit is that now you can see the return on investment calculation update in real-time in the multi-channel reports. Model attribution The final step is to decide how you will attribute the value of a campaign if it forms part of a longer conversion pathway. The default for Google Analytics (and most others) is ‘last non-direct click’. That means that the most recent TAGGED campaign gets all the credit for the sale. If the user clicks on 5 Facebook ads, and then eventually buys after an abandoned basket email reminder, that email reminder will get all the sales (not Facebook). This attribution is what you’ll see in all the standard campaign and acquisition reports. You may feel that it is unfair on all the work done by the earlier campaigns, so ‘linear’ (sale equally credited to all tagged campaigns) or ‘time decay’ (more recent campaigns get more credit) may be a better fit with your businesses’ goals. Conclusion Multi-channel marketing performance attribution is not a luxury for the largest companies. It’s available to you now, with the free version of Google Analytics. It will require some setup effort to get meaningful reports (as with any measurement tool) but it has the power to transform how you allocate budget across a range of online marketing platforms. But if this still is not working for you then you may have a problem with cross domain tracking. Need a bit more advice or have any questions? Get in touch with our experts or leave a comment below!
Personally Identifiable Information (PII), hashing and Google Analytics
Why do you need cross-domain tracking?
How to trust your Google Analytics data setup
Google Analytics is a powerful tool… when implemented correctly. I can’t even count the number of times we've had enquiries from and spoken to companies who don’t trust the data in their reports because it's incorrect or incomplete. And it all comes down to wrong configuration and setup. Checking and amending correctly the very basics of your analytics setup will provide you with data you can rely on and an accurate foundation for further more advanced configurations, like Enhanced Ecommerce tracking. So here's a list of questions you should be asking whilst checking your Google Analytics (GA) property and view settings. This is assuming you're on Universal Analytics (analytics.js) so not all setup options may apply if your site is on Classic analytics (ga.js). I'll also cover a few common setup issues at the end. GA property settings Go to Admin > Property > Property Settings. Is your default URL set up correctly? The default URL is used in Content and in-Page Analytics reports to display page previews. Do you have a correct default view picked? By default, this will be the first view created at the time of initial GA setup. If you're using AdWords Express or Google Play, then you want to check the view here is the one you want to connect to either of the services. The default view will also show you all the custom and advanced segments you've created in other views. Have you set your industry category? Pick whatever matches your property most closely if you want to be included in the benchmark reports. Have you enabled demographics reports? Demographics and interests reports give you additional insight into your users. Recently I explained how to set this up in Google Analytics and Google Tag Manager V2. Do you need enhanced link attribution? Enable this if you have pages with multiple links that take people to the same destination or a page element that has multiple destinations, eg internal search. This will help with identifying which particular elements or links were clicked. In addition to enabling this in the property settings, you also need to add a line of code to your GA tracking code, or, if using GTM, toggle Enhanced Link Attribution to true in your pageview tag under Advanced Configuration settings. Should you link with your Search Console? Link your Search Console site with your Google Analytics property to see Search Console data in your GA reports, and access GA reports directly from the Links to your site and Sitelinks sections in Search Console. GA view settings Property settings sorted? Great, now go to View > View Settings. Is your view name descriptive? Use easy to understand naming to describe what the view is for, eg excluding admin, domains included, ecommerce data only. Have you set your default URL? Similarly to the property settings, make sure you use the correct default URL here to improve your Content and in-Page Analytics reports. Have you set a correct time zone? The beginning and end of each day for your reports is calculated based on the time zone you have set. If you need to update this, you may see a flat spike in your data caused by the time shift. Do you need a default page? Setting a default page is useful when you have two separate URLs loading the same homepage. Here you can configure those pages to be considered as the same URL. This will affect your reports so make sure you do this correctly Should you exclude URL query parameters? Specify any parameters you don’t want to see in your reports. I've found a blog post from Lunametrics useful for understanding when and how to exclude URL query parameters. Is your currency correct? Especially relevant for sites with ecommerce tracking for making sure that the reports show your order values and revenues in the currency you operate in, and not in $ that it converts to by default. Have you ticked bot filtering option? Whilst this option doesn't help with eliminating all of the spam referrals, ticking this box will exclude at least a few of them. To get rid of all of your fake referrals, here's a thorough guide on how to exclude them with two filters. Get yourself a cuppa if you're going to clean up your data. Does your website have a search function? Enabling the site search is useful for understanding what your website visitors are looking for. It should be pretty painless to set up if you have a query included in the URL, and we've covered the steps to set up internal site search tracking in one of our blogs. Other common setup issues Here are also a few very common setup problems that I keep coming across again and again. Have you got an unfiltered view? It's good practice to have an unfiltered view that you keep clean from any filters and customisation. This way you can always double-check your data if anything goes wrong in another view. Is your bounce rate less than 10% whilst your pageviews have doubled? This may be happening due to pageviews firing multiple times. You can use Tag Assistant plugin for Chrome to check if that's true. Are you getting referrals from your own domain and your payment gateway? This is skewing your data so checkpoints 3 and 4 on how to exclude referrals from your domain and payment provider. Tracking multiple subdomains in the same view? By default, you see only request URI in your reports without a domain, which isn't very helpful if you are tracking more than one domain in the same GA view. You can improve this by adding a hostname to URLs with a custom filter. Check Google's guidance for how to do it. Are you filtering out internal traffic? To minimise your data being skewed by internal colleagues or partner companies you may be working with, exclude their IPs with the help of filters. Are you on top of website traffic changes? OK, so this one isn't quite about the problem with the setup but if data has an important role in your business, you can make your analysis more efficient. Google provides you with the ability to set up alerts for important changes in your data, but our software does the work for you. Instead of trawling your data for hours or spending further time on configurations, you can set up alerts and personalised reports within minutes. Have you experienced other setup problems that aren't covered above? Let me know and I'll include them. Image Credit: Images courtesy of vectorolie and ratch0013 at FreeDigitalPhotos.net
Know who converts on your site with Google Analytics goals
Wouldn't you want to know how well people convert on your site? Setting up basic conversion goals will enable you to measure site engagement – based on time on site, destination page or particular events - and what drives that. Below I’ll cover the reasons why you should set up goal tracking in your Google Analytics, different types of goals available, goal value, and then explain how to set them up. So why should you track goals? Goals are great for tracking important actions that are crucial for your business and understanding how people convert on your site. Once you set up goals, you will be able to analyse conversion rates in the Goals reports. Conversion data will also appear in other Google Analytics reports, like the Attribution and Acquisition reports. This will help you identify which marketing campaigns and channels get users to complete the goals you have previously defined. The destination goal also allows you to set up a funnel to visualise the path people take through your site towards completing a purchase, signing up or another conversion. Seeing how people navigate through your site in a visual way makes it easier to identify where they drop off. If you see a lot of exits on particular pages, then review those pages to see if you can improve them to minimise the exits and guide more people towards converting. If you see a lot of people skipping certain pages, then your path to conversion might be too long or contain unnecessary steps. For more info on flow visualisation reports, check Google’s help pages. What kind of goals can you set up? You can set up a destination goal to track how many users reached a certain page, eg thank you, purchase confirmation or pre-order request pages. Then there’s a duration goal that tracks how many users stayed for a specific amount of time, eg for at least 15 minutes. You can also set up a pages/screens per session goal to see how many users view a specific number of pages during a session. An event goal is for when a user triggered certain events on the site that you have already set up, eg clicked on an ad, submitted a form or saved a product. What else should you know about goals? Goals have a few limitations in Google Analytics: You can set up only 20 goals per view. If you need more, you can either create another view or repurpose existing goals. Goals apply to the data after you’ve created them. Goals can’t be deleted; but you can turn them off if you don’t need them. Use names that make sense so that anyone using your Google Analytics data can understand what the goals are for. Keep track of when you changed the goal by adding annotations to your reports. Do you need the goal value? Setting up a goal value is optional. You should set a monetary value for your goal when you want to track how much you earned from converting users and you’re able to calculate the worth of each lead. If you know that 5% of people who sign up on your site end up buying your service, and the average value of your service is £1000, then you can set £50 as your goal value (5% of 1000). When setting up a goal value, make sure the currency corresponds to what you use on the site or are familiar with. You can do this in Admin > View > View Settings. Are you an ecommerce site? If you’re an online retailer, then instead of using goal values you should be using Ecommerce or Enhanced Ecommerce tracking for Google Analytics. These reports will be much more insightful for tracking your store performance. So how do you set up goals? You need to set these up at the view level. Go to Admin > View > Goals, and click New Goal. Google has added some goal templates that you can choose from if you’re happy to use their naming. Alternatively, select 'Custom' at the end of the list and click ‘Continue’ to the goal description. For your goal name use something that is easily understood by others using your Google Analytics account, and the goal details will depend on the type of goal you're setting up. Setting up destination goal You can follow the blog I've previously written on setting up the destination goal and funnel. Setting up duration goal Click ‘Continue’ and specify the minimum amount of time you want to track. Setting up pages/screens per session goal Here you specify the number of pages someone viewed per session. Setting up event goal Set the event you want to track as a goal by using exactly the same category, action, label and value as in the event. If you want to use a goal value here, you have the option to use the event value you’ve already set. Verify your goal - click ‘Verify’ to check if it works. If the goal has been set up correctly, you should see an estimation of the conversion rate your goal would get. If you’re not getting anything, check each step carefully and Google's help pages on why your conversion tracking might not be working. Once you’re happy with the setup, click ‘Create goal’ and check the results in your analytics reports after a few days or weeks, depending on the amount of traffic you get. If you need help with the setup above or have another way of using goals, I’d love to hear about it in the comments below.
Why should you tag your campaigns for Google Analytics?
Google Analytics custom campaign tracking is essential for measuring the effectiveness of your marketing efforts. Let's say you were promoting your new ebook across social media and emails, how would you know which social post or email blast was the most effective? That’s where Google campaign parameters come in (also referred to as UTM). You simply add them to your URLs, which are then used in your web-based, email or ad promotions. When someone clicks on them, the custom information linked to these URLs via parameters is sent to your Google Analytics reports. If you don’t tell Google the specifics of your campaigns, then they will be rolled into existing buckets without the ability to identify them. This most commonly happens with emails and social posts that by default get classified as referrals. But once you start tagging your campaigns, you will see those social initiatives and email newsletters separated by campaign names and other information you provided. Tagged up links can also be used in email signatures, listings on other sites and social media profiles. By using campaign tagging you will understand better which URLs have been most effective in attracting users to your site or content, for example you'll see which: Email newsletter brought you the most traffic Ad was best at bringing you converting visitors Facebook post engaged the most users If you have goals set up, then you will also see how visitors from individual campaigns convert on your website. Using custom campaign data in reports You can access custom campaign data in Acquisition > Campaigns > All Campaigns report, where you will see your various campaigns based on the parameters used in URLs. You can also switch between viewing your campaigns by source and medium tags that you’ve used. Another report you can use is the Assisted Conversions (under Conversion > Multi-Channel Funnels) that summarises how your channels, or campaigns, contribute to your conversions. To see the campaigns, you need to click on 'Other', find 'Campaign' and select it. Now you will see data related to your campaigns only. Check Google's guidance on understanding the Assisted Conversions report. Be consistent Consistency is very important in campaign tagging so make sure that the parameters you use in your campaigns are exact. For example, if you use email, Email and E-mail, Google Analytics will record them as three different mediums in your reports. So, set your naming conventions and if you have a bigger team, then agree on what they are and make sure everyone is aware of them. What tags can you use in your campaigns? There are five types of information you can pass on with the tags/URLs. Three of them should always be used: Campaign source (utm_source) - identifies where the traffic comes from, eg newsletter, google. Campaign medium (utm_medium) – advertising or marketing medium, eg cpc, email. Campaign name (utm_campaign) – what the campaign is called whether it's a promo code or specific promotion, eg winter sale. The other two, whilst not required by Google, are useful for tracking additional information: Campaign term (utm_term) - identifies paid search keywords if you’re manually tagging your paid keyword campaigns, eg red shoes. Campaign content (utm_content) – helps differentiate between same type of content or links, useful when doing AB testing or using multiple calls to action, eg logo or text link. How to tag your campaigns? It’s easier than you might think. You can do it manually if you know how, but the available URL builder tools online make it super simple to tag your links correctly. But if you're using Adwords or Bing then you can enable auto-tagging so you don't have to worry about tagging them. For websites use the Google URL builder tool to append URL parameters. For Android, use the Google Play URL builder tool to append URL parameters. You also must have Google Play Campaign Attribution set up in your Android SDK. For iOS, use the iOS Campaign Tracking URL Builder to append URL parameters. You must use Google Analytics iOS SDK v3 or higher for this to work. For manual tagging, you need to enter a question mark after the URL and before adding your parameters. Then pair up the parameters with their values, eg utm_source=newsletter, and separate campaign parameters with an ampersand. After the question mark, parameters can be placed in any order. You'll end up with a link that'll look something like this: http://www.littledata.io/?utm_source=newsletter&utm_medium=email&utm_campaign=welcome, which is ready for use in your promo activities. Auto-tag your campaigns To make campaign tracking and tagging simpler, we have created a tool in Google Sheets that automatically creates a tagged up link. You'll need to fill the values for parameters and the formula will do the rest for you. To use it, you'll need to make a copy to store in your own Drive (via File option). Get campaign tracking sheet with URL builder Got questions? Comment below or get in touch!
How to set up demographics and interests reports in Google Analytics
Demographics and interests reports in Google Analytics give you additional insight about your users, allowing you to do analysis based on age, gender and interest categories. You get a much better idea of who your users are and the setup is so quick to do, there's no reason not to. To get this information, you need to do minor tweaks to your Google Analytics and Google Tag Manager. Those changes will allow Google to share anonymised data about your site or app visitors, and once set up, you can use this information to understand the behaviour patterns of your users by different profiles. You will be able to see: If a particular age group converts more Whether you get more visits from males or females from a particular country or city If your users are more into travelling, movies or social media You'll also be able to: Build remarketing lists Build segments for more detailed information about your users Target your ads to specific users What reports will you get? Demographics Overview: snapshot view of your users by age and gender Age: Acquisition, Behaviour and Conversions metrics by age group (below 18 are not included) Gender: Acquisition, Behavior and Conversions metrics by gender Interests Overview: top 10 interests of your users in 3 areas: Affinity Categories, In-Market Segments and Other Categories Affinity Categories (reach): view of users by their lifestyle with Acquisition, Behaviour and Conversions metrics broken down by Affinity Categories In-Market Segments: view of users by their product-purchasing interests with Acquisition, Behaviour and Conversions metrics broken down by In-Market Segments Other Categories: more specific view of users with Acquisition, Behaviour and Conversions metrics broken down by Other Categories How does Google get this data? Google collects demographics and interests data from the third-party DoubleClick cookie for web traffic and anonymous identifiers for mobile app activity, like the Android Advertising ID and the iOS Identifier for Advertisers. But Google is unable to collect this data if the cookie or anonymous identifier isn't present, or if there's no profile information available. As a result, this data may only be available for a subset of your users. This will be shown on the report as a % of traffic the report represents. When is threshold applied? There are occasions when data is withheld from your reports to ensure the anonymity of users. For example, this might happen when you don’t have enough data for a particular age range or gender. When the threshold has been applied, you will see a notification below the report title. 3 simple steps to set this up 1. Enable the feature in Google Analytics Go to Admin > Property > Property Settings. Scroll down to Advertising Features, and set the option to Enable Demographics and Interests Reports to ON. Now save. 2. Enable the feature in Google Tag Manager Go to edit your GA pageview tag > Configure Tag. Under the tracking ID, tick the Enable Display Advertising Features box. Save the tag, and you've got one last step to do. 3. Enable the report in Google Analytics For this go to Audience > Demographics > Overview report. Click Enable, and you're all set. You should see your demographics and interests data within 24 hours of enabling the feature. We also provide consultancy services if you need help with more advanced setup. Further reading: Tracking registered users with Google Analytics and GTM V2 How to use demographic targeting in AdWords
Subscribe to Littledata news
Insights from the experts in ecommerce analytics
Get the Littledata analytics app
Complete picture of your ecommerce business. Free Google Analytics connection, audit and benchmarks.Sign up