Home / Admin / om.Dtr.init.js
Duplicate Snippet

Embed Snippet on Your Site

om.Dtr.init.js

Code Preview
js
document.addEventListener('om.Dtr.init', function(event) {
	console.log(event.detail.Dtr);
	console.log(event.detail.Campaign);
	// Registers a custom `name` smart tag.
	event.detail.Dtr.setCustomVariable('name', 'Thomas');
} );

Comments

Add a Comment