GA4 & Server-Side Tag Manager debugging helper. This tool helps debug your tracking setup with two key features: 1. It adds the…

Latest Version

Version
1.1.0
Update
September 26, 2024
Size
680KiB
Developer
Category
Users
181
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
Storage
DeclarativeNetRequest
Alarms
See more

sGTM - add X-Gtm-Server-Preview Header Extension

GA4 & Server-Side Tag Manager debugging helper. This tool helps debug your tracking setup with two key features:

1. It adds the X-Gtm-Server-Preview header to all requests. While there are other \"add header value\" plugins available, they can cause issues if left enabled, leading to unpredictable behavior when working on another sGTM. This extension includes an auto-deactivation feature: it automatically disables itself after one hour, ensuring a seamless and hassle-free debugging experience.

2. It adds a _dbg=1 parameter to all GA4 requests to enable debug mode for all GA4 requests, making it very simple to debug GA4.

TL;DR:
Add a sGTM preview header value to all requests or enable debug mode for GA4.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "sGTM - add X-Gtm-Server-Preview Header", "version": "1.1.0", "permissions": ["storage", "declarativeNetRequest", "alarms"], "background": { "service_worker": "worker/background.js", "type": "module" }, "action": { "default_popup": "screens/popup.html", "default_popup_width": 500, "default_icon": "assets/img/icon-disabled-48x48.png" }, "declarative_net_request": { "rule_resources": [ { "id": "ruleset_1", "enabled": true, "path": "rules.json" } ] }, "host_permissions": ["https://*/"], "icons": { "48": "assets/img/icon-disabled-48x48.png", "128": "assets/img/icon-disabled-128x128.png" }}
Read more

How to download and manually install sGTM - add X-Gtm-Server-Preview Header extension for Chrome

Looking for a way to install sGTM - add X-Gtm-Server-Preview Header extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install sGTM - add X-Gtm-Server-Preview Header extensions manually, this article outlines two simple methods to effortlessly install sGTM - add X-Gtm-Server-Preview Header extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download sGTM - add X-Gtm-Server-Preview Header extension and manually install through Drag &Drop

If you ever need to manually install a sGTM - add X-Gtm-Server-Preview Header extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the sGTM - add X-Gtm-Server-Preview Header Extension by clicking the "Download CRX" button on the website.

Look for the sGTM - add X-Gtm-Server-Preview Header extension you wish to install. Go to the website and download the sGTM - add X-Gtm-Server-Preview Header extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for sGTM - add X-Gtm-Server-Preview Header extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the sGTM - add X-Gtm-Server-Preview Header extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download sGTM - add X-Gtm-Server-Preview Header extension for Chrome and install in Developer Mode

This is another method to install sGTM - add X-Gtm-Server-Preview Header extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the sGTM - add X-Gtm-Server-Preview Header extension file

Select and download the sGTM - add X-Gtm-Server-Preview Header extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the sGTM - add X-Gtm-Server-Preview Header extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your sGTM - add X-Gtm-Server-Preview Header extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the sGTM - add X-Gtm-Server-Preview Header extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install sGTM - add X-Gtm-Server-Preview Header extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Adswerve - dataLayer Inspector+ Extension · Developer Tools 181 56 ★ 517KiB

icon

TagHound - Analytics/GTM/Pixel Debugger Extension · Developer Tools 181 63 ★ 1.77MiB

icon

GTM Sonar Extension · Developer Tools 181 14 ★ 15.94KiB

icon

ObservePoint Debugger Extension · Developer Tools 181 52 ★ 3.6MiB

icon

Datalayer Checker Extension · Developer Tools 181 33 ★ 93.13KiB

icon

dataslayer Extension · Developer Tools 181 80 ★ 417KiB

icon

dlPusher Extension · Developer Tools 181 1 ★ 56.75KiB

icon

GA4 Fixer Extension · Developer Tools 181 18 ★ 3.3MiB

icon

GTM Variable Builder Extension · Developer Tools 181 30 ★ 82.71KiB

icon

Consent Mode Inspector by InfoTrust Extension · Productivity 181 19 ★ 304KiB

icon

UET Tag Helper (by Microsoft Advertising) Extension · Developer Tools 181 25 ★ 216KiB

icon

GTM Plus Extension · Developer Tools 181 11 ★ 30.78KiB

icon

Da Vinci Tools Extension · Developer Tools 181 34 ★ 1.2MiB

icon

Analytics Debugger Extension · Developer Tools 181 211 ★ 300KiB

icon

Omnibug Extension · Developer Tools 181 50 ★ 1.35MiB

icon

GTMFixer - Google Tag Manager Enhancements Extension · Developer Tools 181 7 ★ 571KiB

icon

WASP.inspector: Analytics Solution Profiler Extension · Developer Tools 181 189 ★ 401KiB

icon

Tagbird Extension · Developer Tools 181 20 ★ 335KiB

icon

Pinterest Tag Helper Extension · Developer Tools 181 52 ★ 1.66MiB

icon

Redirect Path Extension · Developer Tools 181 194 ★ 6.06MiB

icon

Pixel Helper for LinkedIn Extension · Accessibility 181 3 ★ 63.7KiB

icon

GTM Helper Extension · Developer Tools 181 4 ★ 31.28KiB

icon

GTM Copy Paste Extension · Productivity 181 49 ★ 726KiB

icon

Crystal Ball - Automated Annotations and Insights Extension · Productivity 181 44 ★ 537KiB