I got the code from here: https://developers.google.com/recaptcha/docs/v3
<script src="https://www.google.com/recaptcha/api.js?render=_reCAPTCHA_site_key"></script>
<script>
grecaptcha.ready(function() {
grecaptcha.execute('_reCAPTCHA_site_key_', {action: 'homepage'}).then(function(token) {
...
});
});
</script>
When I try to save the pasted code into the "Add Javascript" box, I get an error message ("Unexpected token <"). Clearly I'm out of my depth, but my hope is that getting this code to work with our survey might be a fixable problem. I think this bot-detection functionality may be available on Qualtrics, but our school account doesn't seem to have access to this user-friendly version of the feature.
I would so appreciate any help or advice you can spare. Thank you for your time!
Best answer by KoalaTricks
View original