techstartucalgary / tsu-website

The official repository for Tech Start UCalgary's website
https://techstartucalgary.com
MIT License
7 stars 7 forks source link

Start collecting data for Google Analytics #321

Closed Niyousha99 closed 2 years ago

Niyousha99 commented 2 years ago

Added measurement tag in index.html to tag website.

Ran locally and verified dashboard is updated:

image

github-actions[bot] commented 2 years ago

Visit the preview URL for this PR (updated for commit 76f556a):

https://tech-start-website--pr321-analytics-dznfz9ol.web.app

(expires Wed, 09 Mar 2022 03:52:35 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

EduardoBBenetti commented 2 years ago

You have to put the given piece of code on every tag you want it to be tracked. From what I saw, that's what you did, so it should be working. You can test by accessing the website and seeing if the report's page is being able to gather information about your device. Let me know if that works. Happy to help in case it doesn't

However, I have only you one nonrelated comment. Google Analytics sucks on admin management. So I think you are using your personal Google account, and that can turn into a problem when you leave the club and transfer that access to someone else. Might be a better idea to create a Google Account only for this Analytics.

Niyousha99 commented 2 years ago

We will be merging this and start collecting data from all environmenets, and spin up a new issue to continue the work.