-
-
Notifications
You must be signed in to change notification settings - Fork 565
How to setup Google Analytics 4
Hiroki Toyokawa edited this page Mar 13, 2023
·
1 revision
This page explains how to setup Google Analytics 4 in astro-notion-blog.
All you need to do is to set your tracking ID (e.x. G-XXXXXX
) to environment variables.
Go to the Cloudflare Pages dashboard and set your tracking ID as PUBLIC_GA_TRACKING_ID
.
That's all.