Flows not showing up
If your Frigade components are not rendering in your product as expected, below are some of thhe most common issues and solutions to help you troubleshoot.Developer console
Developer console
Open the developer console in your browser and look for any error messages.
API key
API key
Make sure you have the correct API key in your
<Frigade.Provider /> component. You can find your API key in the Frigade dashboard.Flow status
Flow status
Make sure your Flows are properly installed in your app and that they are active in the Frigade dashboard. If you have not published your Flows, or if you have turned them off, they will not be available in your app.
Flow targeting
Flow targeting
Make sure any targeting you’ve set in the Targeting tab of your Flow is correct. If the targeting is too restrictive, your Flows may not show up for the intended users.
Environment
Environment
Make sure you are using the correct environment in your
<Frigade.Provider /> component. Each environment has its own API key and Flows. If you are using the wrong environment, your Flows will not show up in your app.Debug mode
Debug mode
If you are still having issues, you can enable debug mode in Chrome Devtools (see guide).
Ensure zIndex is set correctly
Ensure zIndex is set correctly
If your Flows are not showing up, it may be because they are being rendered behind other elements on the page. You can fix this by setting the
zIndex on components such as Frigade.Tour or Frigade.Announcement to a higher value.Rules
Rules
If you’ve created a rule in the Rules tab of Frigade that includes the Flow then that could affect its visibility. Make sure you’ve configured the rule correctly and that your Flow is actually expected to show.
Guest users in my dashboard
If auserId is not available when Frigade is initialized via the <Frigade.Provider /> and/or the JS SDK, Frigade will automatically assign a guest user id to the user. This is to ensure that the user can still be tracked and that their data is not lost.
To prevent Frigade from automatically generating guest user IDs, you can pass a flag to the <Frigade.Provider /> as shown below:
Import error
If you into an error such asCan't import the named export 'Anchor' from non EcmaScript module (only default export is available), it is likely that you are using an older version of create-react-app.
There are two ways to fix this issue:
- Upgrade to the latest version of create-react-app (you need to be on version 5.0.0 or higher of
react-scripts). - Eject your app from create-react-app (if not already done) and manually configure your webpack to support ESM. Do this by adding the following to your webpack config: