You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to more easily manage google analytics tags and custom analytics, datagov team members want to implement Google Tag Manager (GTM).
Acceptance Criteria
[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]
GIVEN CKAN can support using GTM
AND the team has a desire to manage analytics tags without touching site code
WHEN a pageload happens
THEN Google Tag Manager will fire and collect data to send to the datagov and DAP GA accounts \
Background
For the work we'd like to do to customize Google Analytics to track specific downloads, button clicks, or capture publisher to create more meaningful metrics, getting GTM in place would allow Tim and/or other less technical team members to use the GTM interface to create custom triggers or send data to the dataLayer.
Can confirm GTM is firing on dev. Right now, I have the data.gov GA4 tag paused, because when we push to prod, we'll need to remove the existing <script> tag at the same time I make the GTM tag active.
an aspect of this I forgot to document is that we need to remove the existing <script> tag from catalog (or anywhere this GTM container is being implemented) because I created the GA tag from within the GTM interface to be fired from the container. @dlennox24 I spoke with @FuhuXia and he is going to push the container to prod, but I'll leave the GA tag in GTM paused. Then you and I can coordinate to remove the existing script and simultaneously turn on the GTM tag.
User Story
In order to more easily manage google analytics tags and custom analytics, datagov team members want to implement Google Tag Manager (GTM).
Acceptance Criteria
[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]
AND the team has a desire to manage analytics tags without touching site code
WHEN a pageload happens
THEN Google Tag Manager will fire and collect data to send to the datagov and DAP GA accounts \
Background
For the work we'd like to do to customize Google Analytics to track specific downloads, button clicks, or capture
publisher
to create more meaningful metrics, getting GTM in place would allow Tim and/or other less technical team members to use the GTM interface to create custom triggers or send data to the dataLayer.This appears to be supported by CKAN https://github.com/ckan/ckanext-googleanalytics/blob/24d9a7ff62235bc2d543e6594f7362763411b0f9/ckanext/googleanalytics/templates/googleanalytics/snippets/_gtm.html
Security Considerations (required)
Will need to potentially add to SSPP/ATO docs.
The GTM account permissions should be well-managed and documented so that no unwanted parties can access.
Sketch
The text was updated successfully, but these errors were encountered: