Google Analytics
  • Google Analytics
  • Measurement
  • Google Analytics 4
Sign in
Guides Reference Support
Google Analytics
  • Google Analytics
  • Measurement
  • Google Analytics 4
  • Guides
  • Reference
  • Support
  • Overview
    • Introduction to Google Analytics 4
  • How to
    • Measure exceptions
    • Measure views
    • Send user IDs
  • Ecommerce
    • Measure ecommerce
    • Set up a purchase event
  • Home
  • Products
  • Google Analytics
  • Measurement
  • Google Analytics 4

Send user IDs

This article describes how to send user IDs from your website or app once you've generated the user IDs. To learn more about the User-ID feature, see Measure activity across platforms.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-06-29 UTC.

  • GitHub GitHub
    Try Google Analytics samples
  • Stack Overflow Stack Overflow
    Ask questions using the google-analytics tag
  • Twitter Twitter
    Follow @googleanalytics on Twitter
  • Videos Videos
    View Google Analytics videos on YouTube
  • Connect

    • Community & Updates
    • Getting Help
    • Reporting an Issue
  • Product Info

    • Protocol / SDK Policy
    • Branding Policy
  • Developer consoles

    • Google API Console
    • Google Cloud Platform Console
    • Google Play Console
    • Firebase Console
    • Actions on Google Console
    • Cast SDK Developer Console
    • Chrome Web Store Dashboard
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • Sign up for the Google Developers newsletter Subscribe