Pinterest Line items variabele aanmaken
Bewerkt
Maak een nieuwe variabele aan.
Selecteer Custom JavaScript als variabele configuratie.
Plak het volgende script in het invoerveld.
function() {
var products = {{DLV - ecommerce items}};
return products.map(function(product) {
return {
'product_name': product.item_name,
'product_variant': product.item_variant,
'product_id': product.item_id,
'product_category': product.item_category,
'product_brand': product.item_brand,
'product_price': product.price,
'product_quantity': product.quantity
}
});
}Geef de variabele de naam "Pinterest Line Items" en sla de variabele op.
Was dit artikel nuttig?
Onze excuses! Zou je ons meer willen vertellen?
