lera.cernolev of Help Center Snippets
1/21/2020 - 8:10 AM

MISSING HC ARTICLE - Migrated - HC || Track clicks from other platforms

<!-- Begin "Track clicks from other platforms" || Help center -->
<!-- Add to Settings-Javascript->Body -->
<!-- IN:20200120-16-6 -->
<script>
window.addEventListener('DOMContentLoaded', function () {
    var element = document.querySelector("#element-123 a");
    element.addEventListener("click", handler);
    function handler() {
        // insert the content of the function 
        // for all the desired tracking platforms here
    }
});
</script>
<!-- End "Track clicks from other platforms" || Help center -->