add marketo rtp code

Change-Id: I645f7eddd077e528eb8150ae88d5cce68cf4088d
This commit is contained in:
Jim Phillips 2015-09-02 18:27:34 -04:00
parent d9aa1bb801
commit b4089ad928
2 changed files with 24 additions and 0 deletions

View File

@ -173,4 +173,16 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','{{ theme_googletag }}');</script>
<!-- End Google Tag Manager -->
<!-- RTP tag -->
<script type='text/javascript'>
(function(c,h,a,f,i){c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
c[a].a=i;var g=h.createElement("script");g.async=true;g.type="text/javascript";
g.src=f+'?aid='+i;var b=h.getElementsByTagName("script")[0];b.parentNode.insertBefore(g,b);
})(window,document,"rtp","//sjrtp7-cdn.marketo.com/rtp-api/v1/rtp.js","mirantis");
rtp('send','view');
rtp('get', 'campaign',true);
</script>
<!-- End of RTP tag -->
{% endblock %}

View File

@ -359,5 +359,17 @@
})(window, document, 'script', 'dataLayer', 'GTM-K2J65K');</script>
<!-- End Google Tag Manager -->
<!-- RTP tag -->
<script type='text/javascript'>
(function(c,h,a,f,i){c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
c[a].a=i;var g=h.createElement("script");g.async=true;g.type="text/javascript";
g.src=f+'?aid='+i;var b=h.getElementsByTagName("script")[0];b.parentNode.insertBefore(g,b);
})(window,document,"rtp","//sjrtp7-cdn.marketo.com/rtp-api/v1/rtp.js","mirantis");
rtp('send','view');
rtp('get', 'campaign',true);
</script>
<!-- End of RTP tag -->
</body>
</html>