Home / Admin / campaign.load.func
Duplicate Snippet

Embed Snippet on Your Site

campaign.load.func

Code Preview
html
<script>
	document.addEventListener('om.Campaign.load', function(event) {
		const queryString = window.location.search;// capture all query args   // Registers a custom `query_args` smart tag that outputs all query args from the current page. 
		event.detail.Campaign.Dtr.setCustomVariable('query_args', queryString)
	});
</script>

Comments

Add a Comment