Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use GTM from govuk_publishing_components until we can upgrade
The GTA doesn’t work as expected for DGU. It appears that gtm_cookies_win=x allows GTM Preview to change the environment of a page, which means that they win over gtm_auth and gtm_preview parameters. The fix was added to govuk_publishing_components in v39.2.3: alphagov/govuk_publishing_components#4097 However due to a number of issues with upgrading we are using 28.7.1 version. This replicates code from https://github.com/alphagov/govuk_publishing_components/blob/a9be4e9f18693e3a2a7dcf87b7b396fbb283d579/app/views/govuk_publishing_components/components/_google_tag_manager_script.html.erb
- Loading branch information