File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
lib/consent-manager-services Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import Head from 'next/head'
66import rivetQuery from '@hashicorp/nextjs-scripts/dato/client'
77import { ErrorBoundary } from '@hashicorp/platform-runtime-error-monitoring'
88import createConsentManager from '@hashicorp/react-consent-manager/loader'
9+ import localConsentManagerServices from 'lib/consent-manager-services'
910import NProgress from '@hashicorp/platform-util/nprogress'
1011import useFathomAnalytics from '@hashicorp/platform-analytics'
1112import useAnchorLinkAnalytics from '@hashicorp/platform-util/anchor-link-analytics'
@@ -18,6 +19,7 @@ import StandardLayout from 'layouts/standard'
1819NProgress ( { Router } )
1920const { ConsentManager } = createConsentManager ( {
2021 preset : 'oss' ,
22+ otherServices : [ ...localConsentManagerServices ] ,
2123} )
2224
2325export default function App ( { Component, pageProps, layoutData } ) {
You can’t perform that action at this time.
0 commit comments