# Using Google Analytics with PrestaShop

> Track visitors, sales and conversions in your PrestaShop store by installing and configuring the Google Analytics module.

Source: https://helpcenter.ruachost.com/apps/prestashop/using-google-analytics-with-prestashop/

**Google Analytics** provides detailed statistics about visitor traffic to your site. Integrating it with **PrestaShop** allows you to track customer behavior, measure conversions, and optimize your store’s performance. On **ruachost.com**, you can enable Google Analytics quickly using the official module.

## Why Use Google Analytics?

- Understand visitor demographics and behavior.
- Track sales funnels and conversion rates.
- Identify high‑performing products and pages.
- Improve marketing campaigns with data‑driven insights.

## Steps to Enable Google Analytics in PrestaShop

### Step 1: Create a Google Analytics Account

1. Visit Google Analytics.
2. Sign in with your Google account.
3. Create a new property for your PrestaShop store.
4. Copy the **Tracking ID** (format: `UA-XXXXXXXXX-X` or `G-XXXXXXXXXX` for GA4).

### Step 2: Install the Google Analytics Module

1. Download the official **Google Analytics module** from the PrestaShop Addons Marketplace.
2. Log in to your PrestaShop admin panel.
3. On the left menu, click **Modules → Module Manager → Upload a module**.
4. Upload the `.zip` file you downloaded.
5. Once installed, locate **Google Analytics** in the module list and click **Configure**.

### Step 3: Configure the Module

1. Enter your **Google Analytics Tracking ID** in the settings.
2. Save the configuration.
3. PrestaShop will now send visitor data directly to Google Analytics.

### Step 4: Verify Integration

- Log in to Google Analytics.
- Go to **Realtime → Overview**.
- Visit your PrestaShop site in another browser tab.
- You should see your visit appear in the realtime dashboard.

## Important Notes

- It may take up to **24 hours** for Google Analytics to start showing full data.
- Ensure your site uses **SSL (HTTPS)** for accurate tracking.
- If you use **Google Analytics 4 (GA4)**, make sure the module supports GA4 or add the tracking code manually in your theme.
