Learn business growth with Google Analytics 4 Forums Google Analytics 4 Obtaining Google Analytics 4 Session ID using GTM Variable for Offline Conversion Tracking Reply To: Obtaining Google Analytics 4 Session ID using GTM Variable for Offline Conversion Tracking

  • Minh

    Member
    29 May 2023 at 12:16 pm

    Unfortunately, Google Analytics 4 (GA4) does not currently offer a way to directly retrieve the session ID through Google Tag Manager (GTM) variables. Generally, session IDs are handled behind the scenes in GA and not exposed for direct access. You might instead want to consider using User-ID feature, which allows you to associate interactions from different sessions and different devices to a unique ID. But please note that you’ll need to comply with Google’s User-ID policy. Always remember to seek advice from a data privacy expert or legal counsel to make sure your user tracking methods adhere to the local privacy laws.