Add basic web analytics to html build
This commit is contained in:
parent
5d7f14fd17
commit
04be1daf42
@ -1,17 +1,13 @@
|
||||
<!DOCTYPE html><html><head>
|
||||
<!--
|
||||
If you are serving your web app in a path other than the root, change the
|
||||
href value below to reflect the base path you are serving from.
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-24FD0ZMQPW"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
The path provided below has to start and end with a slash "/" in order for
|
||||
it to work correctly.
|
||||
|
||||
For more details:
|
||||
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
|
||||
|
||||
This is a placeholder for base href that will be replaced by the value of
|
||||
the `--base-href` argument provided to `flutter build`.
|
||||
-->
|
||||
gtag('config', 'G-24FD0ZMQPW');
|
||||
</script>
|
||||
<base href="/web/">
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
Loading…
x
Reference in New Issue
Block a user