Pricing & Plans
Resources/Developer & SDK

Developer & SDK

The Spectry browser SDK: configuration, the JavaScript API, custom events, user identification and masking.


In this section.

SDK overview & configuration

How the Spectry browser SDK loads, what it collects automatically, and how to configure it.

Track custom events

Send your own events from code with Spectry.track(), including e-commerce events.

Identify logged-in users

Attach a stable user ID and traits to a visitor with Spectry.identify().

No-code event builder

Define custom events visually — from clicks, scroll depth, time on page or frustration signals — without writing code.

Feature flags in code

Read feature-flag values in your application with Spectry.getFlag().

Privacy masking & data attributes

How Spectry automatically masks sensitive data, and the data attributes you can use to control it.

JavaScript API reference

A complete reference of the window.Spectry methods.


Can't find what you're looking for?

Our support team is always happy to help.

Stay in the loop

Get product updates, tips, and insights delivered to your inbox.

Platform

  • Heatmaps
  • Conversion Funnels
  • User Feedback
  • Custom Dashboards
  • Error Logging
  • Vulnerability Detection
  • A/B Testing
  • AI Insights
  • Session Replays

Support

  • Contact Us

Use Cases

  • SaaS
  • E-commerce
  • Healthcare
  • Product Teams
  • Marketing Teams
  • Data Teams

Company

  • Why Spectry
  • Compare
  • Terms of service
  • Privacy policy
  • Cookie policy

© 2026 Spectry.io. All rights reserved.