Problem/Motivation
For compliance with the Cookiebot standars the GTM script needs to be loaded before the Cookiebot script in the header. Currently this is happening in the reverse order.
Steps to reproduce
Inspect a page on a project where the module is installed and look in the section to view the order of the script tags being loaded.
Proposed resolution
The module file needs to be updated to reverse the loading order of the two scripts.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | gtm_needs_to_load_before_the_cookiebot_script-3367888-1.patch | 699 bytes | roaldnel |
Comments
Comment #2
roaldnel commentedSee the patch below to ensure that GTM is loaded before the Cookiebot script in the head.
Comment #3
batigolixI tested the patch locally. It applies well. The module works well.
Comment #4
batigolixComment #5
roaldnel commentedOkay great, thank you, I am applying the patch.
Comment #7
fabianderijkMarking this issue as fixed.