Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

A/B test checkout extension

A/B test checkout extension

EricMainhard
Shopify Partner
7 0 2

Hi! Im currently using a AB tool in my shopify store to run different tests, but Im not able to find a way to test extensions in the checkout.

 

I need to inject a script to connect my took and hide/show elements in AB tests, is this somehow possible?

Replies 5 (5)

Liam
Community Manager
3108 344 910

Hi Eric - I'll connect with the checkout team on this!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

EricMainhard
Shopify Partner
7 0 2

Hi @Liam I appreciate your answer!
Should I wait them to contact me or how does this work?

Liam
Community Manager
3108 344 910

So after looking into this it does seem that currently, there is no built-in functionality for A/B testing of checkout extensions. A potential workaround could be to create two versions of the extension and use your own logic to determine which version to load for a given user. However, this would require a significant amount of custom development and is not a feature provided out of the box by Shopify.

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

EricMainhard
Shopify Partner
7 0 2

Hi @Liam how are you? Yes, I can use queryParams for example to show or hide an extension, but since the checkout does not allow third party scripts, how can I measure that?

 

alex-hancock
Tourist
5 0 5

@Liam A/B testing on checkout is a fundamental feature for understanding how changes to checkout impact conversion. Can you feed back that this would be a very important feature?