// The following function invocation is for illustration purposes only.
// You will have to provide your own means of deriving the monetary value of your conversion sprinkle.
let shoppingCartValue = getShoppingCartValue();
// Invoke the feathr function with the following parameters to sprinkle a conversion breadcrumb.
feathr(
'convert',
'656e07d163debe2bd4d37f99',
{
amount: shoppingCartValue, // number, required
currency: 'USD', // string, optional, defaults to 'USD'
category: 'Conversion' // string, optional, defaults to 'Conversion'
}
);
// The following function invocation is for illustration purposes only.
// You will have to provide your own means of deriving the monetary value of your conversion sprinkle.
let shoppingCartValue = getShoppingCartValue();
// Invoke the feathr function with the following parameters to sprinkle a conversion breadcrumb.
feathr(
'convert',
'65cba47711d561da021a7ef3',
{
amount: shoppingCartValue, // number, required
currency: 'USD', // string, optional, defaults to 'USD'
category: 'Conversion' // string, optional, defaults to 'Conversion'
}
);