/* Ensighten Manage Training */ /* Apply - Module 21 - Code Snippets */ ############################################ jQuery Custom Trigger - Helpful QA Snippet ############################################ // Execute this in your console before triggering the jQuery custom event // Then look in the console after triggering the event to see the event and its associated data payload // Be sure to swap out "insertCustomEventNameHere" with the actual jQuery custom event name jQuery(document).on("insertCustomEventNameHere", function(eventObject, eventData){ console.log("Custom jQuery Event Fired: " + eventObject.type); console.log("Post-Pageload Data Layer Values: " + JSON.stringify(eventData,null,4)); }); ######################################## CODE FROM TAG VENDOR :: Training Tag V ########################################