Getting Started
9. GA Website Analytics
Configure Google Analytics website statistics.
Objectives
- Configure Google Search Console
- Configure Google Analytics
Create Google Site
- Console
https://search.google.com/search-console
- Add Your Website
Configure Sitemap
- Sitemap
https://saas.ducafecat.com/sitemap.xml
Replace with your domain name, Cat Brother has already written the sitemap content (pages, documentation, blog).
- Manually Add to Google Console
After this, watch for emails, there will be page optimization suggestions.
Create Tracking
https://analytics.google.com/analytics/web
Set up Gtag
- Get gtag
- Configure gtag
.env
Set environment variable
# gtag
NUXT_PUBLIC_GTAG_ID=G-XXXXXXX
end