scientist-softserv / adventist_knapsack

Apache License 2.0
2 stars 0 forks source link

Add Google Analytics tag to Adventist tenants #557

Open jillpe opened 1 year ago

jillpe commented 1 year ago

We need help to add tags to our sites so we can track users via Google Analytics. Since we intend to publicly share the site links in late June, we'd like to enable Google Analytics beforehand, so we have data from "day one."

Instructions we received from Google: "To enable data collection, you need to add your new Google Analytics tag (gtag.js) to the header of every page of your site. You'll find it here. Once you take this step, your new property will start populating with data. Below is the Google tag for this account. Copy and paste it in the code of every page of your website, immediately after the element. Don’t add more than one Google tag to each page. "

We can provide the tag in a later edit of this ticket.

Acceptance

KatharineV commented 11 months ago

Hey team, if we provide the tag to enable analytics on our Hyku sites, can you drop it into place for us this month? Or, if we don't have the hours for you to insert the new tag for us, we have someone who has offered to insert the tag if you can give her access to the code.

KatharineV commented 7 months ago

Hi all! Here is some tag info I copied off our GA4 property this morning: Measurement ID: G-VYDH6B12LE

Image

And tag info:

KatharineV commented 7 months ago

Is it possible for us to use this one property to track all the tenants on our Hyku instance? If not, I could use some advice about the best way to at least track two tenants: ADL and SDAPI. The existing property was set up for our old site, so I'm not sure what we need to change to be able to track the new sites as well as the old one, for as long as it lasts. Any advice you have will be welcome.