fullstory-capture-control

Control Fullstory Capture APIs to pause and resume session recording.

Updated Dec 20, 2025
One-click install
npx skills add https://github.com/rcmaples/btx --skill fullstory-capture-control
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fullstory-capture-control
Source: https://github.com/rcmaples/btx/tree/main/.claude/skills/fullstory-capture-control
Command: npx skills add https://github.com/rcmaples/btx --skill fullstory-capture-control

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured approach to controlling Fullstory's Capture APIs, enabling developers to pause and resume recording for performance, privacy, and resource efficiency.

Core Features & Use Cases

  • Pause and resume capture with FS('shutdownAsync') and FS('restartAsync') to optimize performance and privacy.
  • Privacy zones and route-based capture control to selectively record user sessions.
  • Re-identify users after restart to preserve session continuity across sessions.

Quick Start

  • Ensure you have access to Fullstory Capture APIs.
  • Pause capture before long operations with FS('shutdownAsync'), then restart after with FS('restartAsync') and re-identify the user using FS('setIdentity', { uid: user.id, properties: { displayName: user.name } }).
  • For clean shutdown on page unload, use the sync FS('shutdown') in beforeunload to guarantee the finalization of the session.

Frequently Asked Questions about fullstory-capture-control

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I pause and resume Fullstory capture in a web application?

Re-identify users after restarting Fullstory capture by calling FS('setIdentity', { uid: user.id, properties: { displayName: user.name } }). This preserves session continuity by linking the new recording session to the existing user profile.

What is the best way to ensure a clean Fullstory shutdown on page unload?

Use the synchronous FS('shutdown') method within a beforeunload event handler to guarantee clean session finalization. This ensures the Fullstory capture session is properly closed before the browser unloads the page.

Can I control session recording for privacy zones and SPA navigation routes?

Yes, you can implement route-based capture control and privacy zones to selectively record user sessions. This is particularly useful for SPA navigation and privacy-sensitive areas where continuous recording is not desired.

How does Fullstory capture control work for development and testing environments?

Fullstory capture control uses shutdown and restart APIs to programmatically pause and resume recording. This optimizes resource efficiency in development and testing environments by avoiding unnecessary session data capture.