Home / Admin / getcustomvariables.js
Duplicate Snippet

Embed Snippet on Your Site

getcustomvariables.js

Code Preview
html
<script type="text/javascript">
	document.addEventListener('om.Dtr.init', function(event) {
		/**
		 * API method for retrieving all custom variables. Must be accessed via the Dtr object.
		 *
		 * @return object A JavaScript object with key/value pairs for custom variables.
		 */
		event.detail.Dtr.getCustomVariables();
	});
</script>

Comments

Add a Comment