1.1.0 • Published 6 years ago

react-twitter-conversion-tracker-plus v1.1.0

Weekly downloads
45
License
MIT
Repository
github
Last release
6 years ago

react-twitter-conversion-tracker

React JS component for Twitter's conversion tracking.

Install

npm install --save react-twitter-conversion-tracker

Setup

import TwitterConvTrkr from "react-twitter-conversion-tracker";

const TWITTER_CONVERSATION_ID = process.env.TWITTER_CONVERSATION_ID;

TwitterConvTrkr.init(init);

API

TwitterConvTrkr.pageView()

Tracks the page a user is currently on.

TwitterConvTrkr.track(action)

Tracks the action provided to function.

YourTwitterConversionId is found in twq('init','x3id') when you create the tailored audience.

Connect with me @evanmichaelkyle