Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

156
Views
Issue with calculating AOV with Optimizely

I'm trying to calculate revenue using custom events as guided on optimizely with the example code. The values are showing up correctly in the experiment results but AOV is assuming each event as a single transaction.

window['optimizely'] = window['optimizely'] || [];
window['optimizely'].push({
  type: "event",
  eventName: "mattressRevenue",
  tags: {
    revenue: 0, // Optional in cents as integer (500 == $5.00)
    value: 0.00 // Optional as float
  }
});

For example, I place an order with 3 items in the cart with 3 different categories i.e. one from mattresses, 2nd from accessories and so on. It will then assume each product as a separate order for AOV calculation.

The events are being sent to optimizely separately as below:

Optimizely Event Log Picture

Is there something missing from the code or in the optimizely settings?

Any help regarding this would be grateful!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!