Google Optimize (GO) a tool for A/B, multivariate and redirect testing. You can use it to compare different versions of your pages and gather data.
People often get confused that GO is a performance optimization tool. In reality, it’s actually used to “optimize” your CTAs, user engagement, etc., by allowing you to test multiple versions of your pages and determine the best one.
But you can use it in combination with NitroPack to boost your page speed.
Some additional configurations may be required for both tools to work correctly. This depends on how GO is installed on your website:
- If you installed GO by adding the optimize.js snippet to your website, NitroPack and GO should work fine automatically. NitroPack usually detects the snippet and excludes it from optimization.
- If you used Google Tag Manager (GTM) to install GO, some additional configurations must be made.
Mainly, the GTM script has to be excluded from optimization. You can do that with the “Excluded Resources” feature from the “General Settings” menu.
- Enter *googletagmanager* under “Asset URL/Code”
- Select “Inline” for the Resource Relation
- Don’t change the devices or operations
And save your settings.
If that doesn’t work, please contact us via the chat on this page, so we can help you out.