Google Optimize will no longer be available after September 30, 2023. Your experiments and personalizations can continue to run until that date. Learn more

What is the correct placement of the Optimize and GTM tags?

The Optimize snippet needs to fire before your Google Tag Manager and/or Google Analytics tags. Generally speaking, the Optimize snippet should be placed as high in the <HEAD> of your web page as possible, before any other tags but after the data layer. Refer to the Deploy Optimize article for the specific details.

Was this helpful?
How can we improve it?
false
Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
true
false
true
true
101337
false
false