Drupal CMS: Google Analytics 4
Learn about Google Analytics 4 for Drupal.
Information about Google Analytics 4 (GA4) for Drupal
Google Analytics 4 is a completely new interface with a new data model and lots of new features including app analytics and can provide you with lots of information on usage of your website (visits, devices used, countries where users come from). We strongly advise you keep track of analytics to see how you can improve certain pages, which pages are most popular, which are not performing as expected, etc.
How Digital Experience supports Google Analytics 4
All sites are linked to the main UCL-wide property to which all editors can request access.
All new Drupal sites contain the tracking code for the main UCL-wide GA4 property. All editors can request 'read and analyse' access to the main property.
How to access the central Google Analytics 4 property
You can request view access Google Analytics 4 for your site please follow the steps below:
- Create an account with GA4 using your UCL email address. Please note from now on we would ask you to link your UCL account to a Google account rather than supplying your personal Gmail
- Once you have done that please get in touch via MyServices and let the team know you would like access to GA4 and have created an account
- You should now have access to view Analytics for your website.
Adding a secondary local property to GA4
Additionally, you can add a second local property to your Drupal sites to have your own self-contained property.
Please assess the new interface and evaluate whether you wish to continue with a secondary local GA4 account for your content (which will be unsupported by Digital Experience).
If you would like to access Google Analytics 4 for your own site please follow the steps below:
- Create a new property for Google Analytics 4 using your existing account or set up a new account with your UCL email address. Please note it is best NOT to migrate your UA property to GA4 using the set-up wizard if you have lots of custom reports and events but create a new one. If you don't have custom events, then do just follow the set-up assistant steps.
- Please see the guide from Google on how to set up a property Note you don't need to add the code to your website. Digital Experience will make the configuration changes in Google Tag Manager.
- Once you have done that please get in touch via MyServices and let the team know you would like access to GA4 and have created a property. Send the Google Tag ID. The support team will make the necessary changes to send data to your new property.
- Once done you will have access to GA4 for your website
Help and support
Feedback
We are continually improving our website. Please provide any feedback using the feedback form.
Please note: This form is only to provide feedback. If you require IT support please contact the IT Services Help desk. We can only respond to UCL email addresses.