Skip to content

healthie/bing-pixel

 
 

Repository files navigation

bing-pixel

Super minimal implementation for bing pixel.

    ...
    const Bing = createBingPixel(BING_ID, { debug: true });
    ...

    componentDidMount() {
        Bing.init();
    }

    componentDidUpdate(prevProps, prevState) {
        Bing.pageLoad();
    }

    ...
        const conversion = {
            value: 1,
            currency: "EUR"
        };

        <button onClick={ () => Bing.conversion(conversion) }>
            Track conversion!
        </button>
    ...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.5%
  • HTML 2.5%