Meta: How Google Analytics Tracks Its Own Analytics

Working as a Google Analytics / Google Tag Manager consultant, it's common to navigate around the web with tools like the Google Analytics Debugger and Google Analytics Tag Assistant still active in the browser. These tools display information about every tracking call sent to Google Analytics' servers, allowing you to view and debug the GA implementation of ... Read more

Same web property ID is tracked twice

Google's Tag Assistant plugin is an indispensable tool for troubleshooting various Google tags like Google Analytics, Google AdWords, and Google Tag Manager; just install and navigate to your site to enable checks for nearly 300 possible issues. This post will describe how to fix of one of the most common issues reported by this plugin: ... Read more

Track Number of Search Results in Google Analytics with GTM

Tracking the number of onsite search results is useful for finding common searches for which few, or zero, results were returned, so that you can address gaps in your product or content offerings. This metric can also be used to analyze the correlation between search result counts and conversion rates. While the built-in onsite search ... Read more

Google代碼管理工具教學 | 加入GA事件追蹤

有許多你可能想追蹤的網站互動:滾動深度,圖片點擊,提交email地址,等等。透過Google分析 (Google Analytics, GA) 的事件標簽,這些都可以被追蹤,而這個代碼又可以透過Google代碼管理工具(Google Tag Manager,GTM)進行設置。 ❓ GTM 是個非常有彈性的工具, 允許各種潛在的標簽設計模式,就像一個光譜。其中一些模式完全使用GTM的內置自動事件追蹤,另一些模式主要依靠開發人員為數據層增加鍵值對,而另一些模式則位於中間的某個位置。 這系列文章分享了最常見收集網站互動數據的方法- 如何使用GTM將事件追蹤數據傳送到GA。 方法1(本文):GTM的內置互動追蹤(自動事件追蹤功能) Method 2: Custom HTML and JS Tags in GTM (英文) Method 3: Developer Pushes to a Pass-Through Data Layer (英文) Method 4: Combined Auto-Event & Data Layer (英文) 方法1:GTM的内建互動追蹤 優點: 這個方法的優點是,你不需要寫任何代碼或者使用工程師資源。在GTM,你可以全部DIY,這個方法可以來追蹤頁面上幾乎所有的元素。 缺點: 因爲這個方法依賴已經存在的頁面結構,如果界面改變,追蹤會斷掉。如果頁面沒有為標籤設置清晰的“錨”,或者你需要從站點的後端訪問某些值(例如使用者身份號碼),你仍然需要工程師的支持。 這個方法,需要每個組件都有標籤,所以你的GTM容器可能會變得非常混亂。 你需要使用好的命名和組織系統。 實施步驟概述 在GTM創建新的Universal Analytics代碼,使用Track Type = Event ... Read more

使用Google代碼管理工具(GTM)來更新 Youtube 的影片追蹤

在 2017 年九月,Google 在它的代碼管理工具(Google Tag Manager, GTM) 中發佈了內建 YouTube 影片追蹤的功能。如此一來,要在你的 YouTube 影片裡設定 Google 分析的事件追蹤(event tracking) 變得超容易。這篇文章會一步一步介紹如何將 YouTube 影片追蹤加進 GTM 裡,你也可以直接跳到文章最後面去下載然後匯入預先配置好的設定到你自己的GTM容器裡 簡介 YouTube 影片追蹤讓你可以追蹤你網站裡所有使用者與 YouTube 影片互動過程,包括播放次數、暫停次數、觀看 10% 的內容、觀看 25% 的內容、完整觀看... … 等等。 步驟1:設定一個YouTube影片的觸發條件 點擊觸發條件 》 新增 》觸發條件類型(Trigger Type) = YouTube Video 步驟2:選擇觸發條件的設定 這個内建YouTube觸發條件有幾個可以設定的選項。預設是Start 和 Complete,但你也可以追蹤像暫停(Pause)和進展(Progress)等等。我建議打開所有的追蹤選項。 如果你選“進展”,你可以選百分比(觀看影片的百分之幾)或者時間門檻(觀看多久)。在這裡我們會選百分比,追蹤25%,50%,和75% (100% 會被Complete選項自動的追蹤) 我們也會點選“Add JavaScript API support to all YouTube videos” ... Read more

YouTube Video Tracking with Google Tag Manager

In September 2017, Google released native YouTube video tracking in Google Tag Manager (GTM), which makes setting up Google Analytics event tracking for YouTube super easy. This blog post shows the steps to add YouTube video tracking to GTM, or you can skip to the end and download and import the pre-configured setup into your ... Read more

GA Event Tracking in GTM - Combined Auto-Event & Data Layer

This is the fourth and final post in a series on design patterns for tracking events in Google Analytics (GA) using Google Tag Manager (GTM). This pattern combines developer pushes from the data layer with tags and variables in GTM. It describes the case where a single tag is set through a combination of data ... Read more

Archive Data Add-On for Google Sheets

The free Google Sheets add-on Archive Data helps store snapshots of historical data in your Google Sheets reports and dashboards. It allows you to set a schedule to paste from row or column X to Y, automatically creating a record of your original data. Example:You have a monthly dashboard that uses the "Google Analytics spreadsheet add-on" ... Read more

GA Event Tracking in GTM - Pass-Through Data Layer

This is the third post in a series on design patterns for tracking events in Google Analytics (GA) using Google Tag Manager (GTM). This third pattern is a developer-focused implementation pattern where your site developers push all the required information into a data layer. This method is sometimes referred to as a "pass through" method. ... Read more

GA Event Tracking in GTM - Custom HTML and JS

This is the second post in a series on design patterns for tracking events in Google Analytics (GA) using Google Tag Manager (GTM). This second pattern involves adding JavaScript through a Custom HTML tag. GTM is a very flexible tool, opening up many potential implementation design patterns for tagging. There is a spectrum, where some ... Read more