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"); |