This package has been deprecated

Author message:

This package has been deprecated. Please find this package under its new name @cloudflare/util-adwords.

cf-util-adwords

4.2.7 • Public • Published

cf-util-adwords

Cloudflare Google AdWords Util

Installation

$ npm install cf-util-adwords

Usage

import adwords from 'cf-util-adwords';
 
adwords.track(process.env.ADWORDS_CONVERSION_ID, {
  // parameters...
}).then(function() {
  // success loading script
}).catch(function() {
  // error loading script
});

If you want to override google_remarketing_only you can optionally pass a third parameter:

adwords.track(
  process.env.ADWORDS_CONVERSION_ID,
  {...},
  true // optional, defaults to `false`
);

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i cf-util-adwords

    Weekly Downloads

    6

    Version

    4.2.7

    License

    BSD-3-Clause

    Unpacked Size

    4.35 kB

    Total Files

    7

    Last publish

    Collaborators

    • lbarthonet
    • cf-media-manager
    • jacobbednarz
    • celso
    • cf-radar
    • dash_service_account
    • g4brym
    • snigdha34
    • wrangler-publisher
    • marksteyn
    • chiminator
    • sgoodhew_cf
    • terinjokes
    • third774
    • jsteinberger
    • jasnell
    • asapzacy
    • pcostanzo
    • gregbrimble
    • geelen
    • rexscaria
    • dcruz_cf
    • xuranwang
    • jculvey
    • sejoker
    • vasturiano
    • cf-ci-write
    • segments-write
    • thibmeu
    • xortive
    • gurjinder
    • cf-ci2
    • lvalenta
    • worenga