Add Google Analytics gtag to Cadence Lang
Open
@nialexsan is already working on this.
Since Dec 3, 2024.
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
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>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.