Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MSCC Clicktale
<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