Skip to content

Advanced Features — Pro plan

Analytics, A/B Testing & AI Suggestions

Analytics, A/B testing & AI suggestions (Pro) — understand how customers use add-ons, test variants, and discover upsell ideas.

Plan requirement: Analytics (basic) is available on all plans. Full analytics dashboard, A/B testing, and AI suggestions require the Pro plan or above.

Analytics

Smart Add-Ons automatically tracks customer interactions with your addon groups — no additional setup required after activation.

Tracked events

EventWhen it fires
viewWhen an addon group becomes visible on the product page
interactWhen a customer changes a field value (debounced)
add_to_cartWhen a product with active add-on selections is added to cart
purchaseWhen an order containing add-ons is placed

Analytics dashboard

Go to Smart Add-Ons → Analytics to view:

  • Revenue per group — total addon revenue attributed to each addon group
  • Conversion rate — percentage of product views where an add-on was selected and purchased
  • Top fields — which individual fields generate the most revenue
  • Daily trend chart — views, interactions, and conversions over time

API: Track a custom event

POST /wp-json/saue/v1/analytics/events
Content-Type: application/json

{
  "event": "interact",
  "group_id": 7,
  "field_id": 12,
  "product_id": 123,
  "value": "Wood"
}

A/B Testing

Test two versions of an addon group against each other and let data determine which converts better.

Creating a test

  1. Go to Smart Add-Ons → A/B Tests → New Test.
  2. Select the Control variant (your current addon group).
  3. Select or create the Test variant (the alternative group).
  4. Set the Traffic split (e.g., 50/50).
  5. Set the Goal: maximise add-to-cart or maximise purchase revenue.
  6. Click Start Test.

How traffic splitting works

Visitors are assigned to a variant using a cookie-based session assignment stored in wp_saue_ab_assignments. Once assigned, a visitor always sees the same variant for the duration of the test. Bots and crawlers are excluded from assignment.

Viewing results

Go to Smart Add-Ons → A/B Tests → {test name}. The results panel shows:

  • Views, interactions, and conversions per variant
  • Conversion rate and revenue per variant
  • Statistical confidence level (displayed when ≥95% confidence is reached)

Declaring a winner

When you have enough data, click Declare Winner and choose the winning variant. The losing variant is deactivated and all traffic goes to the winner. The test is archived with full results preserved.

AI Upsell Suggestions

Smart Add-Ons can suggest relevant add-on ideas for a product using AI (powered by OpenAI via the Dhyan Cloud backend).

Using AI suggestions

  1. Open a product and go to the Smart Add-Ons meta box (or go to Smart Add-Ons → AI Suggestions).
  2. Click Get AI suggestions for this product.
  3. The plugin sends the product name, category, and existing fields to the Dhyan Cloud, which queries OpenAI and returns suggestions.
  4. Review the suggestions and click Apply on any you want to create. This creates a new addon field pre-configured with the suggestion.

API: Get AI suggestions

POST /wp-json/saue/v1/ai/suggest
Content-Type: application/json
Authorization: (manage_woocommerce)

{
  "product_id": 123
}