Created
October 20, 2016 17:51
-
-
Save jkindness/8d11d95eababf5d3d6373acc44c4b71d 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 type='text/javascript'>(function(){var gs=document.createElement('script');gs.src='https://snippet.growsumo.com/growsumo.min.js';gs.type='text/javascript';gs.async ='true';gs.onload=gs.onreadystatechange=function(){var rs=this.readyState;if(rs&&rs!='complete'&&rs!='loaded')return;try{growsumo._initialize('pk_d9FOdhhfrKGLy9YCGYIVQJVqv6PdNIxf');}catch(e){}};var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(gs,s);})();</script> | |
<script> | |
jQuery(document).ready(function($) { | |
// send signup to growsumo | |
if (typeof growsumo != 'undefined') { | |
growsumo.data.email = 'test@test.com'; | |
growsumo.data.customer_key = 123; | |
console.log(growsumo); | |
growsumo.createSignup(); | |
} | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I will give it a shot on my end as well and let you know if I find anything funky