Where do I go to add client side and server side integrations?
-
Hello, thank you for your kind help here.
Instructions v3 say to add client side and server side integrations. Could you please tell me in WordPress step>by>step how to get to “before the closing </head> tag” and “in the JavaScript callback”? It is hard to tell where to go with some things in php files and some in css and so on.
“Adding reCAPTCHA to your site
Paste this snippet before the closing </head> tag on your HTML template:
<script src=’https://www.google.com/recaptcha/api.js?render=6Le7I4IUAAAAAD3nE54M58wZ2RqieWOABoBlPVv3′></script>
Paste this snippet in the JavaScript callback for an action on your website.
<script>
grecaptcha.ready(function() {
grecaptcha.execute(‘6Le7I4IUAAAAAD3nE54M58wZ2RqieWOABoBlPVv3’, {action: ‘action_name’})
.then(function(token) {
// Verify the token on the server.
});
});
</script>URL: https://www.google.com/recaptcha/api/siteverify
secret (required) 6Le7I4IUAAAAAD1IvIo8pU9w2LFJQXYxQq6pjicS
response (required) The value of ‘g-recaptcha-response’.
remoteip The end user’s ip address.
The reCAPTCHA documentation site describes more details and advanced configurations.”
- The topic ‘Where do I go to add client side and server side integrations?’ is closed to new replies.