This section provides a practical, step-by-step guide to setting up GA4, assuming you have a Google account. For most New Zealand websites, Google Tag Manager (GTM) is the most flexible and recommended method for implementation.
Step 1: Create a New GA4 Property
- Log in to your Google Analytics account.
- Navigate to 'Admin' (gear icon) in the bottom left.
- Under the 'Property' column, click 'Create Property'.
- Enter a descriptive 'Property name' (e.g., 'Infynt NZ Website').
- Select 'New Zealand' as the 'Reporting time zone' and 'New Zealand Dollar (NZD)' as the 'Currency'. Click 'Next'.
- Provide 'Business information' relevant to your NZ operation and click 'Create'.
Step 2: Create a Data Stream
- After creating the property, you'll be prompted to choose a platform. Select 'Web'.
- Enter your website's URL (e.g.,
https://infynt.com) and a 'Stream name' (e.g., 'Infynt Web Stream').
- Ensure 'Enhanced measurement' is enabled. This automatically tracks page views, scrolls, outbound clicks, site search, video engagement, and file downloads — a significant advantage for understanding user behaviour on NZ content.
- Click 'Create stream'. Note down your 'Measurement ID' (e.g.,
G-XXXXXXXXXX).
Step 3: Implement GA4 via Google Tag Manager (GTM)
- If you don't have GTM installed, add the GTM container snippet to every page of your website immediately after the opening
tag and after the opening tag. For common NZ CMS platforms like Shopify or WordPress, there are specific plugins or theme editor options.
- In your GTM workspace, create a new 'Tag'.
- Choose 'Google Analytics: GA4 Configuration' as the 'Tag Type'.
- Paste your 'Measurement ID' (from Step 2) into the 'Measurement ID' field.
- Set the 'Triggering' to 'All Pages'.
- Name your tag (e.g., 'GA4 - Configuration') and 'Save' it.
- Crucially, 'Submit' your GTM container to publish these changes live. Verify real-time data in GA4's 'Realtime' report to confirm successful implementation.
Step 4: Configure Custom Event Tracking for NZ-Specific Conversions
This is where GA4 truly shines for NZ businesses, allowing precise measurement of actions like phone calls to your 0800 number or successful e-commerce transactions using local payment gateways.
-
Phone Click Tracking (e.g., 0800-INFYNT):
- In GTM, create a new 'Tag'.
- 'Tag Type': 'Google Analytics: GA4 Event'.
- 'Configuration Tag': Select your 'GA4 - Configuration' tag.
- 'Event Name':
phone_call (or call_clicked).
- Add 'Event Parameters' (optional but recommended for detail):
phone_number: {{Click URL}} (assuming your phone link is tel:+64...)
page_path: {{Page Path}}
- 'Trigger': Create a new 'Trigger' of type 'Click - Just Links'.
- 'Fire On': 'Some Link Clicks'.
- 'Conditions': 'Click URL' 'starts with'
tel:.
- Name your tag (e.g., 'GA4 - Event - Phone Call') and trigger (e.g., 'Click - Phone Call'). 'Save' and 'Submit' GTM.
-
Form Submission Tracking (e.g., Contact Us Form):
- In GTM, create a new 'Tag'.
- 'Tag Type': 'Google Analytics: GA4 Event'.
- 'Configuration Tag': Select your 'GA4 - Configuration' tag.
- 'Event Name':
form_submit (or contact_form_submission).
- Add 'Event Parameters':
form_id: {{Form ID}} (if available via GTM's built-in variables)
page_path: {{Page Path}}
- 'Trigger': This often requires a custom 'Trigger' based on your form's behaviour. Common methods include:
- 'Form Submission' trigger (if the form uses standard HTML submission).
- 'Element Visibility' trigger (for single-page applications or success messages).
- 'Custom Event' trigger, fired by a
dataLayer.push() after successful submission (most robust).
- Name your tag (e.g., 'GA4 - Event - Form Submit') and trigger. 'Save' and 'Submit' GTM.
-
Sales/E-commerce Tracking (e.g., Purchase via Stripe NZ/Windcave):
- For e-commerce, GA4 leverages the
purchase event and standard e-commerce parameters. This requires a dataLayer.push() on your order confirmation page.
- Example
dataLayer.push() for a successful NZ e-commerce transaction (ensure your developer implements this dynamically):
window.dataLayer = window.dataLayer || [];
dataLayer.push({
'event': 'purchase',
'ecommerce': {
'transaction_id': 'NZL-ORDER-{{ORDER_ID}}',
'value': {{TOTAL_AMOUNT_EX_GST}} * 1.15, // Include 15% GST for total value
'tax': {{TOTAL_AMOUNT_EX_GST}} * 0.15,
'shipping': {{SHIPPING_COST}},
'currency': 'NZD',
'items': [
{
'item_id': 'SKU-001',
'item_name': 'Kiwi Honey Jar',
'price': 25.00,
'quantity': 2
},
{
'item_id': 'SKU-002',
'item_name': 'Pōhutukawa Print',
'price': 40.00,
'quantity': 1
}
]
}
});
- In GTM, create a new 'Tag':
- 'Tag Type': 'Google Analytics: GA4 Event'.
- 'Configuration Tag': Select your 'GA4 - Configuration' tag.
- 'Event Name':
purchase.
- 'Trigger': Create a new 'Custom Event' trigger named
purchase.
- Name your tag (e.g., 'GA4 - Event - Purchase'). 'Save' and 'Submit' GTM.
- Note: Ensure all monetary values sent to GA4 for NZ sales are consistently either inclusive or exclusive of 15% GST, depending on your reporting needs. The example above shows including GST for total value.
For complex e-commerce setups, especially those integrating with local couriers like NZ Post or Aramex, or specific payment providers, this process can become intricate. If you find yourself in need of expert assistance, Infynt's Analytics integration & conversion tracking services are designed to handle these complexities, ensuring accurate data collection and actionable insights for your New Zealand business.