SaltfishTry for free

How To Get the Google Analytics Code

·2 min read
In this article

Here's how to get the google analytics code in Google

  1. Navigate to the Admin section in your Google Analytics account.
  2. Locate and click on Data Streams in the Data collection and modification section.
  3. Choose the specific Data Stream for which you need the Analytics code.
  4. Verify that Data Flowing appears under the view tag instructions section.
  5. Copy your GA4 Tracking ID from the top right corner of the screen.

Ready to get started with
interactive demos?

Try for free

Frequently Asked Questions

GA4 tracking codes use a different format than Universal Analytics (UA) codes. GA4 measurement IDs start with 'G-' followed by alphanumeric characters, while UA tracking IDs begin with 'UA-'. GA4 is the current standard as Universal Analytics was discontinued in July 2023.