Skip to main content

Get Click ID

The click ID can be retrieved by function maxconv.getClickId().

The maxconv object only available after the script is fully loaded, you can listen the maxconv:ready event on window object to make sure the maxconv object is ready.

window.addEventListener("maxconv:ready", function () {
//maxconv is ready

//get current click id
var clickId = maxconv.getClickId();

// do your work with click id
// ...

<!-- import universal tracking script, must after above custom js code -->
<script defer src="//"></script>