Archives
Categories
Here you can see what Skygram currently supports and does not support.
Supported | Not currently supported |
Single page web application | Anonymous users |
Multi-page web application | Mobile apps |
Angular, React, and others. | Desktop apps |
Production or development environments | Incognito mode or localhost |
Step 1: Install skygram SDK
- Go to welcome page of your skygram organization.
- Copy the first script and paste it into the of your web app
- The snippet is unique to your org and will install skygram’s SDK in your web app
The SDK is tiny, loads in a 2-step async manner, designed to avoid any load on your side.
Skygram.init("
id: '123-456-789' //optional system will generate a uuid when null
name: John Smith // optional system will mark anonymous when null
email: 'John.Smith@example.com', //optional system will mark anonymous when null
meta: {
disableReplaysForUser: false, // Optional - disable replays for specific users
env: 'stage', // Optional - for segmentation and environment-based settings
roles: ['owner', 'workspaceAdmin'], // Optional - for segmentation and role-based settings
pricingPlan: 'enterprise', // Put quotes around text strings
numberOfSeats: 1, // Send numbers without quotes
lastIssueAt: 1677231213, // Send dates in unix timestamp (millisecond) format and end key names with 'At'
defaultBilling: null, // Send null when no value exists for a user
}
})
Step 2: Integrate with skygram API (required)
In order to easily find your customers’ sessions in skygram, you need to integrate with skygram’s API. This will allow you to send the identity of your authenticated users into your skygram organization. Here are the steps:
- From welcome page copy the second script
- Paste it into your web app where you have access to the identity of your users
- We recommend initializing window.$fvIdentity in the following cases:
- on every page running your application where the the user is authenticated
- user registers for an account
- user signs in
- when the user attributes are changing (eg. change of user role)
Skygram.init("
id: '123-456-789' //optional system will generate a uuid when null
name: John Smith // optional system will mark anonymous when null
email: 'John.Smith@example.com', //optional system will mark anonymous when null
meta: {
disableReplaysForUser: false, // Optional - disable replays for specific users
env: 'stage', // Optional - for segmentation and environment-based settings
roles: ['owner', 'workspaceAdmin'], // Optional - for segmentation and role-based settings
pricingPlan: 'enterprise', // Put quotes around text strings
numberOfSeats: 1, // Send numbers without quotes
lastIssueAt: 1677231213, // Send dates in unix timestamp (millisecond) format and end key names with 'At'
defaultBilling: null, // Send null when no value exists for a user
}
})
Send instructions to your developers
If you need don’t have access to your codebase and need help with the installation, you can send the instructions to your developers by inserting their email on the right side of Setup page.