Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Attached patch will log a colorbox load with google analytics IF
* there is an attribute on the element data-cb-tag AND
* GA has already been loaded on the page
Caveat:
It only works with the newer async GA code
Comment | File | Size | Author |
---|---|---|---|
#1 | 0001-allow-to-alert-google-analytics-on-cb-load.patch | 1.38 KB | drone.ah |
0001-allow-to-alert-google-analytics-on-cb-load.patch | 1.66 KB | drone.ah | |
Comments
Comment #1
drone.ah CreditAttribution: drone.ah commentedsorry, there were a few dud lines in the previous patch. Please use thing one instead.
Comment #2
Neslee Canil Pinto