To directly modify your website via the platform, it's necessary to embed a specific Javascript code snippet within the <head>
section of your site. You can do this using Google Tag Manager, if you don’t want to alter the code of your site directly.
Here is a step-by-step guide on installing the Onsite Optimiser using Google Tag Manager. You will need to have your Google Tag Manager account set up beforehand.
- Navigate to the Onsite Optimizer in the platform.
- Copy the provided javascript snippet. Please note that this snippet is dynamic per website, so you’ll need to make sure you’re viewing the optimizer with the website you’d like to set this up on.
- Log in to your Google Tag Manager Account.
- Select your website.
- On the sidebar, Click “Tags”.
- Click “New”.
- Rename the tag, in this case we named the tag "Optimizer”.
- Click “Tag Configuration”.
- Click “Custom HTML”.
- Paste the Javascript Snippet into the HTML section.
- Scroll down and Click “Triggering”.
- Click “All Pages”.
- Click “Save”.
- Click “Submit”.
- Click “Publish”.
- Click “Continue”.
- Head back to the platform.
- Click “Verify Installation”. You will then receive a success message if you have installed the Onsite Optimizer correctly.