Skip to main content

Help editor with selectors

If your website’s elements don’t already have solid static classes and/or IDs, it can be worthwhile to add them before creating your experiment. This allows the editor to generate stronger, more reliable selectors for your variation changes. It also makes it easier to target specific elements or pages when configuring your Audience and Goals.

Place the ID or class on the outermost container of the component. The number of additional IDs or classes you’ll need depends entirely on the types of changes you plan to make in your experiment.

Examples

Product Detail Pages (PDP)

pdp example!

Product Listing Pages (PLP)

plp example!