How to Connect Stripe Checkout to Webflow

Note: a few reports below say that this method does not work. I’ll update this if I find out why. Sorry for the inconvenience. I was recently helping a friend hook up Stripe to a new Webflow-based subscription ecommerce site, and found that the documentation wasn’t particularly straightforward. So, in this guide, I’ll walk through … Read more How to Connect Stripe Checkout to Webflow

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. CONTENTS BackgroundPrerequisite: Create a Data Layer Variable for the Products … Read more Leverage Enhanced Ecommerce Data Layer for Marketing Pixels

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 Set up Custom Dimensions using GA, GTM, and the Data Layer

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 Track GA Onsite Search Without URL Query Strings

Useful Custom JavaScript Variables for Google Tag Manager

This post shows some useful Custom JavaScript Variables for Google Tag Manager. #2 and #3 require modification for your own site, while the others can be plugged in directly. Add Custom JavaScript Variables by navigating to Variables > New > Custom JavaScript. CONTENTS #1 Value of the Closest Parent ID#2 Text of the Closest Specific … Read more Useful Custom JavaScript Variables for Google Tag Manager

GTM dataLayer.push Examples (Standard, Ecommerce, Advanced)

This post shows four examples of using the dataLayer.push method to pass in extra metadata to Google Tag Manager (GTM) via Variables. #1 Standard GTM Data Layer Push Syntax #2 GTM Data Layer Push with Array #3 GTM Data Layer Push with Nested Key-Value Pairs #4 GTM Data Layer Push with Nested Arrays #1 STANDARD GTM … Read more GTM dataLayer.push Examples (Standard, Ecommerce, Advanced)

Collect Enhanced Ecommerce Values into GTM Variables

Setting up Enhanced Ecommerce tracking via Google Tag Manager & Google Analytics generally involves creating a data layer that contains all the relevant values, as described here: https://developers.google.com/tag-manager/enhanced-ecommerce#purchases These same values are often required to set up other marketing and analytics tags. For example, the Facebook conversion pixel looks like this: <script> fbq(‘track’, ‘Purchase’, {currency: “USD”, … Read more Collect Enhanced Ecommerce Values into GTM Variables

Track Popular Blog Tags and Categories in Google Analytics

If you have a blog or work with content, you will likely want to know which type of posts are viewed most frequently by your readers. Google Analytics provides a lot of options for tracking content: it will show you what specific posts were the most viewed in the Top Pages report, allows you to … Read more Track Popular Blog Tags and Categories in Google Analytics

Send Google Analytics Client ID with Contact Form 7

This guide describes how to integrate the Google Analytics Client ID with the Contact Form 7 plugin for WordPress. No additional plugins are needed, though you will need to have Google Tag Manager available on the form page. While this post focuses on Contact Form 7 and the GA client ID, more generally this is a … Read more Send Google Analytics Client ID with Contact Form 7

Quickstart Guide to Google Analytics Clickstream Data

This post provides downloadable Google Tag Manager (GTM) scripts and a walkthrough of the necessary steps for getting clickstream data out of Google Analytics. This clickstream data already exists behind the scenes; every time a user takes a tracked action on your website, like viewing a page or clicking a button, the data about that … Read more Quickstart Guide to Google Analytics Clickstream Data