Last Updated on by Azib Yaqoob
Google Analytics 4 (GA4) is free, and setting it up takes about 15 minutes on WordPress, Shopify or Wix. The hard part is not installing it. It is installing it once. A common problem is two or three copies of the tag added by different plugins, apps or people, so every visit is counted twice.
This guide covers the setup on each platform, then shows how to check it works. A plumber in Dallas with a WordPress site (an example, not a real client) wants to know which pages bring calls. A Shopify store wants to know which ads bring orders. Both start with the same four steps.
Quick answer: Create a GA4 property and a web data stream, copy the Measurement ID (starts with G-), then add it with one method only: Site Kit or Google Tag Manager on WordPress, the Google & YouTube app on Shopify, or Marketing Integrations on Wix. Confirm yourself in Realtime, then mark your key actions as key events.
Which install method fits your site?
| Platform | Best method | What you need | Watch out for |
|---|---|---|---|
| WordPress | Site Kit by Google, or Google Tag Manager | Google account, plugin install rights | A tag also pasted into the theme |
| Shopify | Google & YouTube app | Store admin access, GA4 property | Old tags in Preferences or custom pixels; store password mode |
| Wix | Marketing Integrations, Google Tag | Premium plan and a connected domain | Cookie banner lowers counts |
Step 1: Create your GA4 property
- Go to analytics.google.com and sign in with the Google account your business uses.
- Click Admin, then Create, then Property. Enter your business name, time zone and currency. Use the same time zone and currency as your website or store, so your numbers line up.
- Choose Web as the platform, enter your website address, and create the data stream.
- Copy the Measurement ID. It starts with G-.
Before adding anything, check whether GA4 is already installed. Open your website, view the page source, and search for G- or googletagmanager. If you find an existing tag, find out where it comes from first.

Step 2: Install GA4 on your platform
Pick one install method for your platform, and only one.
WordPress
You have two good options. Use only one.
- Site Kit by Google: the official plugin (wordpress.org listing, 5+ million active installs as of November 2026). Install it, connect your Google account, and turn on Analytics. It also shows Search Console data in your dashboard. Best if you just want it to work.
- Google Tag Manager: install GTM on your site (for example with a GTM plugin), then add a Google tag with your G- ID inside GTM. Best if you will also track forms, calls or ads later. See the Google Tag Manager beginner guide.
Avoid pasting the GA4 code into your theme as well as using a plugin. That is the most common cause of double counting on WordPress.

Shopify
- Install the Google & YouTube app (sales channel) from the Shopify App Store.
- Connect your Google account and choose your GA4 property. If the app is installed but Analytics is not connected, use the Get started button in the Google Analytics 4 box on its overview screen.
- Remove old tags. Google says leftover IDs saved in Online Store → Preferences create duplicates once GA4 is connected through the app. Also check your theme code and any custom pixels (Settings → Customer events).
Shopify also notes that GA4 does not track events while your store is password protected. Remove the password before you test. For missing purchases, see Shopify GA4 not tracking purchases.

Wix
- In your Wix dashboard, open Marketing Integrations.
- Under Google Tag, click Connect, then Add Google Tag ID.
- Paste your G- Measurement ID with no extra spaces and save.
Wix needs a Premium plan and a connected domain for this to work. If your site shows a cookie banner, Google Analytics only collects data after visitors consent, so your numbers may be lower than real traffic. Data can take a while to appear. Wix menus change, so use Wix’s help article if your dashboard looks different.
Step 3: Check it’s working
- Open your site in a new browser window.
- In GA4, go to Reports → Realtime. You should see yourself within a minute.
- Turn off any ad blocker while you test. Ad blockers stop GA4 from loading, which makes it look broken when it isn’t.
- Click around and check that each page view appears once, not twice.
Step 4: Three settings worth changing on day one
- Data retention: Admin → Data collection and modification → Data retention. Set event data retention to 14 months instead of the 2-month default, so explorations can look back further.
- Internal traffic: filter out your own visits, so your team does not inflate the numbers.
- Payment gateways: for online stores, add PayPal and similar gateways to the unwanted referrals list, so they do not steal credit for your sales.
Step 5: Track what matters
Page views tell you who visited. Key events tell you who did something useful. Go to Admin → Data display → Events and click the star next to each action that matters to your business:
- Online stores:
purchase(the Shopify app sends this automatically). - Service businesses (plumbers, HVAC, roofers): form submissions and call clicks. See how to track WordPress contact form submissions in GA4.
What to do in the first week
GA4 only records data from the day you install it, so a good start now saves guesswork later. Use the first week to confirm three things and then leave it alone.
- Day 1: confirm Realtime works and each page view counts once.
- Day 2 to 3: mark your key events and make one test submission or test order. Check it appears as a key event.
- Day 7: open Reports → Acquisition → Traffic acquisition and check that the numbers look plausible. A site with a few hundred visits a month should not show thousands.
If the numbers look twice as high as expected, look for a second tag first. If they look far too low, check for consent banners and ad blockers.
Setup checklist
- One GA4 property, one web data stream, correct time zone and currency.
- One install method only, and old tags removed.
- You can see yourself in Realtime, once per page view.
- Data retention set to 14 months.
- At least one key event marked (purchase or form submission).
Common mistakes
- Installing GA4 through two methods at once.
- Using a different time zone or currency in GA4 than in your store.
- Leaving data retention at 2 months.
- Testing with an ad blocker on and assuming GA4 is broken.
FAQ
Is GA4 really free?
The standard version of Google Analytics is free. Paid options exist for very large sites, but most small businesses never need them.
Do I need Google Tag Manager as well as GA4?
No. Site Kit or the Shopify app is enough to start. GTM becomes useful when you want to track forms, calls and ad conversions without editing code each time.
How long until data shows up?
Realtime shows visits within a minute or so. Standard reports can take a day or more to fill, and Google says data in the Shopify app can take 24 to 48 hours to update after a change.
Why are my GA4 numbers lower than my store or CRM?
Cookie consent, ad blockers and browser privacy settings all hide some visits. For stores, read why ad platform and store numbers don’t match.
Can GA4 show traffic from ChatGPT or Perplexity?
Sometimes, as referral traffic. See how to find ChatGPT, Perplexity and Gemini traffic in GA4. If you want to know whether AI tools mention your business at all, try the free AI visibility check.
Running an online store? Ecommerce conversion tracking sets up GA4 so it matches your real orders, or ask for a free tracking check.



