Passing multiple parameters to a custom goal
When completing an order, our customers see a reciept page with details of each product, quantity and price paid.
We'd like to create a function to track sales of individual products (rather than total order revenue) by reading the reciept contents displayed on this page and passing these variables back to an optimizely goal. We'd need product, quantity and price.
Here's what we have so far:
However, we're not sure that we're able to pass multiple values along as we'd like, all the examples only show passing one variable (e.g. on the revenue example you have).
Is what we want to do possible, or would we need to call multiple push events and pass each quantity/revenue pair back to a different goal for each product?
Has anyone done this before, and if so how did you go about it?