mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Add tag to consent manager (#13768)
This commit is contained in:
14
website/lib/consent-manager-services/index.ts
Normal file
14
website/lib/consent-manager-services/index.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { ConsentManagerService } from '@hashicorp/react-consent-manager/types'
|
||||
|
||||
const localConsentManagerServices: ConsentManagerService[] = [
|
||||
{
|
||||
name: 'Qualified Chatbot',
|
||||
description:
|
||||
'Qualified is a chatbot service that allows visitors to chat with our sales staff through the website.',
|
||||
category: 'Email Marketing',
|
||||
url: 'https://js.qualified.com/qualified.js?token=CWQA3q9CaEKHNF2t',
|
||||
async: true,
|
||||
},
|
||||
]
|
||||
|
||||
export default localConsentManagerServices
|
||||
@@ -6,6 +6,7 @@ import Head from 'next/head'
|
||||
import rivetQuery from '@hashicorp/nextjs-scripts/dato/client'
|
||||
import { ErrorBoundary } from '@hashicorp/platform-runtime-error-monitoring'
|
||||
import createConsentManager from '@hashicorp/react-consent-manager/loader'
|
||||
import localConsentManagerServices from 'lib/consent-manager-services'
|
||||
import NProgress from '@hashicorp/platform-util/nprogress'
|
||||
import useFathomAnalytics from '@hashicorp/platform-analytics'
|
||||
import useAnchorLinkAnalytics from '@hashicorp/platform-util/anchor-link-analytics'
|
||||
@@ -18,6 +19,7 @@ import StandardLayout from 'layouts/standard'
|
||||
NProgress({ Router })
|
||||
const { ConsentManager } = createConsentManager({
|
||||
preset: 'oss',
|
||||
otherServices: [...localConsentManagerServices],
|
||||
})
|
||||
|
||||
export default function App({ Component, pageProps, layoutData }) {
|
||||
|
||||
Reference in New Issue
Block a user