Google Analytics

This guide explains how to integrate analytics events from the eventplus registration process into Google Analytics 4.

Connecting Google Analytics and eventplus

This guide explains how to integrate analytics events from the eventplus registration process into Google Analytics 4. This will make the whole purchase journey visible, from acquisition via social media, advertisement or event website, through each step of the eventplus registration process, recording ecommerce purchase metrics on completion. Google Analytics reports can then be used to show sales funnel breakdowns, abandonment rates, demographic revenue and other key marketing insights.


Part 1: Preparation

If you already have Google Analytics 4 set up, skip to Part 2.

These steps guide you through a basic GA4 and Google Tag Manager (GTM) setup to track website pageviews. You may extend this setup as needed.

1. Sign in to the [Google Tag Manager](https://tagmanager.google.com/) console.
2. Set up a web container for your website (if not already done).
3. Add the Google Tag to your website container.
4. Add the Google Analytics: GA4 Event tag to your website container.
5. Add the tag manager script to your website by following the instruction under (Admin > Install Google Tag Manager).

The exact steps to install the tag manager script for your website will vary depending on the many possible technologies used to build your website. There may be a simple integration option available via your website dashboard or you may need to check with your web designer/developer.

6. After installing the tag manager script, confirm that you can see pageviews / active users appearing for your website in the [Google Analytics Dashboard](https://analytics.google.com).


Part 2: Connecting Eventplus to Google Analytics

1. Sign in to [Google Analytics](https://analytics.google.com/).
2. Go to the Admin settings menu.

3. Go to the Data Streams section.

4. Choose the data stream to which the analytics events should be sent.

5. Copy the Measurement ID (G-XXXXXXX) for the data stream by clicking the copy button.

6. Sign in to the [Eventplus dashboard](https://dashboard.eventplus.net/).

7. Choose the event you want to configure. Navigate to Setup > Integrations > Google Analytics for your event.

8. Paste the Measurement ID (G-XXXXXXX) into the Google Analytics Measurement ID box.

9. Choose the analytics events to send to GA4 (see Appendix 1) and then click save.


Appendix 1: Analytics Events

There are nine analytics events available in eventplus. Eight of these are custom events which include extra parameters which can optionally be used to create advanced reports, one is a standard purchase event which will automatically provide revenue and purchaser information to Google Analytics.

Tip: For many usage scenarios it may only be necessary to enable the purchase event. Some custom events may be sent multiple times depending on application navigation so be prepared to handle that before enabling them.

Event Name Description
eventplus_landed The user has viewed the event landing page at eventplus.net/yourevent123
eventplus_signed_in The user has signed into eventplus. If the user created a new eventplus account then this event is sent once they complete the account sign up.

Extra Parameters:
account_id - Unique eventplus account id of the person signing in.

Example Data
{
  account_id: "acc_xxxxx",
}
eventplus_chose_category The user has chosen a registration category and continued on to the registration form.

Extra Parameters:
account_id - Unique eventplus account id of the person being registered.
categories - Array of comma separated category codes.

Example Data
{
  account_id: "acc_xxxxx",
  categories: [
    "10km_run",
    "5km_run"
  ]
}
eventplus_completed_reg_form The user has completed all the questions on the registration form and the registration has been added to the basket, but is not yet saved to an order or paid.

Extra Parameters:
account_id - Unique eventplus account id of the person being registered.
categories - Array of comma separated category codes.

Example Data
{
  account_id: "acc_xxxxx",
  categories: [
    "10km_run",
    "5km_run"
  ]
}
eventplus_added_merchandise A product has been chosen and added to the basket, but has not yet been saved to an order or paid.

Extra Parameters:
account_id - Unique eventplus account id of the signed in person.
product_id - Unique eventplus product id.
sku - Stock keeping unit for the product.
price - Product price per unit.
currency - Currency code for the product price.
qty - Quantity added to the basket.
options - product variant option, comma separated.

Example Data
{
  account_id: "acc_xxxxx",
  product_id: "prd_xxxxx",
  sku: "SKU12345",
  price: 40.00,
  currency: "NZD",
  qty: 2,
  options: "Color = Green, Size = L"
}
eventplus_removed_merchandise A product previously added to the basket has been removed.

Extra Parameters:
account_id - Unique eventplus account id of the signed in person.
product_id - Unique eventplus product id.
sku - Stock keeping unit for the product.
price - Product price per unit.
currency - Currency code for the product price.
qty - Quantity added to the basket.
options - Product variant options, comma separated.

Example Data
{
  account_id: "acc_xxxxx",
  product_id: "prd_xxxxx",
  sku: "SKU12345",
  price: 40.00,
  currency: "NZD",
  qty: 2,
  options: "Color = Green, Size = L"
}
eventplus_removed_registration A registration previously added to the basket has been removed.

Extra Parameters:
account_id - Unique eventplus account id of the signed in person.
category_code - Category code for the removed registration.

Example Data
{
  account_id: "acc_xxxxx",
  category_code: "10km_run"
}
eventplus_checked_out The current basket has been saved as an order and is ready for payment.

Extra Parameters:
account_id - Unique eventplus account id of the signed in person.
order_value - Value of the order being saved.
currency - Currency code for the order.

Example Data
{
  account_id: "acc_xxxxx",
  order_value: 45.00,
  currency: "NZD"
}
purchase The saved order has been paid, any registrations on the order are now complete.

This is a standard Google Analytics purchase event and contains the necessary data for eCommerce reporting.

Extra Data:
account_id - Unique eventplus account id of the signed in person.
order_id - Unique eventplus order id.
transaction_id - Unique eventplus transaction id.
value - Total order value.
currency - Currency code for the order.
items - An array of the following data, one per order item:
    item_id - SKU for the item
    item_name - Description of the item
    item_variant - List of product variants, eg. Size/Color
    item_discount - Any discount amount for this item.
    price - Price of the item.
    quantity - Quantity of the item.

Example Data
{
  account_id: "acc_xxxxx",
  order_id: "ord_xxxxx",
  transaction_id: "txn_xxxxx",
  value: 30.03,
  currency: "NZD",
  items: [
    {
      item_id: "SKU123456",
      item_name: "Sports Tee",
      discount: 5.00,
      item_variant: "Size = XL",
      price: 20.00,
      quantity: 1
    }
  ]
}


Appendix 2: Debug Mode

In order to help with troubleshooting, the eventplus Google Analytics integration includes a ‘Debug mode’ which can be enabled in the integration settings. With this option enabled all analytics events will be sent with the debug flag set and will show up in Google Analytics > Admin > Data Display > DebugView