Discussions

Ask a Question

Attempts to add any comments to existing questions here fail and return 503

I tried to comment on my questions below, but everything fails with 503 errors after some time

Which UpChunk package should we use?

Hi, I installed Sprig JavaScript SDK using yarn command from here: <https://docs.sprig.com/docs/web-javascript#install-with-npmyarn> usually all the required dependencies are picked up by Yarn, but looks like I am getting this error message in Chrome Dev console: ``` [Sprig] - recording functionality not configured due to missing UpChunk dependency ``` there are 6 'upchunk' related packages available: <https://www.npmjs.com/search?q=upchunk> which one should we use? Thank you!

Wrong type re-definition for Window.Intercom in JavaScript SDK

Intercom second parameter should be optional, because there are methods like Intercom('show'); <https://developers.intercom.com/installing-intercom/web/methods/#intercomshow> But in your JavaScript SDK code it is defined as required, and it breaks all other usages of Intercom in our App ``` Intercom: { ul_wasVisible?: boolean } & (( method: string, data: unknown, <===== SHOULD BE OPTIONAL ) => void); ``` please see line 2824 here: <https://www.npmjs.com/package/@sprig-technologies/sprig-browser?activeTab=code>

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