How to set up Google
Analytics (GA4)

Published
Dec 12, 2025
Before Using Backkr You Will Need Google Analytics 4 (GA4).

Here is a step by step video to guide you through setting up a new GA4 account.

How to Connect Google Analytics 4 (GA4) to Any Website Platform in 2025

If you’re setting up GA4 on your website this year, you’ll notice that many CMS platforms have changed how integrations work.

After watching the video, you will need to put the data provided into your CMS (the website platform you are using e.g. Sqaurespace).

Here’s your step-by-step guide to connecting GA4 to today’s most popular website builders.

🔷 1. Squarespace
✅ How to Connect GA4
1. In your GA4 property, copy your Measurement ID (e.g., `G-XXXXXXXXXX`).
2. In Squarespace, go to Settings → Advanced → Code Injection.
3. Paste this full GA4 script in the Header section:  ```html <!-- Google tag (gtag.js) -->
<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>```
4. Save and publish.
💡 Tip: For multiple analytics or ad pixels, use Google Tag Manager — Squarespace now supports it natively.


🔷 2. Webflow
✅ How to Connect GA4
1. Copy your full GA4 tracking script (as above).
2. In Webflow, open your Project → Settings → Custom Code → Head.
3. Paste the script in the Header section.
4. Save and publish your site.


🔷 3. Wix
✅ Option A: Use Built-In GA4 Integration1. Go to Dashboard → Marketing Integrations → Google Analytics.
2. Select Connect GA4
3. Paste your Measurement ID (G-XXXXXXXXXX).
4. Save.

✅ Option B: Add Manually (Advanced)1. Go to Settings → Custom Code.
2. Paste the full GA4 script in the Head section.
3. Apply to All Pages.
4. Save and publish.


🔷 4. WordPress
✅ Option A: Use Google Site Kit (Recommended)1. Install the Google Site Kit plugin.
2. Connect your Google account.
3. Choose your GA4 property.
4. Site Kit automatically installs the tracking tag and manages updates.

✅ Option B: Add Code ManuallyIf you prefer manual control:
1. Install Code Snippets or Insert Headers and Footers plugin.
2. Paste your full GA4 script in the Header section.
💡 Editing `header.php` still works, but is discouraged for newer block-based themes.


🔷 5. Shopify
✅ Option A: Native GA4 Integration1. Go to Settings → Customer Events.
2. Click Connect Google Analytics 4.
3. Sign in to Google and choose your GA4 property.

✅ Option B: Manual Setup (Older Themes)1. Go to Online Store → Themes → Edit Code.
2. Open `theme.liquid`.
3. Paste the GA4 script before `</head>`.
4. Save and publish.


🔷 6. Carrd
✅ How to Connect GA41. Open your Carrd project.
2. Go to Settings → Analytics.
3. Paste your Measurement ID (G-XXXXXXXXXX).
4. Save and publish.Carrd automatically injects the correct GA4 tag — no manual coding needed.


🔷 7. Ghost
✅ How to Connect GA41. In your Ghost admin, go to Settings → Code Injection.
2. Paste the full GA4 script in the Header field.
3. Save and publish.
Start Marketing