Add hidden fields in your Typeform when it is configured on the landing page to learn more about your consumers.
Please follow the steps to:
Enable hidden fields in Typeform setting:
- Create/edit your Typeform
- click "Logic" in the upper right of the screen
- Select "Personalize with Data"
- Select "Hidden fields"
- Click on "+ add a hidden field"
Default parameters Scantrust can record:
Add fields as below, you will receive data accordingly
- @country - The country that user scans from
- @serial_number - serial number of the code
- @product - the product to which the code belongs to
- @code - code extended id
- @scan_id - uid of the scan
- @lang - the language used on the consumer's device
- @scan_result - code's scan result
Once you have set up your Typeform and hidden fields, click on "Publish" and copy the URL
Set up in STC Editor in the Scantrust portal
- Go to STC editor
- add a "Typeform pop-up" widget to the content layout box
- Click on the edit button
- Enter the button text and paste your Typeform URL then remove all the strings from #
- Click on the Typeform widget, and click the UPDATE button in the STC editor
- Your STC is updated.
Now, when a user submits a Typeform, you will receive the data you set in hidden fields. Please check in Typeform - Results - Responses
Comments