Article sections

    If you decide to trigger an experiment manually instead of letting the app do it automatically, here is the procedure:

    Step 1. Find experiment/variations’ IDs

    On the experiment page in variations listing, you have a combination of “NUMBER-NUMBER” for every variation.
    Example: 25377-56523, in which 25377 is the experiment ID and 56523 is the variation ID.

    experiment variation id

    Step 2. Trigger the experiment by using javascript code

    The javascript command for triggering an experiment or an experiment/variation combination is:

    _mktz.push(['applyExperiment','25377-56523']);

    You can use this code on any javascript event and as many times you want. The experiment you trigger manually will not be restricted by segmentation, frequency limit or URL includes/excludes. It will show when triggered.

    Go on your website, click right and then click on “Inspect”.

    Then go to the “Console” and paste the _mktz.push([‘applyExperiment’,’Number-Number’]);

    Was this post helpful?