Learn business growth with Google Analytics 4 Forums Google Analytics 4 Creating a Segment Filter for Users Who Changed Country Between Initial and Latest Visits in GA

  • Creating a Segment Filter for Users Who Changed Country Between Initial and Latest Visits in GA

    Posted by Reese on 17 September 2022 at 11:51 pm

    Sure, how about this for a rephrase: “I’m really keen to learn more about those of my website users who initially visited from overseas but have since moved to the UK. Is it possible that their user identifier would remain consistent given they’re likely using the same device and browser? I’m stumped on finding the right criteria to create a segment filter based on their first visit versus their current location. I’m working with both GA4 and UA and need some guidance on this. Thank you in advance!”

    Leo replied 1 year ago 3 Members · 2 Replies
  • 2 Replies
  • William

    Member
    2 June 2023 at 8:45 pm

    Sure, your users’ identifiers should stay consistent, as they are tied to the device and browser, not location. In GA4 and UA, you might be able to create a specific filter by comparing users’ first visit location with their current location. This is a bit tricky but definitely doable. Reach out if you need more help!

  • Leo

    Member
    25 June 2023 at 9:13 am

    Yes, the user identifier should remain constant if they are using the same device and browser, regardless of their location. To create a segment filter based on their first visit versus their current location, you can use the “users” and “country” dimensions in Google Analytics. To do this, you would need to create a new segment, add a condition for “country”, and specify the country for the first visit, then add another condition for “users” and specify the user identifiers. However, GA4 and UA handle user identifiers differently, so it may not be possible to track this perfectly. It’s typically easier to identify users based on their behavior, such as the pages they visited or actions they took on your website.

Log in to reply.