@newskit-render/integrations v0.9.0
@newskit-render/integrations
This package is holding all of the third party integrations that the React SSR App @newskit-render/core is using.
Install
yarn add @newskit-render/integrationsor
npm install @newskit-render/integrationsUsage
Tealium
*Note: to get following keys, please contact - AIT Team*
Add following keys in you .env.local file
TEALIUM_ACCOUNT_ID=""
TEALIUM_PROFILE_ID=""
TEALIUM_ENV=""Import the component in your _document.tsx file
import { Tealium } from '@newskit-render/integrations'Get the params from .env.local file
const {
TEALIUM_ACCOUNT_ID,
TEALIUM_PROFILE_ID,
TEALIUM_ENV
} = process.envPaste the code below after the opening body tag
<Tealium
accountId={TEALIUM_ACCOUNT_ID}
profileId={TEALIUM_PROFILE_ID}
env={TEALIUM_ENV}
/>SourcePoint
Note: To get following keys, please contact - SourcePoint Team #sourcepoint
Add following keys in you .env.local file
SOURCEPOINT_ACCOUNT_ID=""
SOURCEPOINT_PROPERTY_HREF=""Import the component in your _document.tsx file
import { SourcePoint } from '@newskit-render/integrations'Get the params from .env.local file
const {
SOURCEPOINT_ACCOUNT_ID,
SOURCEPOINT_PROPERTY_HREF
} = process.envPaste the code below before the closing Head tag
<SourcePoint
accountId={SOURCEPOINT_ACCOUNT_ID}
propertyHref={SOURCEPOINT_PROPERTY_HREF}
/>OptimizelyWeb
Note: to get following keys, please contact - Experimentation Team #nuk-experimentation
Add following keys in you .env.local file
EXPERIMENTATION_WEB=""Import the component in your _document.tsx file
import { OptimizelyWeb } from '@newskit-render/integrations'Get the params from .env.local file
const {
EXPERIMENTATION_WEB
} = process.envPaste the code below after the opening Head tag
<OptimizelyWeb scriptCdn={EXPERIMENTATION_WEB} />