How-to: Set Up Google Analytics 4 (GA4)

Google is shutting down Universal Analytics in July 2023. So we have enabled the option to track your Trip Page traffic via GA4. Keep reading to learn how to ensure cross-domain tracking within the same stream.

GA4 Data Streams - cross them today!

Want to know more? We recommend you start by reading more on why you should care about this transition

NOTE: You can still track with Google Analytics UA until they turn it off in July 2023!

1. Setup your GA4 Data Stream Measurement ID

Depending on your situation, we suggest 3 options:

  1. Don't have a data stream and just want to track YouLi Trip Pages?
    • Just create a data stream with the correct domain from below
  2. RECOMMENDED: Do you have a stream for your website and want to track your Trip Pages in the same stream?
  3. Do you have a stream for your website that you want tracked separately from your Trip Pages?
    • Create a new data stream with the correct domain from below and use THAT measurement ID in YouLi (instead of your current stream)

1a. Configure your domains

Click into the stream, then scroll to "Configure tag settings":

configure-tag-settings.png

Then scroll to "Configure your domains":configure-your-domains.png

Then enter your domains.

configure-domains-conditions.png

Which domain(s) to add?

  • Standard Trip Pages: use https://youli.io
    • add "Contains": youli.io
  • Trip Pages with White Label Domain (WLD)
    • add "Contains": youli.io
    • add "Exact match": domain shown in the SHARE TRIP link on any trip
  • PRO+ Starter (PNP) Website + Trip Pages WLD (subdomain)
    • add "Contains": your website domain

Screen_Shot_2022-09-02_at_3.12.47_pm.png

2. Simply click to ACCOUNT -> SITE SETTINGS

3. Scroll to GA4 Web Stream Measurement ID (Preferred)

4. Paste in your Measurement ID  (G-XXXXXXXX)

Screen_Shot_2022-09-01_at_11.03.24_am.png

5. Click SAVE CHANGES

6. Create traffic on your Trip Pages and watch for it in your GA4 account (analytics.google.com)

WARNING: Preview As Registered will NOT show in Analytics (by design). So be sure to view a public Share Trip Link or View As a Registered Traveler.

The data SHOULD appear in real-time (right away). But if you don't see it right away, check back in a few hours. Sometimes the data can take up to 24-48 hours before it appears. 

If you still have an issue after that time, you can book a consulting call and we'll help you sort it out.

Need help setting up GA4? 
Book an Analytics consulting call for US$100

 


Need more help? 

Reach out to the YouLi support team via a chat box at the bottom of your screen or submit a ticket request. If you need more advanced support, schedule a 1:1 Consulting session with one of our experts, as we will walk you through the features and best practices.