Created
January 25, 2019 20:56
-
-
Save kylefdoherty/01d50ec04072ca259a86b330086169d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
var action = {{DLV-custom-event-action}}; | |
if (action === 'viewed') { | |
console.log("LOG MKETO PAGE VIEW") | |
// Munchkin.munchkinFunction('visitWebPage', { 'url': {{Page URL}} }); | |
}; | |
if (action === 'clicked') { | |
console.log("LOG MKETO CLICK") | |
//Munchkin.munchkinFunction('clickLink', { 'href': {{Page URL}} }); | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment