Hi there,
I enabled this module with basic settings (only GTM code).
But I cannot see any js or css appearing in html_head. I was expecting css and script to appear in head following : $attachments['#attached']['html_head']
Any idea how I can debug ? To be able to send you more information.
Cheers,
Comments
Comment #2
webfaqtory commentedIf the module is enabled and the page/role is enabled, you will see the following in the page source
Comment #3
webfaqtory commentedComment #4
thecampious commentedHi,
Thanks for the quick reply. I allow myself to provide you more information:
1) Following "Add the snippet only for the selected role(s). If none of the roles are selected, all users will have the snippet."
If I do not select any role, the snippet does not display for any user.
2) Alternative:
If at least 1 Container Ids (GTM-XXXXXX) is needed, and also 1 role, both or all fields should be mandatory with a placeholder if needed.
Cheers,
Comment #6
webfaqtory commentedFixed bug were snippet was never added if no roles selected
Comment #7
webfaqtory commentedComment #8
webfaqtory commented