Skip to main content

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.

Google Analytics 4 (GA4) tracks your site traffic — sessions, users, pageviews, top pages, and more. Okara uses this data to populate your Traffic tab.
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

  1. Go to analytics.google.com and sign in with your Google account
  2. Click Start measuring
  3. Enter an account name (your company name works)
  4. Click Next

Step 2: Create a property

  1. Enter a property name (your website name)
  2. Set your reporting time zone and currency
  3. Click Next
  4. Fill in your business details and click Create

Step 3: Set up a data stream

  1. Choose Web as your platform
  2. Enter your website URL and a stream name
  3. Click Create stream
  4. 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:
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.
  1. Go to Project Settings > Custom Code
  2. Paste the GA4 script tag into the Head Code section
  3. Publish your site
  1. Go to Site Settings > General
  2. Paste the GA4 script tag into the Custom Code head section
  3. Publish your site
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.