Optimizely Snippet tag

The Optimizely Snippet tag lets you run A/B tests on your website. In Tag Manager, you can set it up in a hassle-free way.

Before you set up the tag, you need to find the the project ID in Optimizely. To find it, follow these steps:

  1. Go to Optimizely.
  2. Find your project.
  3. Look at the URL of you project and copy the project ID.

To set up an Optimizely Snippet tag, follow these steps:

  1. Go to Menu > Tag Manager.
  2. Navigate to Tags.
  3. Click + Create new tag.
  4. Name the tag, click Synchronous tag and select the Optimizely Snippet tag.
  5. Paste the project ID.
  6. An Optimizely Snippet tag in Tag Manager.
  7. In Advanced tag settings, set the tag type. By default, it’s set to be displayed to visitors who consent to A/B Testing and Personalization, but you can change it to a different type.
  8. By default, the Respect visitor privacy is turned on. Leave it as is, if you want to respect visitors who set a do-not-track option in their browser.
  9. In Flight dates, set time during which you want to run the tag.
  10. In Tag triggers, click + New trigger or + Existing trigger to set up a trigger for your tag.
  11. Adjust trigger conditions.
  12. When you’re done, click Save for the trigger and click Save for the tag.
  13. Test your tag in debug mode.
  14. When you’re happy how the tag works, click Publish.

Note: To run this tag you need to have a synchronous tracking code installed on your website.

Was this article helpful?

Be the first to rate this article.

Technical Support

If you have any questions, drop us a line at support_SPC@piwik_SPC.pro.

We’re happy to help!