Streakfox
SDKs

Integrations overview

Pick how actions reach Streakfox and how members see their progress.

Every integration does two jobs:

  • Count the action. Your platform, server or an automation tells Streakfox a member did the thing. Actions are never counted from the browser.
  • Show progress. The widget displays the member's streak on your site. It doesn't count anything.

Your project key identifies your project and is safe in a web page. Your action is the thing you count, such as lesson_complete.

Count the action

PathBest forGuide
WordPress pluginLearnDash lessons, approved member comments or your own server hookWordPress
Incoming URLKajabi, Teachable, Thinkific, Circle and other platforms, through Zapier or MakeCourse platforms
WebhookYour own backend, n8n, Pipedream or anything that can send an HTTP POSTEvents API
ShopifyOrders, sent from Shopify Flow, a webhook app or ZapierShopify

Show progress

Add the widget script to pages where members are signed in. Pass the same member you count:

<script
  src="https://cdn.streakfox.com/widget.js"
  data-project="YOUR_PROJECT_KEY"
  data-event="YOUR_ACTION"
  data-user-hash="MEMBER_ID"
  defer
></script>
  • Webhook. data-user-hash is the member ID you send as userHash.
  • Incoming URL. Use data-member with your platform's member email instead. The course platform guide lists the variable for each platform.
  • WordPress. The plugin adds the widget for you.

JavaScript and React packages

@streakdev/web and @streakdev/react are in preview and not yet on npm, so you can't install them today. Their pages describe what they'll do so you can plan ahead. Use the widget script above in the meantime. See Web SDK, React SDK and Next.js.

On this page