Last active
August 29, 2015 14:25
-
-
Save ronnieduke/47ca9a90432cac6f088b to your computer and use it in GitHub Desktop.
Marketo Munchkin associateLead PHP
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> | |
mktoMunchkinFunction('associateLead', | |
{ | |
Email: “<?php echo "decodeURIComponent(\"" . rawurlencode($_REQUEST["userEmail"]) . "\")" ?>”, | |
FirstName: "<?php echo "decodeURIComponent(\"" . rawurlencode($_REQUEST["userFirst"]) . "\")" ?>", | |
LastName: "<?php echo "decodeURIComponent(\"" . rawurlencode($_REQUEST["userLast"]) . "\")" ?>" | |
}, | |
'<?php echo hash('sha1', 'mysecretkey' . $_REQUEST["userEmail"]); ?>' | |
); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment