With over a decade of web development experience, I specialize in Drupal (7, 8, 9, 10), CodeIgniter, Laravel, and WordPress. I offer extensive expertise in both module and theme development, providing customized solutions for complex projects. Whether you need to enhance an existing platform, create new features, or seek expert guidance, I'm here to assist. My dedication to delivering high-quality, efficient, and scalable solutions is unmatched. Feel free to contact me to explore how I can contribute to your project's success. Let's turn your ideas into reality!

Google Analytics GA4

A simple drupal module to integrate Google Analytics 4 (GA4) tracking into your website, providing advanced insights into user behavior and engagement.

With easy installation and configuration, our module empowers website owners to harness the power of GA4's event-driven tracking, allowing you to monitor pageviews, clicks, conversions, and more. Gain a deeper understanding of your audience and optimize your website's performance using the latest in web analytics technology, all within the familiar Drupal environment.

INSTALLATION

CONFIGURATION

  1. Navigate to Administration » Extend and enable the module.
  2. Navigate to Configuration » Web services » GA4 Google Analytics Settings
  3. Configure:
    • GA4 Measurement ID
    • Pages: Specify pages by using their paths. Enter one path per line. The '*' character is a wildcard. An example path is /user/* for every user page. or leave empty to use analytics for all pages.
    • Roles: Specify user roles to use analytics with your site when the user has the specific roles or leave empty for all user roles.

How to find your Google Analytics GA4 Measurement ID

Your Google Analytics GA4 Measurement ID can be found by logging into your Google account.

  • Go to Admin Panel in Google Analytics 4.
  • Select the property that you want to get the Measurement ID for.
  • Click on "Data Stream", then click on the Data Stream name.
  • On the next screen, in the top right corner, you will find the Measurement ID that starts with G-

View project details: https://www.drupal.org/project/ga4_google_analytics

Tag: Drupal