Skip to content

Instantly share code, notes, and snippets.

@nchudleigh
Forked from jkindness/growsumo.js
Last active October 20, 2016 18:53
Show Gist options
  • Save nchudleigh/841e75409798f326b81afd25cef46f8f to your computer and use it in GitHub Desktop.
Save nchudleigh/841e75409798f326b81afd25cef46f8f to your computer and use it in GitHub Desktop.
<script type='text/javascript'>!function(){var t=document.createElement("script");t.src="https://snippet.growsumo.com/growsumo.min.js",t.type="text/javascript",t.async="true",t.onload=t.onreadystatechange=function(){var t=this.readyState;if(!t||"complete"==t||"loaded"==t)try{growsumo._initialize("pk_d9FOdhhfrKGLy9YCGYIVQJVqv6PdNIxf"),"function"==typeof growsumoInit&&growsumoInit()}catch(e){}};var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)}();</script>
<script>
function growsumoInit(){
if (typeof growsumo != 'undefined') {
growsumo.data.email = '[email protected]';
growsumo.data.customer_key = 123;
console.dir(growsumo);
growsumo.createSignup();
}
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment