This file contains 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
//Folgenden Code bei einer direkten Implementierung von Universal Analytics | |
//in den Trackingcode einfügen; vor dem Absenden des Pageviews | |
ga('set', 'customTask', function(model) { | |
var r = document.referrer; | |
//Suchmuster für relevante Suchmaschinen mit "versteckten" Suchparametern | |
var srch = /(suche\.t-online\.de)|(qwant\.com)|(metager\.de)|(duckduckgo\.com)|(ecosia\.org)|(android\.googlequicksearchbox\.)|(search\.yahoo\.com)|(zapmeta\.)|(\.sosodesktop\.com)|(search\.mysearch\.com)|(search\.mail\.com)|(thesmartsearch\.net)|(zdsearch\.com)|(search\.easydialsearch\.com)|(safesearch\.hypersonica\.com)|(search\.v9\.com)|(search\.genieo\.com)|(search\.avast\.com)|(searches\.uninstallmaster\.com)|(search\.handycafe\.com)|(searches\.safehomepage\.com)|(search\.snapdo\.com)|(search\.selfbutler\.com)|(infospace\.com)|(search\.avira\.)/i; | |
//Referrer mit Suchmuster vergleichen | |
if (r.search(srch) > 0) { | |
//passenden Parameter bestimmen | |
var prm = (r.search('yahoo') > 0) ? 'p=':'q='; |
This file contains 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", |
This file contains 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> | |
/* | |
PIWIK PRO TAG MANAGER DEBUGGER RESIZE | |
adds 200px width to the PiwikPro Tag Manager debug panel and creates links (at top right) to enhance or decrease with in 200 pixel steps | |
usage: create new (async) html tag in PiwikPro Tag Manager, paste this code and fire tag on DOM ready, if "Preview Mode" is "1". | |
get preview status from stg_debug cookie as there is no built in variable for debug status (afaik) | |
*/ | |
function ppResizeDebug(w) { | |
var pnl = document.querySelector("#seventag_container_debugger"); |
This file contains 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 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 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 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 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> | |
/*Animate element and change text / html if konami code is entered on a page - can be used as custom HTML in Google Tag Manager. | |
Source / idea: https://www.simoahava.com/gtm-tips/add-konami-code-to-your-site/ */ | |
/* SETUP */ | |
//message to display on "konami element" after animation. HTML can be used as well - innerHTML will be replaced with whatever gets defined here. | |
//leave blank for no change (just animation) | |
var konamiMessage = 'you are awesome! ;)</small>'; | |
//CSS Selector for element to animate and display message (e.g. "#someId", "div.someclass". info: https://www.w3schools.com/cssref/css_selectors.asp) |