Skip to main content
The Pillow SDK lets you run research studies inside your app or website. You can identify users, attach durable properties, and present hosted Pillow studies without sending people to a separate landing page.

What you can do

  • Present studies inside your app or website
  • Identify users with an external ID and custom properties
  • Manage sessions — reset on logout, handle lifecycle

Supported platforms

PlatformMin versionDistribution
WebModern browsers@trypillow/web or script tag
AndroidAPI 24 (Android 7.0)Maven Central
iOSiOS 16.0Swift Package Manager

Web distribution

The browser SDK is published as @trypillow/web.
  • Use npm in modern frontend apps.
  • Use the UMD bundle from https://unpkg.com/@trypillow/web/dist/pillow-sdk.min.js for script-tag installs.
  • The legacy URL-based website widget remains separate from the new browser SDK.

What’s next?

Web

Install the browser SDK and present your first study on the web.

iOS

Install and present your first study on iOS.

Android

Install and present your first study on Android.