react-twitter-conversion-tracker-plus
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/react-twitter-conversion-tracker-plus package

    1.1.0 • Public • Published

    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

    Install

    npm i react-twitter-conversion-tracker-plus

    DownloadsWeekly Downloads

    134

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    3.67 kB

    Total Files

    4

    Last publish

    Collaborators

    • harlanj