0.9.0 • Published 3 years ago

@newskit-render/integrations v0.9.0

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
3 years ago

@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/integrations

or

    npm install @newskit-render/integrations

Usage

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.env

Paste 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.env

Paste 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.env

Paste the code below after the opening Head tag

<OptimizelyWeb scriptCdn={EXPERIMENTATION_WEB} />
0.9.0

3 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago