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.
There may be reasons to set sub-page path level Quantcast event data in the JS snippet and so I propose a function to set data that can be called from anywhere in Drupal. Then if any data is set there it will be used in the quantcast_page_build() snippet builder.
This will allow programmatic support for labels, orderids, and revenue properties.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2463323-quantcast-arbitrary-data_2.patch | 2.97 KB | greggles |
#1 | 2463323-quantcast-arbitrary-data.patch | 2.94 KB | coltrane |
Comments
Comment #1
coltraneHere's a patch and how its function can be used:
Comment #2
gregglesHere's a re-roll.
Comment #4
gregglesNow committed.