Code Snippets & Examples
Snippets of custom code to help you customize and extend the capabilities of Outseta.
-
Kitchen sink - demo of all embeds
-
Pre-populate sign up form fields with Registration Defaults
-
Redirect to a plan-specific page post signup
-
Show (or hide) page elements based on Account Billing Stage
-
Access user info client-side with VanillaJS (demo)
-
Show (or hide) page elements only to the primary person (isPrimary)
-
Show (or hide) page elements based on a custom property (member status)
-
Protect an app on a separate (sub) domain
-
Pre-populate lead capture form fields with Registration Defaults
-
Client-side events (aka. the full Outseta Lifecyle)
-
Fetch current subscription information using the REST API
-
Ask Outseta to monitor the DOM for changes in your SPA (React, Vue etc)
-
Open the profile embed on a specific tab
-
Pre-populate support ticket form fields with Form Defaults
-
Redirect to a plan-specific page post first-time login (aka. onboarding)
-
Add the user's email address to a hidden form field
-
Custom Pricing Table
-
Redirect to the protected page the user was trying to access after login
-
Redirect to a page post plan change
-
Redirect to a plan-specific page post plan change
-
Redirect to plan specific page (from a holding page)
-
Transform data-o-member date values
-
Attribute sign-ups with UTM values
-
Attribute sign-ups with the referring domain