Add option to deploy Google Optimize page-hiding snippet

Created on 30 October 2018, about 6 years ago
Updated 25 April 2024, 8 months ago

Google Tag Manager can be used to deploy Google Optimize for A/B testing.

However, when deploying with GTM, it is highly recommended to add a page-hiding snippet as described here in the Google Docs.

Is it within the scope of this module to add a feature to inject this JS (the page-hiding snippet)? I thought about adding the JS to a theme template, but I realized that won't work because the page-hiding snippet needs to come before GTM, and GTM is placed ahead of all the theme templates.

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡―πŸ‡΅Japan ptmkenny

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024