Add Marketo munchkin tracking via angulartics
This commit is contained in:
parent
119cc917fb
commit
9158fe38ee
10 changed files with 71 additions and 199 deletions
|
@ -64,6 +64,13 @@
|
|||
</script>
|
||||
{% endif %}
|
||||
|
||||
{% if munchkin_key %}
|
||||
<script type="text/javascript">
|
||||
document.write(unescape("%3Cscript src='//munchkin.marketo.net/munchkin.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script>Munchkin.init('{{ munchkin_key }}');</script>
|
||||
{% endif %}
|
||||
|
||||
{% if mixpanel_key %}
|
||||
<!-- start Mixpanel --><script type="text/javascript">
|
||||
(function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src=("https:"===e.location.protocol?"https:":"http:")+'//cdn.mxpnl.com/libs/mixpanel-2.2.min.js';f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f);b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==
|
||||
|
|
Reference in a new issue