Ecommerce Platform | Google Analytics 4 tracking

Ecommerce Platform | Google Analytics 4 tracking

Ecommerce platform 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 ecommerce platform.

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 ecommerce 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 ecommerce platform 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 ecommerce platform domain (if you go through to your booking page, you can find this here, it’s usually {hotel name}.onejourney.travel) Example below:


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:

  1. Go to your GA4 property
  2. Go to settings, open the 'Data Settings' dropdown, then click on 'Data Retention'
  3. 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 ecommerce 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:

  1. Login into Google Tag Manager
  2. Edit your ‘Google Analytics 4’ code
  3. Click ‘Add Exception’
  4. In the 'Choose a trigger' section, click (+)
  5. Click ‘Page View’
  6. Check the box ‘some page views’ and in the drop-down pick ‘page hostname’
  7. Write ‘onejourney.travel’ within the box 
  8. Press Save to complete the trigger, and ‘Save’ again under tag settings
  9. Publish

    • Related Articles

    • Ecommerce Platform | 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 ...
    • Ecommerce Platform | Rates | Set up a minimum lead time restriction

      You may want to set up a minimum lead time restriction for your rates. For example, you have a rate that includes an experience and you'd like some extra time to schedule or prepare this for the guest. How to set up a minimum lead time restriction in ...
    • Ecommerce platform | Dashboards (overview and analytics)

      When you are logged into your ecommerce platform you can view various dashboards which allows you to see how your hotel is performing. Accessing your dashboards Log in to ecommerce platform. The default page should be your Dashboard but if you are on ...
    • Ecommerce Platform | Rooms: payment options

      Overview Payment options are not currently rate-specific, therefore the deposit/deferred payment option which you set up will be applied to all of your rates. By default, ecommerce platform sites are set up to take full payment at the point of ...
    • Ecommerce platform | Rooms setup

      Within our ecommerce platform you have the ability to make changes to the name, description and images of all of your room types. IMPORTANT: If changes are made within our ecommerce platform, this will override anything being sent through from the ...