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

Add Google Ads Conversion tracking #458

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

TuukkaIkius
Copy link
Contributor

@TuukkaIkius TuukkaIkius commented Apr 30, 2024

Changes

  • Added GoogleAdsEvent function for sending google ads conversions
  • Added docs page view conversion event
  • Added 30s page view conversion event

Next PR: https://github.com/gravitational/next/pull/2476
Blog PR: https://github.com/gravitational/blog/pull/537

Merge checklist

  • Add NEXT_PUBLIC_GOOGLE_ADS_ID environment variable to Vercel "AW-XXXXXX"
    • A value exists for preview deployments however I'm unsure if the production deployment should use a different ID
  •  Disable Google Ads event triggers on GTM
    • Google Ads - Conversion - Contact Sales
    • Google Ads - Conversion - Resource Download
    • Google Ads - Conversion - Subscribe
    • Google Ads - Conversion - Teleport Team Signup
    • Google Ads- 30s Page View
    • Google Ads - Page View Counter
  • Merge the PRs

Testing Checklist

  •  Docs Pageview events fire on page load
  •  30s Pageview fires after spending 30s on the site and navigating to at least one other page via internal link

Copy link

vercel bot commented Apr 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2024 8:04am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant