Accessibility Helper Tag for Google Tag Manager
Audits current webpage accessibility using ACE and pushes results to dataLayer.
Add a new custom HTML tag and paste code. Fire on every page load or use any condition to take only a sample.
Custom Client Template for server-side Google Tag Manager
Send incoming GET requests to custom endpoint and optionally change and add parameters. Does not need any tags but optionally creates an event and runs the container.
Create a new client template in ssGTM and import .tpl file. Add a destination URL for your desired endpoint. The client will forward all incoming requests to the defined endpoint path (default: /fwd
).
Custom HTML Tag Code for Google Tag Manager
Creates a simple fake consent dialog to accept or decline all services defined in a "consentKeys" array. pushes consent to dataLayer in a Usercentrics-like format.
Einfache Demo zur Nutzung von Messages für die Kommunikation zwischen einem iFrame ("Frame Seite") und der beinhaltenden Seite ("Hauptseite") zum Zweck des zustimmungskonformen Trackings aus dem Kontext der Hauptseite heraus.
Mit dieser Methode ist es...
/* Template moved to final repo. | |
* @see https://github.com/elbwalker/sgtm-tag-bigquery | |
*/ |
// ==UserScript== | |
// @name Full Size GTM | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description adjust GTM user interface to full size use | |
// @author MBSL | |
// @match https://tagmanager.google.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com | |
// @grant none | |
// ==/UserScript== |
// ==UserScript== | |
// @name Kill GA4 Announcement | |
// @namespace http://tampermonkey.net/ | |
// @version 0.4 | |
// @description hide annoying announcement for GA4 in Universal Analytics UI (or any other) | |
// @author MBSL | |
// @match https://analytics.google.com/analytics/web/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com | |
// @grant none | |
// ==/UserScript== |
#--------------------------------------------------------------------------------- | |
# Beispielscript: Export von Daten aus Google Universal Analytics mittels R | |
#--------------------------------------------------------------------------------- | |
# Dieses Beispiel gehört zum Blogpost unter | |
# https://www.markus-baersch.de/blog/universal-analytics-daten-sichern-was-und-wie/ | |
# Damit es nutzbar ist: | |
# - R installieren: https://cran.rstudio.com/ | |
# - RStudio installieren: https://www.rstudio.com/ | |
# - Dieses Script in RStudio öffnen |
<?php | |
/****************************************************************** | |
Helper for locally cached GTM container: update local GTM cache and | |
enable optional live container loading for debugging | |
******************************************************************/ | |
//path and filename for local GTM container cache, relative | |
//to this PHP file or as absolute server path | |
$gtm_save_path = "../js/gtm.js"; |
<script> | |
/* | |
This code can be used as a Custom HTML tag in Google Tag Manager to create invisible "marker lines" | |
every x percent inside a container (selected via CSS selector) that holds the main content of a page | |
(like a blog post). | |
You can then use visibility triggers for the marker lines (selected by name or class) in GTM in order | |
to fire event tags for Google Analytics or any other tool to measure "content consumption" without | |
having to rely inaccurate scroll tracking. |