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 GA4 Measurement ID needs to be added to Gifted
If not already shared, you will need to email
support@journey.travel with your measurement ID. (Please note that measurement IDs are different from property IDs, your property ID will not enable data collection).
Once your measurement ID has been added by the support team, this will enable all tracking within the platform from e-commerce to onsite behaviour. Please ensure that if you have provided this ID as well as your GTM ID, you follow the actions listed below to avoid any duplication of events and tracking.
Follow these steps find out how to find your GA4 measurement ID:
1. Go to your GA4 property and click on “Admin” on the bottom left.
2. Under “Property,” click “Data streams.
3. Click on your data stream name which you would like to track Gifted platform within
4. Your measurement ID is in the top right.
2. Ensure your Google Analytics doesn’t count traffic going from your website to Gifted as referral traffic
Please follow these steps to complete this:
1. Go to your GA4 property and click on “Admin” on the bottom left.
2. Under “Property,” click “Data streams.”
3. Click on the data stream name which you used in the previous slide.
4. At the bottom of this, there should be a button for ‘Configure tag settings’, click this.
5. In the new pane, click the second option in settings ‘Configure your domain’
6. Click 'Add condition', then add your website domain using the contain match type (you don’t need the
https://www.)7. Add a second condition to include your Gifted domain (if you go through to your Gifted storefront, you can find this here, it’s usually hotelname.wearegifted.co.uk).
3. User and event data retention
It’s worth checking your user and event data retention to ensure that it aligns with your website’s privacy and cookie policies. By default, this will be set to 2 months (but can be changed to 14 months to allow for a longer window in which to track and report on user-level event data).
To check and change your user and event data retention:
- Go to your GA4 property
- Go to settings, open the 'Data Settings' dropdown, then click on 'Data Retention'
- You can then check and amend the properties event data retention and find more information on the setting from Google
4. Google Analytics duplicate tracking
To avoid duplicate tracking, please ensure any existing GA4 tracking (both your configuration and event tags) within your Google Tag Manager are not set to track the Gifted platform. By having both trackings in place, there may be duplication of users recorded, with it being tracked twice and skewing your data.
To find out how to stop this:
- Login into Google Tag Manager
- Edit your ‘Google Analytics 4’ code
- Click ‘Add Exception’
![](https://journey-bd59bb557455.intercom-attachments-7.com/i/o/759180018/bd9ce6d6a341a7579c15c5c1/o40ux__f2YGJOFltXzn-8amL73eF0YoI0j_SC35Cq_zlCsRb_whQkNFRSk9eNPFyLfepeVq1o44Cq1atJvuvLUvl8A8GFbIR0FC2pi4wLF_V_EMb2t6mY5vuqaeBtt7-1P9w-YFfdl8nPuETJx2qEo22sQ%3Ds2048)
- In the 'Choose a trigger' section, click (+)
![](https://journey-bd59bb557455.intercom-attachments-7.com/i/o/759180030/b0f8786596efa1a5c8404b24/2ZVvD0JdsLwFi2av4VNV0U44MQW9mh12ChwLmz-MIWDmzkdZIFPcjE7_D5GYGSU0c2MFJQwPcC-j61CuXECysxR6Ajc6rRbkCLJs01bkhTxoJgglR-6af1C77hSxlmaS8cdz2Kx8d7JsOKeMYLQyt8h_zQ%3Ds2048)
- Click ‘Page View’
- Check the box ‘some page views’ and in the drop-down pick ‘page hostname’
- Write ‘wearegifted.co.uk’ within the box
![](https://journey-bd59bb557455.intercom-attachments-7.com/i/o/759180044/8d8fad19aae72ce0262ff584/UvWhj6TP1iqWe-OmklN1eFF7pegrTANFVNuzEyaFNft--cI5gQhDzecHkNLqMK4nXIkcHVyJij7oHLJqHXHd8vTr9UozOaMMPkfwxhiupkqML53uFtl1NoExRYKjz83wv6uvGYzNH8yTHe8bkvXfLbulnA%3Ds2048)
- Press Save to complete the trigger, and ‘Save’ again under tag settings
- Publish