formbricks/formbricks

[FEATURE][🕹️] Store display URL for in-app surveys as meta data

Closed this issue · 4 comments

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

image

Describe alternatives you've considered

No response

Additional context

No response

/assign

Please also make sure to include the display URL in data exports and expose it via API :)

hoverprofile

Is this proper?

@nik132-eng looks good :-)