Installing Google Analytics Tracking Code (easy method)

Link: https://support.brilliantdirectories.com/support/solutions/articles/5000682660-installing-google-analytics-tracking-code-easy-method-

Important Notices:


1. If you have not yet installed Google Analytics 4 on your Brilliant Directories website, follow the steps in this article to copy and paste a Google Analytics 4 ID into the General Settings of your website. If you need to set up GA4, please see: Google Instructions: How to Set Up GA4


2. If you are still using Google Analytics 3, which is a Google Analytics ID that begins with UA-XXX, tracking has been deprecated and no longer works. You'll want to migrate to Google Analytics 4. If you need to migrate from GA3 to GA4, please see: Google Instructions: Migrate GA3 to GA4


3. If you've already manually added Google Analytics 4 Code to your website's HEAD or via Google Tag Manager, then no further action is required and the steps in this article DO NOT need to be followed. -- Manually Embed Google Analytics 4 Code (advanced method) -- Google Tag Manager Method



How to Copy Google Analytics 4 ID


NOTE: Also see Google's instructions for finding and copying your GA4 ID number:
https://support.google.com/analytics/answer/9539598


  1. Sign in to your Google Analytics account.

  2. Click Admin in the side menu of your website property.



  3. At the top of the Property column, select your property.




  4. In the Property column, click Data streams.



    Don't see a Data streams option in the Property column? You have a Universal Analytics property instead of a GA4 property.
  5. Click the data stream.




  6. In the Google tag section at the bottom of the Web stream details page, click Configure tag settings.




  7. In the Your Google tag section on the Google tag page, copy the ID that starts with "G-"

    Measurement ID in the Web stream details pane


Adding the Google Analytics 4 ID


  1. Go to Settings ยป General Settings and click on the tab named Integrations:




  1. Enter the ID into the Google Analytics 4 field:

    e.g.: G-XXXXXXX
    This field works only with Google Analytics 4.



If You're Still Using Google Analytics 3 ID (UA-XXX)


If the deprecated GA3 ID has been added previously, this ID will appear in a read-only field with an alert:

"You're using a deprecated version of Google Analytics 3"


If you need to migrate your GA3 to GA4, please see: Google Instructions: Migrate GA3 to GA4


This field cannot be edited, there is only the additional field below to add the new GA4 ID.


When the new GA4 ID is entered and saved the website will no longer show the old ID and start using only the new field: