screeenshot of the category edit form featuring the GTM data input field
screenshot of Chrome dev tools console showing GTM data exposed in drupalSettings

This is a complementary module for the EU Cookie Compliance (GDPR Compliance) module, which integrates it with GoogleTagManager module.

Firstly, it extends the cookie category admin UI by adding a field to store arbitrary data in JSON format for each category.

Secondly, it exposes that data in drupalSettings.

Finally, it pushes that data to dataLayer by hooking into events triggered by the main module on user interaction.

Supporting organizations: 

Project information

Releases