Macaly has built-in analytics too. If you just want to see page views and visitor counts, check out Analytics. It works out of the box with no setup. GA4 is for when you need deeper insights, audience segmentation, or integration with Google Ads.
Why use Google Analytics 4
- Know exactly where your visitors come from. See which channels bring traffic: organic search, social media, ads, or direct visits.
- Measure what actually matters. Define goals like signups, purchases, or form submissions and track how well your site converts.
- Understand how people use your site. See which pages they spend time on, where they drop off, and what devices they use.
- Make your ads smarter. If you run Google Ads, GA4 feeds conversion data back so you can optimize your spend.
What you need
Before you start, make sure you have:- A Google Analytics account. Create one for free at analytics.google.com
- Your Measurement ID. It looks like
G-XXXXXXXXXXand you’ll find it under Admin → Data Streams → your stream
How to find your Measurement ID
How to find your Measurement ID
- Go to analytics.google.com
- Click Admin (gear icon) in the bottom left
- Under Data collection and modification, click Data streams
- Click your web stream (or create one if you haven’t yet)
- Your Measurement ID is at the top. It starts with
G-
Add GA4 to your project
Open the chat in your Macaly project and ask the agent:Verify it’s working
Open GA4 Realtime report
Go to analytics.google.com and click Reports → Realtime in the left sidebar.
Realtime data appears within seconds. Standard reports in GA4 can take 24 to 48 hours to fully populate.
Track more than page views
GA4 tracks page views automatically, but you can go further. Ask the agent to add tracking for specific actions:| What to track | Example prompt |
|---|---|
| Button clicks | ”Track when someone clicks the ‘Get Started’ button as a GA4 event called cta_click” |
| Form submissions | ”Send a GA4 event called form_submit when the contact form is submitted” |
| Purchases | ”Track purchases as GA4 purchase events with the order value” |
| Signups | ”Fire a GA4 sign_up event when a user creates an account” |
GA4 vs Google Tag Manager
- Use GA4 directly if you only need analytics. It’s simpler and you’re done in one message.
- Use Google Tag Manager if you plan to add multiple tools. GTM lets you manage GA4, Meta Pixel, and others from one dashboard.
Cookie consent. GA4 sets cookies to identify returning visitors. If your site has visitors from the EU, UK, or other regions with privacy laws, you are responsible for ensuring a cookie consent solution is in place before GA4 loads.
Good to know
- GA4 events can take 24 to 48 hours to show up in standard reports. Use the Realtime report to verify right away
- Built-in events like page views, scrolls, outbound clicks, and file downloads are tracked automatically once GA4 is active
- You can connect GA4 to Google Search Console to see which search queries bring people to your site
- If you add GA4 through Google Tag Manager, you don’t need to add it directly. That would double-count your data