Skip to content

Commit

Permalink
Add/google analytics (#42)
Browse files Browse the repository at this point in the history
* `Google Tag Manager` installed

* `CHANGELOG.md` updated

* update `index.html`
  • Loading branch information
AHReccese authored Oct 19, 2024
1 parent 7600705 commit 3738e26
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]
### Added
- Google Tag Manager installed
- Support `X`
- Support `WhatsApp`
- Support multi parameters
Expand Down
11 changes: 11 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- 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-5LHKDJ9L');</script>
<!-- End Google Tag Manager -->
<meta charset="utf-8" />
<meta http-equiv="expires" content="0" />
<meta name="theme-color" content="#2D2D2D" />
Expand Down Expand Up @@ -49,6 +56,10 @@
</script>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5LHKDJ9L"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="root"></div>
</body>
<script>
Expand Down

0 comments on commit 3738e26

Please sign in to comment.