Skip to content

Commit 25dd071

Browse files
committed
Add Google Analytics
1 parent f547ab4 commit 25dd071

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

public/index.html

+10
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,15 @@
3737
To begin the development, run `npm start` or `yarn start`.
3838
To create a production bundle, use `npm run build` or `yarn build`.
3939
-->
40+
41+
<!-- Global site tag (gtag.js) - Google Analytics -->
42+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-138307610-1"></script>
43+
<script>
44+
window.dataLayer = window.dataLayer || [];
45+
function gtag(){dataLayer.push(arguments);}
46+
gtag('js', new Date());
47+
48+
gtag('config', 'UA-138307610-1');
49+
</script>
4050
</body>
4151
</html>

src/components/tasks/css/index.css

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ main > .container {
1313
.task .actions {
1414
float: right;
1515
}
16+
1617
.remove-task,
1718
.edit-task {
1819
cursor: pointer;

0 commit comments

Comments
 (0)