Skip to content

Commit

Permalink
chore: migrating from gtag to gtm (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
iisakkirotko authored Dec 5, 2023
1 parent d8d7a31 commit 1bb67eb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions solara/website/templates/index.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
</script>
<!-- End Google Analytics -->

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-KC98NKNL');</script>
<!-- End Google Tag Manager -->

<!-- MailChimp -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-061523.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js"></script>
Expand All @@ -34,6 +42,12 @@

{% block after_pre_rendered_html %}
{{ super() }}

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KC98NKNL"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

<style id="algolia">
.DocSearch-Button {
background-color: rgb(255, 238, 197);
Expand Down

0 comments on commit 1bb67eb

Please sign in to comment.