Category : Google Tag Manager
Do I need the Google Analytics tracking code on every page?
Littledata's Shopify connection is now using gtag and GTM data layer
How to stop Google Tag Manager being hacked
How to set up Enhanced Ecommerce tracking via Google Tag Manager
Enhanced Ecommerce (EE) is a Google Analytics plug-in that provides merchants with better insights for the shopping behavior of users. Enhanced Ecommerce tracking requires your developers to send lots of extra product and checkout information in a way that Google Analytics can understand. So why use it? [note]Update: If you are using GA4, the new version of Google Analytics, Enhanced Ecommerce will be a bit different. Read more about GA4 for ecommerce[/note] Why use Enhanced Ecommerce? The main benefit of Enhanced Ecommerce (EE) over standard ecommerce implementation is the sheer number of valuable reports merchants have access to with EE. Enhanced Ecommerce is necessary to get complete checkout funnel reporting and similar reports in GA. Not only that, but merchants can segment data based on ecommerce events — which users visited your product pages, where the customer journey hit a roadblock (e.g. a customer pondered a product but didn’t add it to cart, etc.) or during which steps of the checkout process a user abandoned their cart. It's essential to capture checkout funnel events, and EE helps with that. Tracking checkout funnel steps in Google Analytics doesn't just offer insight into the checkout journey, it also gives you the tools you need to set up custom funnels. Ultimately, this kind of data helps merchants zoom in on their sales funnel and alter the parts of the process that don’t lead to conversion. [subscribe heading="GTM data layer for ecommerce tracking" button_link="https://blog.littledata.io/help/posts/gtm-and-google-analytics-data-layer-for-shopify/" button_text="Learn More"] Enchanced Ecommerce implementation is no small feat, but it also depends on a number of factors — the size of your store, the number and type of Google Analytics custom dimensions you need to add, etc. Without question, Google Tag Manager is the simplest and best way to enable Enhanced Ecommerce in Google Analytics. If you already use Google Tag Manager (GTM) to track page views, you must send ecommerce data via Google Tag Manager. If you don’t already use GTM, it’s simple to set up: just activate Enhanced Ecommerce within your Google Analytics tags and use a dataLayer as an ecommerce data source. Just make sure the dataLayer contains all ecommerce data. Step 1 Enable enhanced ecommerce reporting in the Google Analytics view admin setting, under ‘Ecommerce Settings’ Step 2 Select names for your checkout steps (see point 4 below): Step 3 Get your developers to push the product data behind the scenes to the page ‘dataLayer’. Here is the developer guide. Step 4 Make sure the following steps are tracked as a pageview or event, and for each step set up a Universal Analytics tracking tag: Product listing view Product detail view Add to cart event Remove from cart event Checkout step 1 (views the checkout page) Checkout step 2 etc – whatever registration, shipping or tax steps you have Purchase confirmation Refund Step 5 Send the data to Google Analytics using the Data Layer. Instruct the tags to look into the Data Layer and pull the key-value pairs from the eCommerce object pushed most recently into dataLayer by selecting the correct Google Analytics variable. Step 6 This step involves checking the setup. After you have configured everything in place, you'll need to check your entire. What you should be looking for is: Are all the keys configured in the dataLayer.push() getting picked up and being sent to Google Analytics? Is the payload length too long? Is there a risk of data duplication with some hits? To debug these, you really only need three tools: GTM's own Preview mode, the Google Analytics Debugger browser extension, and Google Chrome browser's DevTools. Yes, there are plenty of other tools you can use, but these have proven to be more than enough in my own experience. [subscribe heading="GTM data layer for ecommerce tracking" button_link="https://blog.littledata.io/help/posts/gtm-and-google-analytics-data-layer-for-shopify/" button_text="Learn More"] Wrapping up Need some more help? Get in touch with our lovely team of Google Analytics experts and we'd be happy to answer any questions! At Littledata, our Google Analytics connection is the easiest way for you to automate GA for Shopify stores. With Littledata's app, you get: GTM and Google Analytics data layer that works automatically for ecommerce tracking, including checkout funnel tracking Seamless connections with apps like ReCharge and CartHook Raw data that remains available in Google Analytics or Segment Accurate analytics for Shopify with complete sales and marketing events captured automatically Try our Google Analytics app for Shopify free for 30 days on any plan. On Shopify Plus? Learn more about Littledata Plus.
6 reasons Facebook ads don’t match the data you see in Google Analytics
Cross Domain tracking for Eventbrite using Google Tag Manager (GTM)
3 reasons you should be using Google Tag Manager for Shopify
Anyone running a Shopify store knows there are hundreds of Shopify apps, integrations and connections in the ecommerce world that can help you grow faster. But from Google Ads, DoubleClick, and Facebook Ads to custom plugins, many tools require you to insert scripts on the pages that need tagging, and for a lot of store owners, this can be a huge hassle without asking for developer help. Google Tag Manager (GTM) can launch new tags with just a few clicks. As the world's most popular enterprise-grade tag management solution, Google Tag Manager supports both Google and third-party tags. We've written quite a few articles on Google Tag Manager (including a full FAQ) and how to use it, but until now, we haven't dug deep into why you should use GTM. Here are 3 reasons why: 1. Reliable and accurate ecommerce data When your tags aren’t working properly, they can hurt your site performance, resulting in slow load times, website unavailability, or a loss of functionality. That’s why it’s critical to have a tag management solution in place that allows you to quickly determine the status of your tags. Easy-to-use error checking and speedy tag loading in Google Tag Manager means you know for certain that every tag works. You can rest assured knowing your mission-critical data is being collected reliably and accurately! Your IT team will also feel confident that the site is running smoothly, so everyone's happy, even during busy holidays or the launch of a new campaign. Large brands have implemented GTM to launch their tags exactly for this reason: reliable and accurate ecommerce data. PizzaHut, Made.com, AgeUK and many other brands running on Shopify use GTM to manage their tags for Google and third-party platforms. Setting up Enhanced Ecommerce via GTM In Google Analytics, the main benefit of using Enhanced Ecommerce tracking (EEC) over standard ecommerce implementation is the amount of valuable reports you have access to as a merchant with EEC. But that's not all—you can also segment data based on ecommerce events, such as: Which users visited your product pages Where your shoppers hit a roadblock in the customer journey (e.g. a shopper viewed a product but never added to cart) Which step of the checkout process a shopper abandoned cart This kind of data helps you zoom in on your sales funnel and update the parts of the process that either stall conversions or slow down the path to purchase. Enchanced Ecommerce implementation is no walk in the park, but it does depend on a few things: How large is your store? How many Google Analytics custom dimensions do you need to add? What type of custom dimensions? etc. Without question, Google Tag Manager is the easiest way to enable Enhanced Ecommerce in Google Analytics — and we can help with that! Do you already use GTM? If you already use GTM to track page views, you must send ecommerce data via Google Tag Manager. If you don't already use GTM...It’s a simple setup: activate EEC within your Google Analytics tags and use a dataLayer as an ecommerce data source. Just make sure the dataLayer contains all ecommerce data! 2. Quickly deploy Google and third-party tags With so many tracking tools out there, marketers need flexibility—whether that’s changing tags on the fly or having the ability to easily add tags from other sources. In GTM, marketers can add or change their own tags as needed. Google Tag Manager supports all tags and has easy-to-use templates for a wide range of Google and third-party tags for web and mobile apps. Don’t see a tag listed? You can add it immediately as a custom tag. With this much flexibility, your campaign can be underway with just a few clicks. Even if you are using Google Ads (Adwords), Adroll, Facebook, Hotjar, Criteo or your own script, you can implement it with Google Tag Manager. Even if you're a publisher as, let's say, nationalgeographic-magazine.com, sell furniture at Made.com, sell event tickets as eventbrite.com or organise courses as redcrossfirstaidtraining.co.uk, GTM is the best way to organise all the scripts your partners provides. 3. Collaborate across the enterprise and make tag updates efficiently Collaboration across a large team can be a challenge. Not having the proper tools can stall workflows, which decreases productivity and efficiency. Workspaces and granular access controls allow your team to work together efficiently within Google Tag Manager: Multiple users can complete tagging updates at the same time and publish changes as they’re ready Multi-environment testing lets you publish to different environments to ensure things are working as expected I don't know about you, but every time I need to add a new script on my website, I hesitate out of fear my website will break and I wouldn't know how to fix it. I wanted a solution where I could add a script on my own, test it and then publish it without any developer help. And then I found Google Tag Manager. GTM lets you collaborate and work independently, at the same time, on the same website. You can publish a tag at the same time your teammate is creating an A/B testing experiment, all in the same GTM container. Adding Google Tag Manager to Shopify will help increase the value of your store and the accuracy of your Shopify tracking. GTM is free, it's reliable, and you can find plenty of how-tos on online so you can start using it right away. Google Tag Manager currently provides out-of-the-box integrations with: Google Analytics AdWords Conversion Tracking AdWords Remarketing (aka Google Ads, which we integrate with for accurate marketing attribution) DoubleClick Google Optimize (which we have a connection for!) Google Surveys Website Satisfaction - Google Surveys AdRoll Crazy Egg Hotjar LinkedIn Yieldify and more This out-of-the-box integration doesn't require any special knowledge. And, for any other script that you might have, we can walk you through the process of integrating Google Tag Manager and Shopify. Questions about GTM? Get in touch with our team of Shopify experts and Google Analytics consultants! Quick links Building funnels and triggering other marketing tags in GTM How to set up Enhanced Ecommerce tracking via GTM Google Tag Manager FAQ Connecting your Google Analytics store for accurate Shopify tracking
New interface and workspaces in Google Tag Manager
Google Tag Manager has recently had quite a revamp to its interface. Not to mention the addition of much talked about workspaces feature. Google Tag Manager (GTM) is a great tool that saves the development and implementation time, and the new drastic changes in any of Google’s tools can be quite a shock when you’re used to one way of workflow. The latest changes to the interface are radical but as with everything else, it just takes a short while to get used to. GTM still works the same, though. There’s no change to how your tags, triggers and variables are set up. So let’s see what's changed! Overlays on top of overlays This is the biggest change in the interface! Whether you’re creating a new tag or changing an existing one, you’ll be making your updates in overlays that slide in from the right hand side of the screen. Whilst this may be confusing initially, this is a great improvement on the previous workflow. Before you had to create your variables before the tag, or if creating the tag, save the progress, then create the variable separately, and then return to the tag to add in your variable. Too many steps! The new overlay doesn’t cover the whole screen and instead, leaves a bit of space on the left so you can see where you started from. Now that I’ve embraced the workspaces, I’ve realised how great it is to be able to do changes and updates without navigating elsewhere. Icons replace colours Previously, when viewing a list of tags all the triggers were colour coded so you could quickly see types of triggers used. Now, they’re all grey with icons at the beginning. I’ve previously found the colour coding very handy in quickly determining where the tags have been set to work. I’m not convinced that the icons will do as great of a job, but like with all of the changes – just embrace them and move on. List of variables They’ve lost the ‘enabled built-in variables’ section at the top. It used to have checkboxes so you could quickly enable or disable select variables. Now you have a list of built-in variables and for any changes, you have to click ‘configure’ button and then select which ones you want or not. And of course, you’ll have to do these changes in the overlay that slides over. The variables you've created previously will be in a separate list when you scroll down the page. If you want to view the details of the variable, then you’ll have to click on the variable and see its setup in the new overlay. Remember, remember… Do you tend to forget to specify your container's name and description? Now you get reminded to do so when you click to ‘publish’ your container and haven’t set the details. Timestamps I love it when a small change can make a big difference! This is that kind of change. When hovering over any relative timestamps in the triggers, overview or other sections, you will see the exact date and time of the latest change. What are workspaces? Workspaces are multiple containers that teams and users can work on without worrying about publishing someone else’s updates that may not be ready to go live. For someone working within a number of teams, like we do, this is a very welcomed update. After using it for a few weeks, I’ve already seen improvements in the speed of publishing updates. Now, fewer people have been blocked from progressing on their tags, which is really great! So now you can make your additions or amendments in a separate space and publish them when they're ready. What really happens when you publish is that anything new in your workspace gets added to the default workspace. This may include any updates to tags, triggers, variables, and any notes you may have added. If you can, stick to making smaller sets of changes within workspaces so you have a more robust version history, allowing you to trace updates and roll back to previous versions more quickly. You’ll get 3 workspaces in total so 1 default one + 2 custom workspaces, whilst 360 accounts get unlimited workspaces. Here’s how they work. To create a separate workspace click on the ‘Default Workspace’ in the left panel. In the new overlay click on the + icon in the top right corner. Now enter the name and description for the workspace so when you choose a workspace you can quickly see what's being worked on in there, or what the purpose of the workspace is. You can always refer to these for information on what was worked on or published as part of this workspace. A new workspace will always be created based on the latest GTM version and include the latest tags, triggers, and variables. If you're publishing a workspace that has conflicting updates with another workspace, then GTM will let you know and give you the option to resolve conflicts in their very easy to use conflict resolution tool. Once you publish the non-default workspace, it will be automatically removed. Better tag management You know how GTM has a number of tag templates for the most typical tracking needs, for example, AdWords and DoubleClick. These templates are very useful for creating and maintaining tags without codes, allowing to insert only required data, and making the whole process less error-prone. Well, they've expanded their selection with additional templates from vendors such as Bing, Twitter, Hotjar, Nielsen, Yieldify and many many more. I've been setting up a number of tags from the new vendors so I'm glad to see they've finally caught up with this. Here's a full list of supported tags is available in Tag Manager's Help section. So these are some of the most notable changes. My favourite ones are overlays, timestamps and workspaces for reasons I mentioned above. The overlays don't seem to have got much love when they were first launched, but it's definitely a step up on the previous workflow. Got strong feelings about any of the latest updates? Let me know what you love or hate in the comments below. Get Social! Follow us on LinkedIn, Twitter, and Facebook and keep up-to-date with our Google Analytics insights. Image credit: screenshot of 'conflict resolution tool' courtesy of Google Analytics Blog
Subscribe to Littledata news
Insights from the experts in ecommerce analytics
Try the top-rated Google Analytics app for Shopify stores
Get a 30-day free trial of Littledata for Google Analytics or Segment