Embedding CPM JavaScript
You can also do the following configurations to your form:
โขSet up Global Privacy Control (GPC). For more information, see Recognizing GPC in CPM.
โขSecure your form using JWT (JSON Web Token). This can also be used to create magic links while sending customized unsubscribe links in outgoing emails to consumers. Click the Secure Form button for more details.
โขAdd other parameters to the script. For more information, see Adding Parameters to the Consent Form URL.
Embedded Forms with Google reCAPTCHA
Google reCAPTCHA does not function on embedded forms by default. Without proper configuration, the form returns an error on every submission attempt.
To enable reCAPTCHA on your embedded form, register your domain through TrustArc Support or DevOps. Contact your support team before deploying any embedded form that uses reCAPTCHA validation. If you are using TrustArc CAPTCHA, no additional configuration is needed as it works out of the box for embedded forms.
TrustArc ย ยทย Embedding CPM JavaScript ย ยทย trustarc.com