Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Google Analytics on website #503

Closed
5 tasks done
harishlingam opened this issue May 9, 2020 · 28 comments · Fixed by #565
Closed
5 tasks done

Setup Google Analytics on website #503

harishlingam opened this issue May 9, 2020 · 28 comments · Fixed by #565
Assignees
Labels
Complexity: Missing Feature: Analytics google analytics P-Feature: Dashboard https://hackforla.org/dashboard role: front end Tasks for front end developers role: product Product Management size: missing

Comments

@harishlingam
Copy link
Member

harishlingam commented May 9, 2020

Overview

Setup Google Analytics on website. This includes implementation of code snippets, deciding on metrics to track, and set up of the dashboard.

Repeated visits to the various sections of the website will skew dashboard data and impede the team's ability to get an accurate picture of user behavior. GA provides a mechanism to exclude individual IP addresses from data collection. See instructions below.

Action Items

Resources/Instructions

Google Analytics

Exclude IP address instructions: https://support.google.com/analytics/answer/1034840?hl=en

GA account setup: https://support.google.com/analytics/answer/1008015?hl=en
Tag setup: https://support.google.com/analytics/answer/1008080

Matomo
https://matomo.org
matomo-org/matomo#13016

@harishlingam harishlingam added role: front end Tasks for front end developers analytics labels May 9, 2020
@harishlingam
Copy link
Member Author

harishlingam commented May 17, 2020

@wesrowe It turns out that Hotjar's free tier caps users at 3 funnels and doesn't allow page-specific recordings (only the default home page). Can Google Analytics service our needs entirely? If not, I looked into Mixpanel and their free tier appears to be more generous, including funnels and recordings by segment. Also, do we already have a Google Analytics account set up, or do we need to create one?

@wesrowe
Copy link
Member

wesrowe commented May 18, 2020

@harishlingam I don't believe there is a GA account already for the HfLA website. Might as well created a new one.
As for hotjar -- honestly, for the use cases I'm aware of GA would be adequate for understanding user behavior on our site. Recordings are typically useful at the margins, and we're not there yet. GA would be good to focus on as a next step.

@harishlingam harishlingam changed the title Setup Google Analytics on website Setup analytics tool on website May 23, 2020
@harishlingam harishlingam self-assigned this May 23, 2020
@harishlingam
Copy link
Member Author

harishlingam commented May 23, 2020

@wesrowe That makes sense Wes. A new member of our team suggested looking at Matomo, an open-source GA alternative: https://matomo.org/get-matomo/, but the advantages it offers don't appear to be relevant to us. I will bring up getting GA set up in our next meeting.

@harishlingam
Copy link
Member Author

harishlingam commented May 24, 2020

Google Analytics code snippet:

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-167506267-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-167506267-1'); </script>

@harishlingam
Copy link
Member Author

harishlingam commented May 24, 2020

A Google Analytics account has been created for HFLA under the webadmin@hackforla.org account. The GA snippet is to be pasted as the first item into the HEAD tag of every page we want to track.

@ExperimentsInHonesty
Copy link
Member

Remove full story and replace with GA code #503 (comment)

@ExperimentsInHonesty
Copy link
Member

ExperimentsInHonesty commented Jun 7, 2020

If stable, next week, exclude these ips from GA
Bonnie: 107.184.87.14
CNK: 66.215.74.250 - same 6/14
Yuiko: 172.91.110.17
Stella: 47.136.122.181
Susan: 
24.24.137.226
Ruben: 172.113.122.208
Danielle: 104.175.48.39
Josh B: 76.168.134.2

@harishlingam
Copy link
Member Author

harishlingam commented Jun 10, 2020

@wesrowe

View: I have created a View titled "Master View." In the event something goes awry, the administrator can revert to the Master View to restore all reporting.

Acquisition Report: Under All Traffic > channels, I have added a Secondary dimension of Source/Medium. This will likely be a preferred view, until such time when UTM parameters are set, in which case the Source/Medium view would be preferred.

Conversions Report: I have created conversion goals for all major pages, buttons, and social media links currently found on the website. Please add/remove conversion goals as a better picture emerges about what to track/not track.

@harishlingam
Copy link
Member Author

harishlingam commented Jun 10, 2020

