execute
Die Methodeexecute() führt JavaScript aus und wendet CSS für die angegebene Variations-ID an.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Referenz der Methode Kameleoon.API.Variations.execute, die eine Variante ausführt.
execute() führt JavaScript aus und wendet CSS für die angegebene Variations-ID an.
if (Kameleoon.API.Utils.querySelectorAll("#KameleoonPopin").length == 0) {
Kameleoon.API.Experiments.getById(123456).variations.forEach(function (variation) {
if (variation.name == "MyVariation") {
Kameleoon.API.Variations.execute(variation.id);
}
});
}
War diese Seite hilfreich?