> ## Documentation Index
> Fetch the complete documentation index at: https://help-center.quizify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Analytics

> Connect Google Analytics (GA4) to track quiz impressions, question progression, completions, and conversion events.

## Overview

Connect Google Analytics with Quizify to automatically track quiz events, user interactions, and completions. Gain valuable insights into engagement and conversions to optimize your funnels and improve campaign performance.

## Before You Start

* You need a **Google Analytics 4 Measurement ID** (starts with `G-`).
* No User Form or lead email is required for analytics tracking.
* **Growth Plan** or higher in Quizify.

## Navigation

1. Go to **Shopify Admin → Apps → Quizify**.
2. Open your quiz from **Dashboard** or **My Quizzes**.
3. In the Quiz Builder, click **Integration** in the left navigation menu.
4. Select **Tracking & Analytics** and click **Google Analytics**.

## How to Connect Google Analytics

### Step 1: Find GA4 Measurement ID

1. In Google Analytics, navigate to **Admin → Data Streams**.
2. Select your Web data stream and copy the **Measurement ID** (e.g. `G-XXXXXXXXXX`).

### Step 2: Paste ID in Quizify

1. In Quizify, click **Google Analytics**.
2. Enter your **Measurement ID**.
3. Click **Connect**.

### Step 3: Save & Test

Click **Save** in the Quiz Builder. Open your store's live quiz in another tab, then check the **GA4 Realtime report** to see incoming quiz events.

## Tracked Events

| Event Name           | Description                                 | Parameters                        |
| :------------------- | :------------------------------------------ | :-------------------------------- |
| quiz\_view           | When the quiz widget is rendered            | quiz\_id, quiz\_title             |
| quiz\_start          | When the user begins answering questions    | quiz\_id, quiz\_title             |
| quiz\_question\_view | On each step or question view               | question\_number, question\_text  |
| quiz\_complete       | When the results page is displayed          | quiz\_id, result\_recommendations |
| quiz\_add\_to\_cart  | When a recommended product is added to cart | item\_id, item\_name, price       |

## Troubleshooting

<AccordionGroup>
  <Accordion title="Events not appearing in GA4 Realtime">
    GA4 realtime updates can take 30–60 seconds. Ensure the measurement ID begins with `G-` and your browser ad-blocker is turned off.
  </Accordion>
</AccordionGroup>
