Frontend campaigns creation
Last updated
Was this helpful?
Last updated
Was this helpful?
Created: 29.03.2023
Updated: 28.11.2023
Author: Polina A.
To create a campaign, you need to go to the "Campaign" section and click on the "Create Campaign" button (1):
In the opened window, you will be able to choose:
The type of page on which the campaign should run.
The type of campaign you want to configure.
The template for the campaign variation.
Different types of campaigns have different template options available.
Upon selecting a template a new screen will be opened where you can configure your future campaign:
Here you have the ability to:
Rename the campaign;
Include a text comment about the campaign, which makes it easier for colleagues to understand its purpose, and include labels for visual categorization, such as by page type or creator, to enhance organizational clarity.
Change the campaign status. The status could be Active, Draft, or Paused;
Choose the trigger type that will activate the campaign.
Time on page for "Time on page" trigger:
Name of the event that serves for "Event" trigger:
In the “Advanced” subsection, you can create a composite trigger with "AND" and "OR" operators, for example, "Time on page 15 seconds" OR "Exit intent." Additionally, in this subsection, you can set the element loading wait time, such as a CSS selector:
The frequency at which the campaign can be triggered:
a. Once per page view;
b. Once per session;
c. Once per day/week/month;
d. Once per user (cookie-based);
Cancel changes or save the campaign;
Edit, duplicate, or delete the experience in the campaign (see below);
Additional settings:
On the experience creation screen, you can:
Set a name;
Go to the subsection for creating variations and changing the experience status;
Save or cancel changes.
To set a specific time frame for the experience, click "Set Schedule" in the field of the relevant experience:
In the opened pop-up, you can choose the:
Start and end date of the experience;
Exact start and end time of the experience;
Timezone - either section's or user's.
When choosing the start and end dates for the experience, select the desired date in the displayed calendar.
When navigating to the variations screen, you can:
Choose a method: A/B testing or dynamic allocation;
Choose a primary metric:
Additional experience settings from the options: variation stickiness as well as start and end of the attribution window;
The frequency of choosing a variation for a user, or "Variation Stickiness," determines how long a variation should be "attached" to the user. Different stickiness options are available for different allocation methods:
For A/B test allocation, you can choose "Sticky for the session" or "Sticky for the user (multisession)", meaning the variation will be reselected at the beginning of each new session or will be attached to a specific user ID.
For Dynamic Allocation, the options are "Sticky for the session" or "Not sticky", meaning the variation will be reselected at the beginning of each new session or on each campaign trigger.
Configure the weight of the variation. For example, with two variations at 50% weight, they will be evenly shown to two halves of the audience;
Clicking the “three dots” reveals an additional menu allowing you to duplicate or delete the variation;
Cancel and Save Experience buttons allow you to undo or save changes.
In the variation editing interface, you can provide custom CSS or JS code for the purposes of the campaign. For example, if you want a button's color to change on hover:
You can also set the parameters as variables and use them within the campaign. Variables make it easier to configure campaigns and allow business users to customize campaigns without the need for developers, providing them the ability to replace text, images, colors, and other design element parameters directly from the platform interface. More details: Working with Variables in Variations
After making all necessary changes to the campaign as a whole, you can change the experience's status:
Draft - campaign draft;
Active - active campaign;
Paused - campaign is paused.
Gravity Field offers a preview function. You can preview a specific variation right on the site. To access the preview mode, click on the "eye" icon (1) next to the variation you're interested in. You will also need to specify the URL of the specific page on your website (2) where this variation will be shown. For example, https://yoursite.com/product_1
. Additionally, you can preview the variation taking into account the targeting conditions that were configured at the experience level by activating the corresponding checkbox (3).
Templates can be of two types: pre-configured by the Gravity Field team or custom templates. Learn more about templates:
Specify targeting conditions. More details:
Time targeting: when configuring targeting conditions, you can additionally specify the time and/or day of the week required for the user to fall into targeting. Additional intormation can be found by the link:
Click "Add New Variation" button to create a variation either from scratch or by using existing ;
Click the “pencil” to enter ;