[FEATURE][🕹️] Store display URL for in-app surveys as meta data
Closed this issue · 4 comments
jobenjada commented
Is your feature request related to a problem? Please describe.
users want to know on which URL a (in-app) survey was displayed.
Describe the solution you'd like
It seems a meta data field url
is already present, but unused. Get the current browser URL when a survey response is created in the @formbricks/js
package, include it in the payload for the response create endpoint and store it in the metadata as url
.
display the URL here in the SingleResponseCard.tsx
Describe alternatives you've considered
No response
Additional context
No response
nik132-eng commented
/assign
jonas-hoebenreich commented
Please also make sure to include the display URL in data exports and expose it via API :)
nik132-eng commented
mattinannt commented
@nik132-eng looks good :-)