Google Analytics 4 (GA4) tracks your site traffic — sessions, users, pageviews, top pages, and more. Okara uses this data to populate your Traffic tab.Documentation Index
Fetch the complete documentation index at: https://okara.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
If you already have GA4 set up and verified on your site, skip to connecting it to Okara.
Step 1: Create a Google Analytics account
- Go to analytics.google.com and sign in with your Google account
- Click Start measuring
- Enter an account name (your company name works)
- Click Next
Step 2: Create a property
- Enter a property name (your website name)
- Set your reporting time zone and currency
- Click Next
- Fill in your business details and click Create
Step 3: Set up a data stream
- Choose Web as your platform
- Enter your website URL and a stream name
- Click Create stream
- Copy your Measurement ID — it looks like
G-XXXXXXXXXX
Step 4: Add the tracking code to your site
How you add the code depends on your platform:WordPress
WordPress
Install the Site Kit by Google plugin from the WordPress plugin directory. It handles GA4 installation and verification automatically.Alternatively, paste the GA4 script tag into your theme’s
<head> section, or use a plugin like Insert Headers and Footers.Webflow
Webflow
- Go to Project Settings > Custom Code
- Paste the GA4 script tag into the Head Code section
- Publish your site
Framer
Framer
- Go to Site Settings > General
- Paste the GA4 script tag into the Custom Code head section
- Publish your site
Other platforms
Other platforms
Paste the GA4 global site tag (
gtag.js) into the <head> of every page on your site. Most website builders have a Custom Code or Head Scripts section in their settings.Step 5: Verify it’s working
Go back to analytics.google.com, open your property, and check Reports > Realtime. Visit your website in another tab. You should see at least 1 active user appear within a minute or two.GA4 only shows data from the moment you install it. Historical traffic data before installation is not available.
Connect to Okara
Once GA4 is tracking your site, connecting it to Okara takes about a minute.Connect Google Analytics
Pull your traffic data into your Analytics panel.