{"section":"faq","requestedLocale":"en","requestedSlug":"ab-testing-why-is-it-not-working-google-analytics","locale":"en","slug":"ab-testing-why-is-it-not-working-google-analytics","path":"docs/en/faq/others/ab-testing-why-is-it-not-working-google-analytics.md","branch":"main","content":"Usually, this situation happens because the store owner is not able to save the script generated by Analytics inside the Template.\n\nTo solve this problem, just follow the steps below:\n\n1. Create a contentPlaceHolder inside the Template.\n2. On the page on which AB Testing is being applied, create an HTML-type control and save the script.\n\nThis way, AB Testing will be successful.\n\nSee below the screens with examples of the steps:\n\n__Control Screen__:\n![](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/faq/others/ab-testing-why-is-it-not-working-google-analytics_1.png)\n\n__Script Screen__:\n![](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/faq/others/ab-testing-why-is-it-not-working-google-analytics_2.png)\n\n__Template Screen__:\n![](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/faq/others/ab-testing-why-is-it-not-working-google-analytics_3.png)"}