Method Calls

addConversionRows

addConversionRows Method


The addConversionRows method is used to track non-monetary conversions on your site. The method data is an array of objects. Each row is an object with properties specific to the conversion.

Required and Optional Properties

The only required property is unitPrice.

The optional properties are as follows:

  • itemId
  • quantity

Don't send empty strings for optional property values. Only send properties that have a value.

You don't need to send an additional API call with the addCartRows method to empty the cart after a conversion.

Monetate Inspector View

This screenshot shows the required unitPrice property as well as the optional product ID and quantity as they appear in the Monetate Inspector browser plug-in.

The Components tab of Monetate Inspector, with a value in the Purchase ID row and with unit price, product ID, and quantity for multiple non-monetary conversion products in the 'Cart Products' rows


This code example contains the method in use that results in the Monetate Inspector results shown in the previous screenshot.

addConversionRows Example