At some point in the future, UTM tracking may be useful to track incoming traffic sources to the website. This requires the use of UTM URLs. For example, if the team wanted to measure the number of visitors arriving at the home page from the Hack for LA Facebook page, UTM tags would serve this purpose.

UTM tags fall into one of four categories:
(1) Where is the traffic coming from?
(2) What type of traffic is it?
(3) What is the name of the marketing campaign you have created?
(4) What is the name or code associated with your marketing content?

Google provides the following tool to build campaign URLs: https://ga-dev-tools.appspot.com/campaign-url-builder/

The tracking link generated by this tool is then pasted in your creative content (e.g. blog post, Facebook post, Instagram post, etc.). Anytime someone clicks this link, this activity is recorded by Google Analytics.

@harishlingam
Copy link
Member Author

harishlingam commented Jun 10, 2020

@ExperimentsInHonesty

The Google Analytics Dashboard may be incorporated into the HFLA Organizational Dashboard via Google Data Studio. I would recommend doing so once a clearer picture of most valuable data has emerged. This way, all analytics information is consolidated in one place.

@harishlingam
Copy link
Member Author

harishlingam commented Jun 10, 2020

It may be appropriate to have the incoming digital marketer or product manager build a guide page for Google Analytics. A skeleton outline of topics to cover is begun here: https://github.com/hackforla/website/wiki/Digital-Marketing-Overview

@harishlingam harishlingam changed the title Setup analytics tool on website Setup Google Analytics on website Jun 10, 2020
@ExperimentsInHonesty
Copy link
Member

ExperimentsInHonesty commented Jun 14, 2020

Do your IPs match? Yes or No answer. If no, please also provide new ip, so we can see if there is a pattern.
@cnk @yuikomajima @leestella748 @ye-susan @ruben1s @DanielekPark

Last week's ips
Bonnie: 107.184.87.14 - yes
CNK: 66.215.74.250 - yes
Yuiko: 172.91.110.17 - yes
Stella: 47.136.122.181 - 47.136.122.53 - same as last week on the third check
Susan: 
24.24.137.226 - yes
Ruben: 172.113.122.208 - yes
Danielle: 104.175.48.39 - yes
Kian: 47.147.143.207 - yes
Hannah: 192.168.86.35 - yes
Eric: 98.184.221.144
Leo: 192.168.1.14

@ExperimentsInHonesty
Copy link
Member

ExperimentsInHonesty commented Jun 21, 2020

@harishlingam is there a reason to leave hotjar code on the website. Does it do anything that we are not going to do via GA?

Please mention @ye-susan in your reply

@hackforla hackforla deleted a comment from harishlingam Jul 12, 2020
@alexandrastubbs
Copy link
Member

We should create a guide for how to use GA on any project site. Good project for a special project coordinator.

Follow up with Bonnie on this.

@alexandrastubbs
Copy link
Member

@harishlingam sorry to bother you again - in order to log-in to GA, there is a second layer of identification confirmation that involves a text message to the number on file. Would you be able to go in and change the phone number to mine? 201-572-1361. From there I can leave as is or change to whoever will be using the account the most. Let me know!

@alexandrastubbs
Copy link
Member

@harishlingam disregard, Bonnie was able to help update settings. Thanks!

@alexandrastubbs
Copy link
Member

Progress - Working on learning GA.
Blocks - None
Availability - n/a
ETA - TBD, aiming for 8/16

@hackforla hackforla deleted a comment from harishlingam Aug 9, 2020
@alexandrastubbs
Copy link
Member

Added Hotjar log-in information to the Google Sheet for log-ins.

@alexandrastubbs
Copy link
Member

Check status of this issue: hackforla/civic-opportunity#35

@alexandrastubbs
Copy link
Member

Progress: none yet
Blocks: was moving this week
Availability: some time this week to start digging in
ETA: tbd, hoping to have a better idea of what needs to be done this week

@Samhitha444
Copy link
Member

Samhitha444 commented Sep 12, 2024

Sorry, something went wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Missing Feature: Analytics google analytics P-Feature: Dashboard https://hackforla.org/dashboard role: front end Tasks for front end developers role: product Product Management size: missing
Projects
Status: New Issue Approval
Development

Successfully merging a pull request may close this issue.

10 participants