Install Google Optimize on Your Website
This approach is preferred if you want to apply more complex and customized tracking or you are new to use Optimize. I also recommend you to try this approach.
1. Set up Google Tag Manager
a) Go to https://marketingplatform.google.com/about/tag-manager/.
b) Click on Start for Free.
c) Add your company’s name and country.
d) Set up the container’s name as your website’s name, select “Web” and click on Create.
e) Review the Terms of Service and click Yes.
f) You will be prompted with the web container installation code snippet
a) Go to https://marketingplatform.google.com/about/tag-manager/.
b) Click on Sign In to Tag Manager.
c) Find your account in the list, click on the dot menu and select Create Container.
d) Set up the container’s name as your website’s name, select “Web” and click on Create.
e) Review the Terms of Service and click Yes.
f) You will be prompted with the web container installation code snippet
g) For more details about setting up and installing Tag Manager, refer to https://support.google.com/tagmanager/answer/6103696?hl=en&ref_topic=3441530.
a) Go to your account of GTM and click your container name.
b) On the top right, click on your container ID, formatted GTM-XXXXXXX. The GTM container installation code will pop up.Solution: in this case, you need to replace line “j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=”in the code of first code snippet with “j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=”. Now, you can successfully save it.
Comments
Post a Comment