Skip to main content

Web2App - GA4 analytics script adding

L
Written by Leanid Yuryeu
Updated this week

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

Contents:

Add Google analytics. Basic setup.

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: Enter the GA4 ID in the analytics integration field.

  • Navigate to the Analytics section, find Google Analytics and click "Add".

  • Paste your GT4 ID here and click "Save Web Analytics" :


NOTE: To activate the cookie policy, please select the corresponding option.


Add Google analytics. Advanced setup.

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

  • For advance setup and script editing please select the "Advanced settings".


Paste that script in 'head' section in Analytics form in Onboarding online service and click on 'Save 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. Advanced setup:

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

  • For advance setup and script editing please select the "Advanced settings".

  • 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 "Save Web Analytics".
Don't forget to Update your Web Onboarding

Did this answer your question?