📊 Google Analytics 4 Setup Guide
Track your website visitors and optimize for better performance
1Create Google Analytics Account
Visit: analytics.google.com
- Sign in with your Google account (Gmail)
- Click "Start measuring"
- Enter Account Name:
LocalAnswer.xyz
- Click "Next"
2Create Property
- Property Name:
localanswer.xyz
- Reporting Time Zone:
Singapore Standard Time
- Currency:
Singapore Dollar (SGD)
- Click "Next"
- Business Size:
Small (1-10 employees)
- Business Category:
Travel & Tourism
- Click "Create"
3Create Data Stream
- Select platform: "Web"
- Website URL:
https://localanswer.xyz
- Stream Name:
LocalAnswer.xyz Main
- Click "Create stream"
- Copy your Measurement ID - it looks like:
G-XXXXXXXXXX
4Install Tracking Code
Google will show you a tracking code. It looks like this:
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
</script>
📍 Where to paste: In the <head> section of EVERY page
5Verify Installation
- Install Google Tag Assistant (Chrome extension)
- Visit your website: https://localanswer.xyz
- Click Tag Assistant icon
- Enable and refresh page
- Check if GA4 tag is detected ✅
🎯 Quick Install (Tell Me Your ID)
Once you have your Measurement ID (G-XXXXXXXXXX), just tell me:
"My GA4 ID is G-XXXXXXXXXX"
I'll automatically install it on all pages!
📈 What You Can Track
- Visitors: How many people visit your site
- Traffic Sources: Where visitors come from (Google, social, direct)
- Popular Pages: Which pages get most views
- User Behavior: How long they stay, what they click
- Geography: Which countries/cities visitors are from
- Devices: Mobile vs Desktop vs Tablet
⚙️ Recommended Settings
After installation, enable these in GA4:
- Data Retention: Set to 14 months (Settings → Data Settings)
- Google Signals: Enable for better demographics
- Enhanced Measurement: Already enabled by default ✅
- Conversions: Set up for key actions (e.g., form submissions)
🔗 Quick Links
Google Analytics
GA4 Setup Guide
Tag Assistant
🤖 Need Help?
Just share your Measurement ID (G-XXXXXXXXXX) and I'll install it for you automatically!