This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
//****************************************************************************************************** | |
//HTML-Tag für Piwik PRO Tag Manager zur zeitgesteuerten Auslösung von Visibility Trigger Events. | |
//****************************************************************************************************** | |
//Hinweise siehe https://gist.github.com/mbaersch/8cc6419f3a2b16f6c8641a828460d06e | |
//Optimierung: | |
//Die Funktion minimalReadingTime() kann entfernt werden, wenn feste Zeiten oder keine Mindestdauer | |
//benötigt wird. Ebenso kann dieser Kommentar entfernt werden, um nicht die Ladezeit des Tag Managers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
___INFO___ | |
{ | |
"type": "CLIENT", | |
"id": "cvt_temp_public_id", | |
"version": 1, | |
"securityGroups": [], | |
"displayName": "Fix ec.js", | |
"brand": { | |
"id": "brand_dummy", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* create unique event ids for specific events that "live" for a limited time | |
(default: 1 scond). | |
returns a value that consist of the key, a random number and a timestamp; | |
dot-separated. An existing value for a key that is requested within the | |
defined lifespan will remain the same, otherwise (not existing or too old) | |
a new value is generated and stored. The limited lifespan can be used to | |
deduplicate several hits of the same type between page loads (e. g. Add2Cart | |
or multiple PageViews in SPAs). | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Enhance GA4 Event Builder | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description add option to send payload to a custom endpoint instead of google-analytics.com | |
// @author Markus Baersch | |
// @match https://ga-dev-tools.web.app/ga4/event-builder/ | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
___INFO___ | |
{ | |
"type": "TAG", | |
"id": "cvt_temp_public_id", | |
"version": 1, | |
"securityGroups": [], | |
"displayName": "Consent Mode Configuration (Demo)", | |
"brand": { | |
"id": "brand_dummy", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
___INFO___ | |
{ | |
"type": "CLIENT", | |
"id": "cvt_temp_public_id", | |
"version": 1, | |
"securityGroups": [], | |
"displayName": "Tagless Logger Client [DEMO]", | |
"brand": { | |
"id": "brand_dummy", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
moved to https://github.com/mbaersch/this-or-that |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
___INFO___ | |
{ | |
"type": "CLIENT", | |
"id": "cvt_temp_public_id", | |
"version": 1, | |
"securityGroups": [], | |
"displayName": "200 Qapla\u0027", | |
"brand": { | |
"id": "brand_dummy", |