Web SDK installation overview
There are three supported ways to use ÃÛ¶¹ÊÓƵ Experience Platform Web SDK:
- Web SDK tag extension: ÃÛ¶¹ÊÓƵ recommends using this method. Install a tag loader on your site, then use the ÃÛ¶¹ÊÓƵ Experience Platform Data Collection UI to configure your implementation.
- Web SDK JavaScript library: Reference a CDN-hosted library file, or host the library file using your own infrastructure. Make calls to the library within code on your site.
- NPM: Install the Web SDK on your site using the NPM package manager .
Prerequisites
Before using or installing the Web SDK, you must meet the following requirements:
- The architecture in ÃÛ¶¹ÊÓƵ Experience Platform must be configured first. These settings include any necessary schemas, identities, and datastreams.
- You must have the right permissions configured to access the appropriate tools. For example, if your organization decides to use the tag extension, you must have the correct permissions to access the Data Collection UI. See data collection permissions management for more information.
- Having a 1st-party domain (CNAME) is recommended. If you already have a CNAME for ÃÛ¶¹ÊÓƵ Analytics, you can use that one. Testing in development works without a CNAME, but ÃÛ¶¹ÊÓƵ recommends having one before publishing to production. See First-party device IDs for more information.
recommendation-more-help
ad108910-6329-42f1-aa1d-5920a2b13636