Method Calls
addConversionRows
addconversionrows method // addconversionrows method window\ monetateq push(\[ "addconversionrows", \[{ "itemid" "conversionnamestring", "quantity" "quantitystring", "unitprice" "valuestring", }] ]); 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 // addconversionrows example window\ monetateq = window\ monetateq || \[]; window\ monetateq push(\[ "addconversionrows", \[{ "itemid" "email signup", "quantity" "1", "unitprice" "1 00" }, { "itemid" "invites sent", "quantity" "3", "unitprice" "1 00" }] ]); window\ monetateq push(\[ "trackdata" ]);