Google Tag Manager Internal Traffic Filter icon

Google Tag Manager Internal Traffic Filter

by Semetrical

v1.1 Updated Jan 22, 2026 404KiB
CWS
17
Users
★ 0.00
0 reviews
#105755
of 207.4K
developer
#8955 of 18.1K

Description

Prevent internal traffic from polluting your Google Analytics data. This extension automatically marks visits from configured hostnames (like staging sites, localhost, or internal domains) as 'internal' traffic in Google Tag Manager and Google Analytics 4. Simply configure your internal hostnames (supports wildcards like `*.example.com`), and the extension will push a dataLayer message and set cookies when you visit matching pages. Use these markers in GTM triggers to block tags or filter internal traffic in GA4, ensuring your analytics reflect real user behavior. Advanced configuration (optional): - Traffic Type: override the default 'internal' value used for the traffic_type cookie and dataLayer key. - Developer ID: an optional user-provided identifier (stored locally in chrome.storage.local) that, when set, is added to a first‑party cookie (developer_id) and included in the page dataLayer (developer_id) on matching hostnames. - Debug Mode: when enabled, adds debug_mode=true (cookie + dataLayer) to help enable GA4 DebugView via GTM. Note: The extension does not send data to any external servers; it only writes first‑party cookies and dataLayer values on pages whose hostnames you configure.
Google Tag Manager Internal Traffic Filter screenshot 1Google Tag Manager Internal Traffic Filter screenshot 2Google Tag Manager Internal Traffic Filter screenshot 3

Reviews

Loading reviews...

Permissions (2)

Permissions

storage Can store data locally in your browser tabs Can see your open tabs and their URLs

Details

Version 1.1
Updated Jan 22, 2026
Size 404KiB
First Seen Mar 30, 2026