๐Ÿ“Š Google Analytics โฑ About 10 minutes

How to Add Google Analytics 4 to Your Website

GA4 is Google's free tool for tracking who visits your site, where they come from, and what they do. Follow these steps to get it set up.

You'll need
โœ“A Google account
โœ“Your website URL
โœ“Ability to edit your site
Time breakdown
โœ“Setup in GA4: ~5 min
โœ“Adding code: ~5 min
โœ“First data: 24โ€“48 hrs
1
Open Google Analytics

Go to analytics.google.com and sign in. Use the same Google account you want to use for AnalyticsDash.

โ„น๏ธ
First time here? You'll see a "Start measuring" button. Click it to begin. If you already have an account, skip to step 2.
2
Create a Property

If you're starting fresh, GA4 walks you through account creation automatically. If you already have a GA4 account, click the gear icon and navigate here:

Click path โš™๏ธ Admin โ†’ Create โ†’ Property

Name the property after your domain (e.g. lighthouselaunch.com). Set your time zone and currency, then click Next.

3
Add a Web Data Stream

After creating the property, choose Web as your platform. Enter your website URL and click Create stream.

Pick platform ๐ŸŒ Web or ๐Ÿ“ฑ iOS app or ๐Ÿค– Android app

After saving, you'll see the stream details. Find and copy your Measurement ID โ€” you'll need it in the next step.

๐Ÿ”‘
Your Measurement ID looks like this
G-XXXXXXXXXX
Copy this โ€” paste it into your site in the next step
4
Add the Tracking Code to Your Site

How you install it depends on your website platform. Find yours below:

๐Ÿ”Œ WordPress
Install the Google Site Kit plugin โ†’ connects GA4 in one click
๐ŸŒŠ Webflow
Site Settings โ†’ Integrations โ†’ Google Analytics โ†’ paste Measurement ID
๐Ÿ›๏ธ Shopify
Online Store โ†’ Preferences โ†’ Google Analytics โ†’ Connect account
โฌ› Squarespace
Settings โ†’ Advanced โ†’ External API Keys โ†’ paste Measurement ID
๐ŸŒ€ Wix
Marketing & SEO โ†’ Marketing Integrations โ†’ Google Analytics
๐Ÿ’ป Custom HTML
Paste the snippet into the <head> of every page

For custom HTML sites, paste this snippet before the closing </head> tag on every page:

Paste into <head> on every page
<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>

Replace both instances of G-XXXXXXXXXX with your actual Measurement ID.

5
Check It's Working

Open GA4 and go to the Realtime report. Then open your website in a new browser tab. Within 60 seconds, you should appear as an active user.

In GA4 Reports โ†’ Realtime
โœ“
You're all set!
You'll see yourself appear in Realtime within a minute. Standard reports (traffic, channels, audience) take 24โ€“48 hours to populate with data.
โš ๏ธ
Not showing up? Turn off any ad blocker โ€” they block GA4 tracking. Also make sure you actually published/deployed the code change.

See your GA4 data in AnalyticsDash

Once GA4 is installed, connect it here for real-time traffic, channel breakdown, top pages, and smart insights โ€” all in one dashboard.

Sign in with Google โ€” it's free