Skip to main content
Web2App - GA4 analytics script adding
L
Written by Leanid Yuryeu
Updated over a week ago

In this guide we tailor how to insert Goofle analytics script in your anlyics for regular tracking and cookies policies purposes.

Add Google analytics for Tracking without Cookies policies:

Step 1 : Access Your Google Analytics Account

  • Open your web browser and navigate to the Google Analytics website.

  • Sign in using your Google account credentials.

Step 2: Locate Your GA4 Property

  • Once logged in, click on the “Admin” button (gear icon) at the bottom left of your screen.

  • In the "Account" column, make sure the correct account is selected.

  • In the "Property" column, select the GA4 property you want to use for tracking. If you don't have a GA4 property yet, you'll need to create one.

Step 3: Obtain the GA4 Tracking Script

  • In the "Property" column, click on “Data Streams”.

  • Select your web data stream (or create a new one if necessary).

  • Once your data stream is selected, click on the “Global site tag (gtag.js)” link under “Tagging Instructions”.

  • This will open a new window displaying your GA4 tracking script. Select 'Install manually' and copy the scrips

Step 4: Insert the script in the Onboarding Online form

Paste that script in 'head' section in Analytics form in Onboarding online service and click on 'Add Web analytics':

It’s recommended by Google to add the Google Analytics tracking code in the header section (<head>).

Add Google analytics for Tracking with Cookies policies:

Step 1 : Access Your Google Analytics Account

  • Open your web browser and navigate to the Google Analytics website.

  • Sign in using your Google account credentials.

Step 2: Locate Your GA4 Property

  • Once logged in, click on the “Admin” button (gear icon) at the bottom left of your screen.

  • In the "Account" column, make sure the correct account is selected.

  • In the "Property" column, select the GA4 property you want to use for tracking. If you don't have a GA4 property yet, you'll need to create one.

Step 3: Obtain the GA4 ID

  • In the "Property" column, click on “Data Streams”.

  • Select your web data stream (or create a new one if necessary).

  • Once your data stream is selected, click on the “Global site tag (gtag.js)” link under “Tagging Instructions”.

  • This will open a new window your GA4 MEASUREMENT ID.

    Copy the MEASUREMENT_ID

Step 4: Insert the GA4 ID in the Cookies check script

Click on 'Use Cookies Check'

The needed script will be added automatically:

Replace YOUR_GA_ID in all places in the script with your MEASUREMENT ID, that you have copied:

Click on Add Web Analtitycs

Did this answer your question?