Skip to content

Conversation

mubashirhanif
Copy link

Add new Wistia integration that injects the Wistia analytics script (https://fast.wistia.com/assets/external/E-v1.js) with cookie consent support.

  • Follows existing PostHog integration pattern
  • Respects GitBook cookie consent mechanism
  • No configuration required - simple script injection
  • Includes proper CSP for fast.wistia.com domain

Copy link

changeset-bot bot commented Oct 6, 2025

⚠️ No Changeset found

Latest commit: d8ad029

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@addisonschultz
Copy link
Collaborator

Hi @mubashirhanif - thanks so much for building this integration! I’m still a little confused at how this integration works (after looking through their docs).

Can you help me understand what this integration does exactly? (and how it works)?

@mubashirhanif
Copy link
Author

Hi @addisonschultz,

This integration introduces support for collecting analytics on videos played by users. You can explore the full range of analytics offered by Wistia here.

The videos are hosted on Wistia and embedded in GitBook using the built-in video embed feature. To enable tracking of these analytics—along with relevant information from the root page—Wistia’s JavaScript libraries must be included on the root page.

This plugin facilitates that by injecting the required Wistia script into the page.

@addisonschultz
Copy link
Collaborator

Hi @mubashirhanif thank you! That’s very helpful. Do you think you could update the summary key of the configuration to reflect this better?

I.e. adding more information about the videos needing to be embedded from Wistia.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants