forked from firka/flutter
update analytics in generate api docs site to use new UA4 (#136497)
Change the analytics instance that the generated api.flutter.dev and master-api.flutter.dev use.
This commit is contained in:
committed by
GitHub
parent
bb7f0b2326
commit
4dcd1598b7
7
dev/docs/analytics-header.html
Normal file
7
dev/docs/analytics-header.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<!-- 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-ND4LWWZ');</script>
|
||||
<!-- End Google Tag Manager -->
|
||||
Reference in New Issue
Block a user