I probably can figure out which token to use for price. But I am clueless as to what should go in the discount:
Leslie
Code:
Example 1: Assigning variable values to a Goal Value or 'gv': Track and determine the amount (dynamically) for a purchase conversion. <script> function computeDiscount(discount, price) { return price - (discount / 100) * price; } var amount = computeDiscount(20, 100); // Compute the goal value </script> <script> var uetq = uetq || []; uetq.push({ 'gv': amount }); // Pass the computed goal value </script
Comment