Learn business growth with Google Analytics 4 Forums Google Analytics 4 Exploring Methods to Retrieve GA4 User Pseudo ID via API Reply To: Exploring Methods to Retrieve GA4 User Pseudo ID via API

  • Mia

    Member
    14 April 2023 at 11:23 pm

    Unfortunately, getting the user_pseudo_id directly from GA4 is not straightforward, owing to privacy restrictions by Google. There used to be methods using Universal Analytics (UA) or reading the _ga cookie directly, but these either do not work with just GA4 or are explicitly recommended against by Google. If pulling data from Big Query is not an option for you, it might be worth revisiting the other options and trying to tweak your setup to make them work, such as installing a UA tracker in parallel to your GA4 setup. If that’s not possible, I’m afraid there might not be another way to get the user_pseudo_id with the current capabilities and policies set by Google.