Gifted | Google Analytics 4 for third-party tracking

Gifted | Google Analytics 4 for third-party tracking

This article covers third-party tracking implementation (if required by your marketing team or agency). Please click here for our article on standard Google Analytics 4 (GA4) tracking implementation, If you wish to have bespoke GA4 tracking, please ensure you follow the linked guide to avoid any duplication of tracking.
Google Tag Manager
For third-party tracking, including Google AdWords & Meta, your Google Tag Manager will be required. Please follow the steps below to access your container ID and share this with a member of the onejourney team.
  1. To find your Google Tag Manager container ID:

  2. Log in to your Google Tag Manager account and open a container

  3. In the top right corner (next to the Submit and Preview buttons) you’ll see some short text that starts with GTM- and then contains some letters/numbers.

  4. That’s your Google Tag Manager ID.

Event Triggers

Within Gifted, there are many points in which you can add tracking, to create a trigger for one of these events, follow the steps below:

  1. Log in to your Google Tag Manager account and open your container

  2. Click ‘Triggers’ within the left-hand menu bar

  3. To create a new trigger, click ‘New’

  4. Choose your trigger type as a ‘Custom Event’

  5. Write the following ‘events’ within the table to fire on your desired event

  6. Press Save, and use your trigger with your desired tracking

Description

GTM event

A ‘product view’

view_item

Adding any product to the basket

add_to_cart

View basket

view_cart

Begin checkout

(option of guest or sign-in)

begin_checkout

Guest details & payment

add_payment_info

Order Complete

orderComplete

Order Confirmation Variables

  1. Log in to your Google Tag Manager account and open your container

  2. Click ‘Variables’ within the left-hand menu bar

  3. To create a new variable, click ‘New’

  4. Choose your variable type ‘Data Layer Variable’

  5. Write the following ‘variable’ within the table to fire with your desired tag

  6. Press Save, and use your variable with your desired tracking

Description

'Variable'

Order Reference

ecommerce.purchase.actionField.id

Basket Total Value

ecommerce.purchase.actionField.revenue

Shipping Amount

ecommerce.purchase.actionField.shipping

Tax Amount

ecommerce.purchase.actionField.tax



    • Related Articles

    • Gifted | Google Analytics 4 tracking

      Gifted comes with built-in Google Analytics 4 (GA4) e-commerce tracking. This article covers the initial implementation of GA4. Please click here for more information on third-party tracking implementation (for your marketing team or agency). 1. Your ...
    • Gifted | How to find the RM Tracking number (when Gifted are fulfilling)

      If the Gifted team are fulfilling for you and the customer has selected and paid for Special Delivery or International Tracked and Signed then the team will always add the tracking code to Gifted once it has been dispatched. If it has been dispatched ...
    • Gifted | How to upload an image for a voucher

      Log on to the Gifted platform. Click 'Vouchers' (located on the left-hand side). Scroll to the voucher you are looking for. Click on 'Edit'. Under the voucher title, select the ‘Design’ tab (third tab along the top). Click on the 'Choose file' button ...
    • Gifted | Glossary

      The Gifted Glossary is designed to help you with our terminology and make sure you don’t feel a little lost and confused by our jargon. So… what do the following words mean? Breakage - In essence, it's pure profit. It simply refers to the vouchers ...
    • Gifted | Payment Reconciliation

      Log on to your Gifted platform Click on 'Reports' in the menu on the left Select 'Finance' from the 4 options Enter the dates required for the report. Click on 'Download CSV' (This file contains voucher no, order details, status, fees paid, postage ...