0.0.3 • Published 3 years ago

react-daisycon-pixel v0.0.3

Weekly downloads
385
License
ISC
Repository
github
Last release
3 years ago

React Daisycon Pixel

React daisycon pixel makes it easy to integrate the daisycon conversion pixel into a react app

Installation

$ npm install react-daisycon-pixel

Usage

<DaisyconPixel
  {/* required params */}
  matchingDomain="fr135.net"
  campaignId={00000}
  transactionId={transactionId}
  amount={100}
  revenue={100}
  description="Conversion"
  {/* non required params */}
  compensationCode={12345},
  currency="EUR",
  promotionCode="promo",
  descriptionInternal="order from webshop",
  countryCode="NL",
  zipCode="1314CH",
  gender="m",
  birthDate={1990}
  stockKeepingUnit={12345}
  quantity={1}
  extras={[1,2,3,4,5]}
/>

Mapping of the parameters

FromTo
campaignIdci
amounta
transactionIdti
compensationCodecc
currencycur
promotionCodepr
revenuer
descriptionpn
descriptionInternaliv
countryCodec
zipCodez
genderg
birthDateb
stockKeepingUnitsku
quantityqty
extras (as array)e1-e5

For explanation of the parameters, see here

License

ISC