To leave a comment, please Login or Register

You can add Google Optimize to your WordPress site manually. But you have to modify your Google Analytics code manually.

Your analytics.js tag will look like this:







pay attention:

Replace the UA-XXXXXXXXX-1 code with your Google Analytics property ID.

Replace GTM-XXXXXXXX with your Optimize container ID.

Now put this code in the header of your site. For this you can use the Insert Headers and Footers plugin.

If you are using a premium WordPress theme, there may be an option to add Google Analytics code to it.
17 days ago   0