Google Analytics¶
What It Does¶
Track your website visitors, see where they come from, and understand how they use your store. Google Analytics helps you make better business decisions by showing which products are popular, which marketing campaigns work, and where customers drop off during checkout.
When to Use It¶
Enable this plugin if you want to:
- Track website traffic and visitor behavior
- Understand which products get the most views
- See where your customers come from (Google, social media, direct links)
- Measure marketing campaign effectiveness
- Monitor conversion rates and sales funnels
How It Works¶
Once enabled, Google Analytics automatically tracks all visitor activity on your store. The tracking code loads on every page without affecting site speed.
Setup Instructions¶
Step 1: Get Your Google Analytics Measurement ID¶
- Go to Google Analytics
- Sign in with your Google account
- Create a new property for your store (if you haven't already)
- Navigate to Admin (gear icon at bottom left)
- Under Property, click Data Streams
- Select your web data stream
- Copy your Measurement ID (starts with
G-)
Step 2: Enable the Plugin¶
- In your store admin, go to System Settings > Plugins
- Find the Google Analytics card
- Click Configure
- Enable the plugin using the toggle switch
- Paste your Measurement ID in the Measurement ID field
- Click Save
Configuration Fields¶
Enabled¶
Type: Toggle Description: Turn the plugin on or off
Measurement ID¶
Type: Text
Required: Yes
Format: G-XXXXXXXXXX
Description: Your Google Analytics 4 (GA4) measurement ID from the Google Analytics admin panel
Example: G-ABC123XYZ
Verification¶
After enabling the plugin:
- Visit your store website
- Go back to Google Analytics
- Navigate to Reports > Realtime
- You should see your visit appear within 30 seconds
If you don't see data, double-check your Measurement ID is correct.