Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Get started with the ODP Web SDK

How to set up the Web SDK to track events and customer information using Optimizely Data Platform (ODP).

Before getting started with the ODP Web SDK, you should be familiar with the schemas and data structure of ODP. See Understand ODP.

Step 1. Implement the JavaScript tag

The first step to working with the Web SDK is to add the JavaScript tag to your web pages where you would like to track Customer and Event data. For instructions, see implement the the ODP JavaScript tag.

📘

Note

You should place the Web SDK snippet before the closing </head> element of your site.

The ODP JavaScript tag automatically passes the cookie identifier.

Step 2. Add code to send customer and event data

After implementing the JavaScript tag, you can send customer and event data to ODP by adding custom JavaScript code to your web pages.


Next

Learn how to send Customer and Event data