Created
May 14, 2018 20:37
-
-
Save rickalee/aea997dfe8c13c54ad2dabb2853ad9c6 to your computer and use it in GitHub Desktop.
MSCC Clicktale
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> | |
function clicktaleTracking() { | |
var s = document.createElement( 'script' ); | |
var src = "https://cdnssl.clicktale.net/www07/ptc/959721af-e707-44b6-9b6a-d14f3ec0f756.js"; | |
s.setAttribute( 'src', src ); | |
document.body.appendChild( s ); | |
} | |
</script> | |
<script> | |
if ( ! mscc || mscc.hasConsent() ) { | |
clicktaleTracking(); | |
} else if ( mscc ) { | |
mscc.on('consent', clicktaleTracking ); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment