I am using custom code to fire conversions with a 3rd party developer. I am working off this resource https://developer.blackbaud.com/skyapi/products/bbms/payments/checkout/transaction-parameters
The conversion is firing appropriately but the dot notation I am using to set conversion value isn't working. I attached the code snippet here for you to review. How can I use JS to pull in dynamic values?
document.addEventListener('checkoutComplete', function (event) {
var shoppingCartValue = data.amount;
feathr(
'convert',
'66292548d2c70df5e49cd64d',
{
amount: shoppingCartValue, // number, required
currency: 'USD', // string, optional, defaults to 'USD'
category: 'Conversion' // string, optional, defaults to 'Conversion'
}
);
});