How to Use the Autofill Integration?
Request the data you wish to require for the form, such as Name or Email Address, with the snaptr(‘autofill’, request) function once the form appears on the screen. To enable this function, you will need two components: a callback function and requested fields.
To make sure the web page is fully visible before making the request, see the Page Visibility API.
Information the user has available when they agree to autofill determines which correct data populates the correlating fields. If the user does not have certain information (e.g., an email address), the field for that specific information is left empty. Additionally, if the user doesn’t have any information to populate any of the required fields, the auto-fill prompt is not activated.
Be sure to populate specified form fields with the correct data, such as name information in the callback function, so viewers can view what they’ve entered prior to submission.
For information on Snapchat’s new terms and conditions for advertisers, see “Snap Updated Its Terms and Conditions for Ad Services.”