Skip to content

Commit 83eab2f

Browse files
backport of commit 7079d0a (#13800)
This pull request was automerged via backport-assistant
1 parent 02a1441 commit 83eab2f

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { ConsentManagerService } from '@hashicorp/react-consent-manager/types'
2+
3+
const localConsentManagerServices: ConsentManagerService[] = [
4+
{
5+
name: 'Qualified Chatbot',
6+
description:
7+
'Qualified is a chatbot service that allows visitors to chat with our sales staff through the website.',
8+
category: 'Email Marketing',
9+
url: 'https://js.qualified.com/qualified.js?token=CWQA3q9CaEKHNF2t',
10+
async: true,
11+
},
12+
]
13+
14+
export default localConsentManagerServices

website/pages/_app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import Head from 'next/head'
66
import rivetQuery from '@hashicorp/nextjs-scripts/dato/client'
77
import { ErrorBoundary } from '@hashicorp/platform-runtime-error-monitoring'
88
import createConsentManager from '@hashicorp/react-consent-manager/loader'
9+
import localConsentManagerServices from 'lib/consent-manager-services'
910
import NProgress from '@hashicorp/platform-util/nprogress'
1011
import useFathomAnalytics from '@hashicorp/platform-analytics'
1112
import useAnchorLinkAnalytics from '@hashicorp/platform-util/anchor-link-analytics'
@@ -18,6 +19,7 @@ import StandardLayout from 'layouts/standard'
1819
NProgress({ Router })
1920
const { ConsentManager } = createConsentManager({
2021
preset: 'oss',
22+
otherServices: [...localConsentManagerServices],
2123
})
2224

2325
export default function App({ Component, pageProps, layoutData }) {

0 commit comments

Comments
 (0)