cds-snc / notification-planning

Project planning for GC Notify Team
4 stars 0 forks source link

Pre-planning the Web analytics set up #328

Open EliseKa opened 2 years ago

EliseKa commented 2 years ago

Description

Experiment with the current Notify Google Analytics setting up some filters (public pages traffic only) and goals (needs Google Tag Manager). Add Google Tag Manager and see if I can add Google Search Console to track keywords.

Objective

Get to a stage where I have something working that I can just replicate once Google Analytics works with GC Articles.

Acceptance criteria

Work and tests tracked in Planning paths to track in Google Analytics.

EliseKa commented 2 years ago

https://docs.google.com/document/d/12HGc7RfGEoPzGl3F2X8HLeSwlautsbMDYYGG54MWdGM/edit

EliseKa commented 2 years ago

Trying out 2 different filters to exclude traffic from authenticated pages. Need at least a day of data to see if it works.

I also started exploring other options, one of them uses Google Tag Manager (which we don't have yet). So I reached out to Mario to start setting this up.

EliseKa commented 2 years ago
EliseKa commented 2 years ago

This is still blocked by Add GTM code snippet to website source code

We need to add the Google Tag Manager code snippet in the website code so that I can start experimenting with tags (to measure events such as clicks)

yaelberger-commits commented 2 years ago

Add the first tag to test if it's working

jimleroyer commented 2 years ago

~Reflecting on that, could there be an issue with the domain used for Heroku? I know that Pat configured some DNS records to prove we own the domain and we should be able to send to Google Analytics tag manager, wondering if the heroku falls into the domain name(s) that were proven (did we do it for staging domain name for example?).~

yaelberger-commits commented 2 years ago

@yaelberger-commits will add this to Google Analytics epic once created