Skvare built a free, open-source CiviCRM extension that pushes structured GA4-compatible dataLayer events at every step of your contribution and event registration flows, giving you real funnel visibility without custom JavaScript.
Learn how we use Google tools like Maps, Tag Manager, and Analytics to enhance Drupal and WordPress websites.
You know people are dropping off your contribution pages. You just do not know where. The CiviCRM DataLayer extension fixes that. It pushes structured GA4 events at every step of your donation and event registration flows, giving you real funnel data in Google Analytics 4 via Google Tag Manager. Free, open-source, and built for any CiviCRM site.
Overview Many nonprofits run their main website on one domain while event registrations and donations happen on a third-party platform at a different web address entirely. This is common with hosted CRM platforms like Neon CRM. As investment in Google Ads and Meta Ads grows, so does the need to understand what is actually converting. Source attribution is lost the moment a visitor clicks through from the main site to a registration or donation form, and most hosted CRM forms do not push data to the dataLayer. Here is how ...
If you utilize the code to disable Google Analytics by role or user within the module, it leaves you no easy way to exclude individual nodes. Getting the node id (nid) and adding a few extra lines of code that will check against a predefined array results in new code:
Recently a client inquired about incorporating a map within their event calendar. For relevant events they already provide the address in a field, so how can we provide the visitors with a navigable map? The robust solution involves combination of Location and GMap modules. But this simple application does not pull complex database location queries, nor is it combining multiple locations onto the map. Effectively, it's a matter of stringing the address field into a Google Maps URL and embedding the iframe. The simple solution assumes you have CCK module ...
Update: new code to allow excluding individual node as well as roles and users. Google Analytics module allows for tracking by selected roles. What it does not natively provide is a mechanism to exclude specific roles. To disable tracking for a particular role or even a specific user, edit Page specific tracking settings section. Choose Add if the following PHP code returns TRUE and enter the following code, adjusting the role names and the user IDs (uid). This could be also used for control of block displays, when displaying content ...