Google Analytics
How to setup and use google analytics to track key events across your selling experience.
Last updated
How to setup and use google analytics to track key events across your selling experience.
Last updated
The following guide will outline the steps required to set up google analytics for use with Different Breed.
You can find the location to define tracking pixels on Different Breed by accesing the following from your event: Marketing > Tracking Pixels. Once loaded, click Create Pixel, select Google Analytics or Google Adwords as the provider and follow the next steps.
Different Breed is unable to assist with setting up your Google Analytics property. If you need help with this step, follow these steps from Google’s Help Center.
For websites, a Measurement ID can be used to send data to your Google Analytics 4 property through an associated web data stream (similar to a Tracking ID in Universal Analytics properties). Find your Measurement ID in Admin > Data Streams.
Once found, past the value into the "Measurement ID" field.
NOTE: If you’re still using Universal Google Analytics, you will need to upgrade to Google Analytics v4 to enable tracking on Different Breed.
To create a new secret, navigate in the Google Analytics UI to: Admin > Data Streams > choose your stream > Measurement Protocol > Create
Once created copy the secret value and paste it into the "Measurement Secret" field.
On the Different Breed Tracking Pixel form you are presented with a number of events and page views you can track. While the majority of these are standard events and do not require additional set up, a few will require custom events to be created to get the most of our your reports.
To create a new custom event, navigate in the Google Analytics UI to: Admin > Data Streams > choose your stream > Measurement Protocol > Create
Once you have selected your desired events, simply save the pixel and the tracking events will begin to fire.
To test your tracking pixel, Simply view the Real Time Reporting view within your Google Analytics UI. Once you have the rea time reporting view loaded, navigate your event page and trigger the enabled events to see them appear in the UI.
All the events we send will contain the following user data.
For the purpose of having the active users logged, we set engagement_time_msec
to 1 in every tracking event we send.
All the events we send to Google Analytics contain the following structure and properties:
Tracks a customer landing on a desired page during the selling experience. The following pages are supported:
Event Listing
Checkout
Order Confirmation
For each page view you enable we will send the following data structure to Google Analytics:
Tracks when a customer enters a promo code.
Tracks a traditional utm style campaign. To track this effectively your URL parameters should be formatted in the following way:
Google have a useful tool to help with this: https://ga-dev-tools.google/ga4/campaign-url-builder/
This will enable us to send the following data structure to Google Analytics:
Tracks when a manual order has been claimed by a customer.
Tracks when a customer adds a ticket or an add-on to the cart.
Tracks when a customer removes a ticket or add-on from the cart.
Tracks when the customer begins to checkout with their cart.
Tracks when a customer completes checkout successfully.
Event Name | GA4 Event | Description |
---|---|---|
Event Name | GA4 Event | Matching Condition | Description |
---|---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Page View
page_view
Tracks a customer landing on a desired page during the selling experience.
Add To Cart
add_to_cart
Tracks when a customer adds a ticket or an add-on to the cart.
Remove From Cart
remove_from_cart
Tracks when a customer removes a ticket or add-on from the cart.
Begin Checkout
begin_checkout
Tracks when the customer begins to checkout with their cart.
Complete Purchase
purchase
Tracks when a customer completes checkout successfully.
Promo Code Redeemed
promo_code_entered
Parameter event_name equals promo_code_entered
Tracks when a customer enters a promo code.
Campaign
campaign
Parameter event_name equals campaign
Tracks a traditional UTM style campaign.
Manual Order Claimed
manual_order_claimed
Parameter event_name equals manual_order_claimed
Tracks when a manual order has been claimed by a customer.
user_agent
string
The User-Agent string of the user's browser, which provides information about the browser type, version, and operating system.
client_ip
string
The IP address of the client making the request, used to identify the geographic location of the user.
client_id
string (uuid)
A unique identifier for the client, typically generated by the client to uniquely identify a user or device across sessions.
gclid
string
The Google Click Identifier, a parameter used by Google Ads to track ad clicks and conversions.
client_id
string (uuid)
A unique identifier for the client, typically generated by the client to uniquely identify a user or device across sessions.
events
Array
An array of tracking events to be processed.
page_title
string
The title of the page sending the event.
page_location
string
The url of the page sending the event.
db_event_id
string
The id of the event you are selling for on Different Breed.
page_location
string
The url of the page sending the event.
page_title
string
The title of the page sending the event.
db_event_id
string (uuid)
The id of the event you are selling for on Different Breed.
promotion_id
string
The promotional code applied.
promotion_name
string
The promotional code applied.
campaign_id
string
The provided campaign id from the url.
campaign
string
The provided campaign from the url.
source
string
The provided source from the url.
medium
string
The provided medium from the url.
term
string
The provided term from the url.
content
string
The provided content from the url.
manual_order_id
string(uuid)
ID of the manual order claimed.
manual_order_reference
string
The claim code used.
value
number
The total value of items added.
currency
string
The ISO currency code used.
items
array
List of items added to the cart.
items[0].item_id
string(uuid)
The ticket or add-on id.
items[0].item_brand
string
Tickets or Add-ons
items[0].item_name
string
Ticket or Add-on name.
items[0].item_variant
string
Addon variant name.
items[0].item_category
string
ticket or addon
items[0].item_list_name
string
Tickets or Add-ons
items[0].coupon
string
Promo code used.
items[0].discount
number
The amount discounted from the original price.
items[0].index
number
Item index.
items[0].price
number
Price of the item added with discounts applied.
items[0].quantity
number
Number added, This will always be 1.
value
number
The total value of items added.
currency
string
The ISO currency code used.
items
array
List of items added to the cart.
items[0].item_id
string(uuid)
The ticket or add-on id.
items[0].item_brand
string
Tickets or Add-ons
items[0].item_name
string
Ticket or Add-on name.
items[0].item_variant
string
Addon variant name.
items[0].item_category
string
ticket or addon
items[0].item_list_name
string
Tickets or Add-ons
items[0].coupon
string
Promo code used.
items[0].discount
number
The amount discounted from the original price.
items[0].index
number
Item index.
items[0].price
number
Price of the item removed with discounts applied.
items[0].quantity
number
Number removed, This will always be 1.
value
number
The total value of items added.
currency
string
The ISO currency code used.
transaction_id
string(uuid)
The cart id.
items
array
List of items added to the cart.
items[0].item_id
string(uuid)
The ticket or add-on id.
items[0].item_brand
string
Tickets or Add-ons
items[0].item_name
string
Ticket or Add-on name.
items[0].item_variant
string
Addon variant name.
items[0].item_category
string
ticket or addon
items[0].item_list_name
string
Tickets or Add-ons
items[0].coupon
string
Promo code used.
items[0].discount
number
The amount discounted from the original price.
items[0].index
number
Item index.
items[0].price
number
Price of the item with discounts applied.
items[0].quantity
number
Number added, This will always be 1.
value
number
The total value of items added.
currency
string
The ISO currency code used.
transaction_id
string(uuid)
The cart id.
items
array
List of items added to the cart.
items[0].item_id
string(uuid)
The ticket or add-on id.
items[0].item_brand
string
Tickets or Add-ons
items[0].item_name
string
Ticket or Add-on name.
items[0].item_variant
string
Addon variant name.
items[0].item_category
string
ticket or addon
items[0].item_list_name
string
Tickets or Add-ons
items[0].coupon
string
Promo code used.
items[0].discount
number
The amount discounted from the original price.
items[0].index
number
Item index.
items[0].price
number
Price of the item with discounts applied.
items[0].quantity
number
Number added, This will always be 1.