July 07th, 2024

How to Install Google Optimize in WordPress

Like (0) Comments (1)

1 Comments Add Your Comment

Akshat Gupta
3 years ago Selected
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.
Like (0) Reply

Post a Comment

To leave a comment, please Login or Register