Deprecated: Synchronous containers and tags will be discontinued by January, 2025. We recommend removing them and adjusting your setups accordingly. Read more
An Optimizely Snippet tag lets you run A/B tests on your website.
To set it up, follow these steps:
- Log in to Optimizely.
- Find your project.
- Look at your project URL and copy the project ID.
- Log in to Piwik PRO.
- Go to Menu > Tag Manager.
- Navigate to Tags.
- Click Add a tag.
- Name your tag, click Sync and select the following type: Optimizely Snippet.
- Click Next.
- Paste your project ID.
- In Advanced tag settings, choose Consent type. Set it up if you use a consent form on your site. This tag will only fire for visitors who accept the selected consent type.
- Respect opt-out and DNT is turned on by default. Leave it as is if you want to respect visitors who’ve turned on the Do-Not-Track feature in their browsers or who’ve opted out of tracking using our opt-out form.
- In Flight dates, set the date and time when the tag will fire.
- In Tag triggers, click Add a trigger or Choose existing trigger to set up a trigger for your tag.
- Click Save.
- Test your tag in debug mode.
- When you’re happy with how the tag works, click Publish.
Note: To run this tag you need to have a synchronous container installed on your website. Read more
- All done!