Content grouping fix

Created on 1 November 2022, about 2 years ago
Updated 1 February 2023, almost 2 years ago

Problem/Motivation

A patch for an earlier issue ( https://www.drupal.org/project/google_analytics/issues/2955611 ✨ Add support for content groupings Closed: outdated ), that adds content grouping reporting back to GA no longer works due to ga no longer being available. This patch updates that code to use the new gtag object.

Steps to reproduce

Apply the older patch ( https://www.drupal.org/files/issues/2018-03-23/google_analytics_content_... β†’ ), invoke the hook and verify that a JS error is thrown when viewing a page that sends a request to GA.

Proposed resolution

Apply this patch and verify that the error no longer occurs and the content grouping is reported back to the GA account

Remaining tasks

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ“Œ Task
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mtovey

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024