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

Update GA implementation #3113

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Update GA implementation #3113

merged 1 commit into from
Mar 26, 2024

Conversation

rmccar
Copy link
Contributor

@rmccar rmccar commented Mar 26, 2024

What is the context of this PR?

Fixes: #3114

To make sure we arent using reserved event names in GA which Google advises against I have prefixed all events sent to GA with "ons_" and also removed the gtag and datalayer because these will need to be set up on the service side anyway in the analytics snippet in the head. The gtag function wasn't being called anyway because it was being initialised within another function.

How to review this PR

Check changes make sense. I can take people through the changes needed

Checklist

This needs to be completed by the person raising the PR.

  • I have selected the correct Assignee
  • I have linked the correct Issue

@rmccar rmccar added the Bug Something isn't working label Mar 26, 2024
@rmccar rmccar requested a review from a team March 26, 2024 12:07
@rmccar rmccar self-assigned this Mar 26, 2024
Copy link

netlify bot commented Mar 26, 2024

Deploy Preview for ons-design-system-preview ready!

Name Link
🔨 Latest commit 1ce0b68
🔍 Latest deploy log https://app.netlify.com/sites/ons-design-system-preview/deploys/6602ba82318a920008c13b45
😎 Deploy Preview https://deploy-preview-3113--ons-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@adi-unni adi-unni self-requested a review March 26, 2024 15:32
@rmccar rmccar merged commit 8d6239b into main Mar 26, 2024
12 of 13 checks passed
@rmccar rmccar deleted the update-ga-implementation branch March 26, 2024 16:40
rmccar added a commit that referenced this pull request Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GA implementation needs updating
3 participants