Leverage Enhanced Ecommerce Data Layer for Marketing Pixels

This post contains scripts that you can use as Custom JS Variables in Google Tag Manager. These scripts all target the quite specific (yet common) use case where a site already running Google Analytics Enhanced Ecommerce now needs to run additional marketing or analytics tags. Related post: Collect Enhanced Ecommerce Values into GTM Variables CONTENTS … Read more

Set up Custom Dimensions using GA, GTM, and the Data Layer

Adding a custom dimension to Google Analytics involves several interconnected parts: the data layer, tag manager setup, and admin settings in GA. This post walks through each step of the process to show how they fit together. CONTENTS Step 1: Push Values into the Data Layer Step 2: Set up Custom Dimensions in Google Analytics Admin … Read more

Remove fbclid Parameter from GA Reports

In late 2018, Facebook began appending “fbclid” query strings to the ends of all outbound URLs originating from Facebook’s site. These URLs take the format &fbclid=IwAR0Ylspg9Zo1-4JLuy5L3N7RhNTHg5BETDMlsQkUST8QC1JCo3iC6-54_PQ, and are appended to all outbound content, both FB ads as well as organic posts. This post will show you how to remove this parameter from your Google Analytics … Read more

Track GA Onsite Search Without URL Query Strings

Google Analytics provides a super-easy method of tracking onsite search keywords: simply identify which query string (aka parameter) holds the onsite search term for your site, and enter that value at Admin > View > Site Search Settings. You can find your search query string by performing a search on your site and checking the … Read more

Extend Google Analytics: Use Transaction Data to Create a Revenue Histogram

A histogram is a type of chart that visually shows the distribution of data. It’s useful when looking at the average or median of a data set, to understand whether that data point is common or not. For example, an ecommerce dashboard will typically include an Average Order Value metric. Say this metric is $50. … Read more

Event Tracking Naming Strategy for Google Analytics

HOW TO NAME EVENTS IN GOOGLE ANALYTICS This post describes one proven naming strategy for Google Analytics event tracking. Event naming is critical for using Google Analytics event reporting hierarchy and drill-down structures. With a good naming system it will be easy for users to identify events they’re interested in and break them down by where … Read more

Content Marketing Analytics: Conversion Rate by Page

While Google Analytics provides many reports and metrics designed to evaluate the effectiveness of content marketing, there is no report showing the conversion rates of specific posts or pages on your site. For example, if you’re tracking registrations on your site, you may want to know which specific posts are associated with signups, even if … Read more