Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.autoplay.ai/llms.txt

Use this file to discover all available pages before exploring further.

Auto-generated from autoplay_sdk/skills/. Edit the source SKILL.md and run python scripts/sync_skill_docs.py.
Download .md Β· Open raw file Β· Install via CLI: autoplay-install-skills

Activity Source β€” FullStory Streams

Read autoplay-core first β€” the session_id in the FullStory payload maps directly to the Autoplay session_id used for session scoping.

Prerequisites

  • FullStory installed and capturing sessions (FS('getSession') returns a URL)
  • Enterprise or Advanced FullStory plan (Streams requires Anywhere: Activation)
  • Admin or Architect role in FullStory
  • Autoplay ingest endpoint URL and auth token

Step 1 β€” Create the Stream

In FullStory: Settings β†’ Anywhere β†’ Activation β†’ Create Stream
  • Name: autoplay-every-click
  • Description: Streams every user click event to the Autoplay SDK

Step 2 β€” Configure destination

FieldValue
Destination typeHTTP Endpoint
Request MethodPOST
API Endpoint URLYour Autoplay ingest URL
AuthenticationBearer token

Step 3 β€” Define the trigger

  1. Click Select an event β†’ choose Element Clicked
  2. Add no filters β€” empty = every click
  3. Frequency: On every event (not β€œOnce per session” β€” that only fires once per user session)

Step 4 β€” JSON field mapping

Switch to JSON view in Field Mapping and paste:
{
  "target_text":        ["var", "event.0.target_text"],
  "element_name":       ["var", "event.0.element_name"],
  "page_url":           ["var", "event.0.url"],
  "timestamp":          ["var", "event.0.event_time"],
  "timestamp_unix":     ["toUnixTimestamp", ["var", "event.0.event_time"]],
  "session_replay_url": ["var", "event.0.app_url_event"],
  "user_id":            ["var", "event.0.user_id"],
  "user_email":         ["var", "event.0.user_email"],
  "session_id":         ["concat", ["var", "event.0.device_id"], "%3A", ["var", "event.0.session_id"]]
}
session_id here is the key used for session scoping in autoplay-core β€” use it as the session_id bucket key throughout.

Step 5 β€” Test and save

  1. Click Send Test β€” confirm 200 OK under Server Response
  2. Click Save

IP allowlist

Whitelist these on your Autoplay endpoint:
  • US: 8.35.195.0/29
  • EU: 34.89.210.80/29
FullStory retries failed requests (5xx / timeout) up to 30 times over 5 hours.

Reference