A/B Testing Support

With the new A/B Testing feature in the Tweakwise App, you make decisions based on facts instead of assumptions. You can easily run tests with Merchandising Builder, comparing grid layouts, visual components, and campaigns on your lister pages. You can also experiment with filtering by adjusting order and visibility, and with sorting by testing different sort options, each with their own logic, against each other.

Tweakwise A/B Testing runs entirely within the Tweakwise platform. Variant assignment, distribution, and evaluation are handled server-side. Your implementation only needs to supply the required identifiers and events to enable consistent variant exposure and accurate measurement.

To get A/B testing up and running, our engine requires three steps:

  • Identify : recognize the current user.
  • Collect : capture key moments in the user journey.
  • Apply send the profilekey with every request

Identify

Customer identification is done through a profile key. This is our way to identify your customers using a unique identifier. To learn more, see Event Tag - Profiles.

Collect

Follow our Event Tag guide to get started with collecting key events like product views and purchases.

Apply

Add the profilekey to every request, so we can generate personalized results.

In the examples we use the a fictional profilekey 8Vm8EbmlHdDU60whm4.

Navigation

Use tn_profilekey to identify the user on merchandising requests:

curl --request GET \
     --url 'https://gateway.tweakwisenavigator.com/navigation/{instancekey}?tn_profilekey=8Vm8EbmlHdDU60whm4' \
     --header 'TWN-Source: Tweakwise API docs' \
     --header 'accept: application/json'

Search

Use tn_profilekey to identify the user on search requests:

curl --request GET \
     --url 'https://gateway.tweakwisenavigator.com/navigation-search/{instancekey}?tn_q=hoody&tn_profilekey=8Vm8EbmlHdDU60whm4' \
     --header 'TWN-Source: Tweakwise API docs' \
     --header 'accept: application/json'

Suggestion products

Use tn_profilekey to identify the user for product suggestions:

curl --request GET \
     --url 'https://gateway.tweakwisenavigator.com/suggestions/products/{instancekey}?tn_q=hoody&tn_profilekey=8Vm8EbmlHdDU60whm4' \
     --header 'TWN-Source: Tweakwise API docs' \
     --header 'accept: application/json'

Recommendations

Use tn_profilekey to identify the user for product recommendations:

curl --request GET \
     --url 'https://gateway.tweakwisenavigator.com/recommendations/features/{instancekey}/1?tn_profilekey=8Vm8EbmlHdDU60whm4' \
     --header 'TWN-Source: Tweakwise API docs' \
     --header 'accept: application/json'