Discussions

Ask a Question

Does Sprig JavaScript SDK work in ReactJS Web application?

I installed the SDK using yarn and I added this to one of the components: ``` import { sprig } from '@sprig-technologies/sprig-browser'; const Sprig = sprig.configure({ environmentId: '<OUR ID>', }); ``` But I am getting errors: ``` - error Error [ReferenceError]: window is not defined at file:/frontend-web/node_modules/@sprig-technologies/sprig-browser/dist/index-IMQ1RWe8.js:209:1 at ModuleJob.run (node:internal/modules/esm/module_job:195:25) at async ModuleLoader.import (node:internal/modules/esm/loader:336:24) at async importModuleDynamicallyWrapper (node:internal/vm/module:429:15) { digest: undefined } ``` Please help

How do I point (integrate) the in app survey to my web application

How do I point (integrate) the in app survey to my web application
ANSWERED

Can we fetch the data for different product's survey using same api ?

Hi , I am trying to fetch the responses for my survery's. With my current API i am able to get responses for particular product's surveys but with same API can we get the response for other product's survey? Currently with same API we are not able to fetch survey responses for other Product's survey, so wanted to know what would be the process to do it ? Do we have to use another API Key for it or we can give access to current Key?

Using Sprig iOS SDK with SwiftUI

Hello, Is there a guide on how to use the Sprig iOS SDK with SwiftUI?

Link Study Heading Change

Hello Team, Is there any way I can change the header name of a Link study? It is by default picking my product name at the top. Can I change it?
ANSWERED

How to get Response rate from dashboard as an export

Hi, I wanted to know how we can extract Response rate from our dashboard for some analysis. Is there a way to extract the number of survey view , survey starts , survey completes and survey response rate? I am using API to extract response data but from that API we are not able to extract above metrics is there any other way to extract those metrics?
ANSWERED

How to get Response rate from our dashboard as an export

Hi, I wanted to know how we can extract Response rate from our dashboard for some analysis. Is there a way to extract the number of survey view , survey starts , survey completes and survey response rate? Can we get these metrics using API or any other way , If yes then can you please provide the process to do it. Thanks
ANSWERED

How to get survey's response rate

Hi , is there a way to get the response rate of some particular survery_id's . if yes can you help with some sample examples
ANSWERED

Ways to edit the users table?

Is there a way to add an attribute the the columns in the Users table? For example, we have several columns: `user`, `user id`, `email`, `last activity` (few more) and we are wondering if we can added a column to that table or if those are predetermined column names and no other columns can be add? We know how to set attributes and filter by attributes for that table.
ANSWERED

"Show Once per User" - Does this include if they do nothing?

If a study's Recontract Options are set to "Show Once per User," does that mean that if they see a study and do nothing with it (e.g. navigate to another page or close their browser window) that they will not see the message again? If so, is there a way to override this and show it to them again?