enterprise

enterprise

The Enterprise mode provides enhanced security features, advanced analytics, and better customization options for businesses

Google reCAPTCHA Enterprise provides enhanced security features, advanced analytics, and better customization options for businesses. It offers improved bot detection, detailed risk analysis, and enterprise-grade support.

Provider Setup

To use Enterprise features, you need to enable the isEnterprise flag in the provider:

<script setup>
import { createApp } from 'vue';
import { googleReCaptcha } from '@google-recaptcha/vue';

const app = createApp(App);

app.use(googleReCaptcha, {
  type: 'v3 | v2-checkbox',
  siteKey: 'your_enterprise_site_key',
  isEnterprise: true
});
</script>

Usage

V3 Enterprise

Enterprise mode enhances v3 reCAPTCHA with additional risk assessment capabilities and detailed analytics:

<script setup>
import { useGoogleReCaptcha } from '@google-recaptcha/vue';

const googleReCaptcha = useGoogleReCaptcha();

const onVerify = async () => {
  if (!googleReCaptcha.executeV3) {
    console.log('Execute recaptcha not available');
    return;
  }

  const token = await googleReCaptcha.executeV3('action');
};
</script>

<template>
  <button @click="onVerify">verify</button>
</template>

V2 Checkbox Enterprise

Enterprise mode for v2 checkbox provides enhanced security and analytics:

<script setup>
import { GoogleReCaptchaCheckbox } from "@google-recaptcha/vue";

const onChange = (token) => console.log(token);
</script>

<template>
  <GoogleReCaptchaCheckbox // [!code word:"some action"] action="some action"
  @change="onChange" />
</template>

Last updated on