Google Analytics
If you have Google Analytics on your website (which you probably do), you can have Gift Up record your gift card sales as e-commerce orders. We support the newer Google Analytics 4.
To do this, you will need your Measurement Id from your Google Analytics 4 account.
- Sign in to your Analytics account.
- Click Admin
- Select an account from the menu in the ACCOUNT column.
- Select a property from the menu in the PROPERTY column.
- Under PROPERTY, click Tracking Info > Tracking Code. Your tracking ID is displayed at the top of the page.
The GA4 tracking ID is a string like G-123456
.
Once you've got this, head over to the Gift Up integrations page and enter the tracking ID in the Google Analytics card:
What data gets reported to Google Analytics?
We report the following information via a 'purchase' event:
- transaction_id: Order Id
- value: Total revenue
- currency: Currency
- affiliation: 'Gift Up'
Then for each gift card we add an 'item' to the 'purchase' event above containing:
- item_name: Item bought name
- item_id: The item's SKU, if specified, or the item name if no SKU specified
- price: The gift card price paid
- quantity: 1