Step-by-step: Generating an access token for authenticating the GA4 integration in Y42 | Scribe

    Step-by-step: Generating an access token for authenticating the GA4 integration in Y42

    • Giang Nguyen |
    • 0 step |
    • 41 seconds

    Generate an access token utilizing your own OAuth client & Postman

    Naviate to [https://web.postman.co/](https://web.postman.co/) and create a free Postman account
    Click "Create Collection".
    Name the collection "GA4 OAuth Token for Y42".
    Navigate to "Authorization".
    Click on "Type".
    Select OAuth 2.0
    Name the token "GA4 OAuth Token for Y42".
    Paste this URL into the box "Auth URL": [https://accounts.google.com/o/oauth2/auth](https://accounts.google.com/o/oauth2/auth) (Please enter the URL incl. "https://")
    Paste this URL into the box "Access toke URL": [https://oauth2.googleapis.com/token](https://oauth2.googleapis.com/token) (Please enter the URL incl. "https://")
    Copy & paste the client ID & client secret from the Google OAuth 2.0 client into the fields "Client ID" & "Client Secret".
    Add this scope to the field "Scope": [https://www.googleapis.com/auth/analytics.readonly](https://www.googleapis.com/auth/analytics.readonly) (Please enter the URL incl. "https://")
    Add these 2 query parameters : key: access_type - value: offline key: prompt - value: consent
    Click "Get New Access Token"

    Authenticate via Google OAuth

    🎉 Now you can use the newly created REFRESH TOKEN to authenticate your Google Analytics 4 integration in Y42

    Want to make guides like this in seconds? Yes, it's really that fast.

    This Scribe is in tip-top shape!Leave feedback if there are any issues with this Scribe