Test Anything on Your Shopify Store with Custom Code

Some tests do not fit inside a visual editor. Custom Code Experiments let you ship JavaScript and CSS variations to any page of your store, split traffic between them, and measure the revenue impact. Your theme stays untouched, and every change is reversible in one click.

Start 14-day Free Trial
Elevate A/B Testing a successful Shopify custom code experiment

Ship the Tests Your Theme Editor Cannot Reach

Full JavaScript and CSS control

Some winning ideas live outside the theme editor. Each variation in a Custom Code Experiment carries its own JavaScript and CSS block, so if you can build it on the front end, you can test it:

  • Restyle any element or rewrite a section entirely
  • Inject a new module or component onto the page
  • Change behavior on scroll, click, or any other interaction
Elevate A/B Testing a custom JavaScript and CSS variation

Precise page targeting

Code only earns its keep on the right pages. Run a variation store-wide, or narrow it to the exact paths that matter for the test.

Wildcards match whole groups of pages at once — every product page, every collection — while exclude rules keep your code off the pages it should never touch.

Elevate A/B Testing page targeting rules for a custom code experiment

Clean, isolated results

A code test is only as good as the data behind it. Turn on traffic isolation and visitors in this experiment are held out of every other test running on your store.

Cross-experiment interference disappears, so the lift you measure reflects the change you actually shipped — not the combined noise of overlapping tests.

Elevate A/B Testing traffic isolation for a custom code experiment

No theme edits, no deploys

Variations run through Elevate’s native Shopify integration: nothing is written into your theme files, nothing waits on a deploy, and there’s no review queue between an idea and a live test.

End the experiment and the code is removed from your store immediately. Roll out a winner and it keeps running — still without touching your theme.

Elevate A/B Testing choosing the goal metric that decides the winner

Common Questions About Custom Code Testing

You need to be comfortable writing or pasting JavaScript and CSS. Most tests on Elevate do not require code at all, and the visual editor covers layout, copy, images, and styling changes without it. Custom Code Experiments exist for the tests that go beyond what a visual editor can do, and they are built for operators who already have a snippet in hand or a developer who can write one.

Elevate runs on Shopify's native web pixel infrastructure, so the experiment framework itself adds no meaningful load. The performance of your variation depends on the code you write. Keep your JavaScript lean and your CSS scoped, and the impact stays negligible.

Yes. You can run code across every page of your store, target specific paths, use wildcards to match groups of pages like all product URLs, and exclude any paths where the code should never run.

Up to five, including the control. Each variation carries its own JavaScript, its own CSS, and its own page targeting rules.

The code stops running immediately and your store returns to its original state. If the variation won, you have the exact JavaScript and CSS that produced the lift, ready to implement permanently.

Only if you let them. Turn on traffic isolation and visitors in this experiment are excluded from every other test on your store, which keeps the read clean.

What our clients say

Trusted by growing brands worldwide

Rated 5 out of 5
Came across this app after experimenting with Google optimize. I would say this is more user friendly to review impact of the test. Also, much easier to set up than Google Optimize in my opinion.
Nathan Yun, CEO at Paire

Nathan Yun

CEO at Paire

Rated 5 out of 5
I downloaded this app to conduct A/B tests on our different product pages, and it's the best one I've used so far. More than easy to set-up. 5 minutes after installing the app, you can run your first A/B test.
Jonathan Haddad, CMO at REPEAT

Jonathan Haddad

CMO at REPEAT

Rated 5 out of 5
I had a bit of a complicated set up and the Elevate Team was so helpful and patient working with me! Stellar customer service compared to other testing apps that I've worked with!
Becca Mijares, Founder at Romp Stomp

Becca Mijares

Founder at Romp Stomp

Elevate your sales with A/B testing

Make better business decisions