@times-components/tealium-utils

0.9.1 • Public • Published

Tealium Utils

This package simply sets up a "dev" instance of the Tealium reporter for usage in the Times Components showcases. Showcases typically import this method and pass it to any component that utilises the tracking package.

import storybookReporter from "@times-components/tealium-utils";

...
<MyTrackedComponent analyticsStream={storybookReporter} />

Events can be tested and validated in the showcases by clicking on the "Action Logger" tab at the bottom of the showcase. This utilises @storybook/addon-actions.

Contributing

Please read CONTRIBUTING.md before contributing to this package

Running the code

Please see our main README.md to get the project running locally

Development

The code can be formatted and linted in accordance with the agreed standards.

yarn fmt
yarn lint

Readme

Keywords

none

Package Sidebar

Install

npm i @times-components/tealium-utils

Weekly Downloads

1

Version

0.9.1

License

BSD-3-Clause

Unpacked Size

49.9 kB

Total Files

9

Last publish

Collaborators

  • marcincuber
  • newsuk
  • news-tools