Created
August 5, 2021 19:26
-
-
Save taf2/f81032ebfd7cc58269fd9191df29349d to your computer and use it in GitHub Desktop.
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
<html> | |
<head> | |
<title>Consent Trackin With CTM</title> | |
<script async src="//51838.tctm.co/t.js"></script> | |
</head> | |
<body> | |
<h1>Call This Number (888) 888-8888</h1> | |
<p>If you consent to cookies and lots of tracking press this button <button id="pressed">Press me</button></p> | |
<script> | |
document.getElementById('pressed').addEventListener('click', function(e) { | |
try { | |
window.__ctm_cvars.push({consent: 1}); | |
} catch(e) { console.log("hello", e); } | |
},true); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment