Add Google Analytics 4 Measurement ID to Drupal 10 Website | Scribe

    Add Google Analytics 4 Measurement ID to Drupal 10 Website

    • Kelly Holcomb |
    • 0 step |
    • 2 minutes

    Get the tracking ID from your Google Analytics 4 Account

    Navigate to [https://analytics.google.com/](https://analytics.google.com/)
    Log in with your OSU Google account. Use your [[email protected]](mailto:[email protected]) and your ONID password.
    Click on Admin in the bottom left corner. (Please ignore the purple circle that is the control for this recording program)
    Click on Data Streams
    Click on the name of your stream that you created.
    Click the "Copy" button next to your measurement ID.
    Log into your Drupal 10 website.
    From the admin menu go to **Configuration > Web Services > Google Analytics**
    Use control+v to paste the measurement ID into the **Web Property ID(s) field.**
    Navigate to [https://drupal.oregonstate.edu/admin/config/services/google-analytics](https://drupal.oregonstate.edu/admin/config/services/google-analytics)
    Click this button.
    Navigate to [https://drupal.oregonstate.edu/admin/config/services/google-analytics](https://drupal.oregonstate.edu/admin/config/services/google-analytics)
    Click this button.
    Click this text field.
    Click this button.
    Click on **Save Configuration** at the bottom of the page. You will get a confirmation message that the configuration is updated.

    How to check that your tracking ID is working

    Go back to your Google Analytics tab.
    Close the "Web stream deails" you had open.

    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