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 Analytics gtag to Cadence Lang #1025

Open
flow-slack-issue-bot bot opened this issue Dec 3, 2024 · 0 comments
Open

Add Google Analytics gtag to Cadence Lang #1025

flow-slack-issue-bot bot opened this issue Dec 3, 2024 · 0 comments
Assignees

Comments

@flow-slack-issue-bot
Copy link

flow-slack-issue-bot bot commented Dec 3, 2024

Reported by: Ali Serag (<@ali.serag>)

Issue Description:

Add google analytics tracking to Cadence Lang website so that all pages are tracked (I believe we'd have to add the env variable in vercel and update the docusaurus.config file similar to how we did for the regular dev docs site. The following is the generated tag:

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5654FKLB20"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-5654FKLB20');
</script>
@Aliserag Aliserag changed the title Add gtag to Cadence Lag Add Google Analytics gtag to Cadence Lang Dec 3, 2024
@nialexsan nialexsan self-assigned this Dec 3, 2024
@nialexsan nialexsan moved this to 👀 In Review in 🌊 Flow 4D Dec 6, 2024
@nialexsan nialexsan moved this from 👀 In Review to ✅ Done in 🌊 Flow 4D Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

No branches or pull requests

1 participant