LogoLogo
PlatformsPricingRessources
  • Home
  • Onboarding
  • User documentation
  • Release Notes
  • Help Center
  • User documentation
  • Dashboard
    • Global Experience Dashboard discovery
    • How to filter the Global Experience Dashboard
    • How to customize your Global Experience Dashboard
    • Uplift card
  • Web Experimentation and Personalization
    • Campaign creation and dashboard
      • Types of campaigns
        • Choosing the right type of campaign with Ally, our assistant
      • How to create a campaign
        • Experimentations
          • How to create an A/B Test
          • How to create a Multipage Test
          • How to create a Split Test/Test by Redirection
          • How to create an A/A Test
          • How to create a Patch / Multipage Patch
          • How to create a Multivariate Test
        • Personalizations
          • How to create a Multi-Experience Personalization
          • How to create a Multipage Personalization
          • How to create a Simple Personalization
      • Campaign duplication
        • How to duplicate a campaign
      • How to set-up Main Information step
      • Understanding campaign duration
      • Campaign loading (deferred/ instant)
      • The "Comment" section of the campaign creation flow
      • Campaign statuses
      • How to exclude IP addresses from your campaigns
      • How to use MDE Calculator
      • Campaigns Dashboard
      • Campaign Scheduler
      • Mutually Exclusive Experiments
      • How to use Campaign Prioritization
        • Prioritization of Personalizations
    • Editors and Widget
      • How to create and edit content in the visual editor
      • How to use our Visual Editor - Interactive demo
      • Discovering the Visual Editor
      • Visual editor - History and review of modifications
      • Code Editor
      • Using the Editor Copilot
      • Prompt Inspiration library for Visual Editor Copilot
      • How to create an Action Tracker in the editor
      • How to use redirection option
      • How to create trackers in the editor
      • Widgets
        • Widgets configuration in the visual editor
        • AB Tasty prebuilt Widgets
          • Action Button Widget
          • Banner Widget
          • Before-After Image Widget
          • CSAT Widget
          • Celebrate Widget
          • Countdown widget
          • Drawer Widget
          • Dwell Time Tracking Widget
          • Element Visible Tracking Widget
          • Iframe Click Tracking Widget
          • IFrame Widget
          • Image Pop-in Widget
          • NPS® (Net Promoter Score) Widget
          • Progress Bar Widget
          • Scratch card Widget
          • Scroll Rate Tracking Widget
          • Search & Replace Widget
          • Simple Popin Widget
          • Snowflake Animation Widget
          • Social proof Widget
          • Social Sharing Widget
          • Spotlight Widget
          • Sticky Element Widget
          • Tooltip Widget
          • Video Pop-in Widget
          • Virtual Click Widget
        • Custom widget
          • Custom Widgets: List of propname Fields and Their Specificities
          • Custom widgets: Global usage and information
        • Custom code widget
      • Chrome extension
      • Shadow DOMs & iFrames
        • Understanding Shadow DOM
        • How to edit Shadow DOM in the visual editor
        • Understanding iframes
        • How to edit Iframes in the visual editor
    • Goals step
    • Targeting step
      • How to set up a campaign Targeting
      • How to create a Segment (Who section)
        • Segments Recommendations
        • Inspiration with Engagement Level segmentation
      • How to define Targeted Pages (Where section)
      • How to create a Trigger (How section)
        • Geolocation criterion
        • Device criterion
        • Screen size criterion
        • IP address criterion
        • Weather criterion
        • Landing Page criterion
        • Source & source type criterion
        • Previous Page criterion
        • URL Parameter criterion
        • Minimum Pages viewed criterion
        • Visited Pages criterion
        • Same day visit criterion
        • Browser language criterion
        • Browser criterion
        • Adblocker criterion
        • JS Variable criterion
        • Code-based criterion
        • CSS Selector criterion
        • DataLayer criterion
        • Visitor attributes criterion
      • How to define a Targeting Frequency (When section)
      • How to set-up targeting verifications
      • How to use the replicate targeting option
      • How to use URL operators to build URL patterns
    • Traffic allocation step
      • Campaign flow: Traffic Allocation step
      • Dynamic allocation
      • Even allocation
    • Advanced Options step
      • Sequential Testing Alerts
    • QA step
      • QA Mode & QA Assistant
        • How to use the QA mode
        • How to use the QA Assistant on desktop
        • How to use the QA Assistant on mobile
      • How to use the browser console to QA a campaign
  • Feature Experimentation & Roll-Out
    • How to create server-side A/B tests
    • How to create feature toggles and manage rollouts
    • How to create server-side personalization
    • FE&R Glossary
    • Managing Flags
    • Managing Context Keys
  • Recommendations & Merchandising
    • Recommendations
      • Web recommendation
        • Most popular recommendation filters
        • Variables by placement
        • Placement
        • Products groups
        • Filters
        • Exceptions
        • Options
      • Recommendation Banner
        • Recommendation banner with tag and custom JS
          • Adding Recos Tag to a website
          • Enriching Recommendations Banner HTML to send events to DataLayer through Recos Tag
          • Setting up GTM to send Recos Datalayer Events
          • Connect Tag Assistant from GTM
          • Check that the events arrive correctly in GA
          • Check the display of recommendations
          • Retrieving recos products from a RECO_ID with Recos Tag
        • Deploying a Recommendations Banner Custom Widget
        • Retrieving a Recommendation RECO_ID
        • How to push recommendations with Adobe Campaign
        • How to build recommendations (recommendation builder variant)
      • Mail recommendations
        • How to push recommendations into your Brevo emails
        • Brevo Feed
        • Products groups
        • Filters
        • Products highlights
        • Exceptions
        • Options
        • Parameters
        • Preview
        • Most popular recommendation filters
    • Merchandising
      • Introduction
      • Category
      • Products groups
      • Filters
      • Products highlights
      • Exceptions
      • Result to refine
      • How to deploy a merchandised product list through Algolia
    • Recos & Merch analytics
      • How to track performances
      • Recos Analytics Event format
      • The impact of BigQuery exports in terms of cost
      • Setup analytics retrieve events with Recos Tag
      • Key indicators over the period & Segment
      • Overview data
      • Evolution metrics
    • Recos & Merch API
      • Getting a product list
      • Accessing Recos API (endpoint)
      • Accessing Recommendations API (only specific accounts)
    • Recos & Merch account management
      • How to manage users in Recommandation & Merchandising module
      • How to manage roles
      • How to manage synchronisations
      • How to manage invoices
    • Security and GDPR
      • Procedure for Reporting Personal Data Breaches
      • Backup Policy
      • Security Configuration of Our Servers
      • PSSI
    • Recos & Merch Algorythms
      • How to manage algorithms
      • How to create your algorithms
      • Better understanding
      • Default algorithms
      • Data used to train Algorithms
    • Recos & Merch integrations
      • Integrations with Recos & Merch
      • Brevo Integration
      • Analytic integrations
        • Google Analytics integration
        • Matomo integration
        • Random data integration
      • Recos & Merch CMS integration
        • PrestaShop integration
        • Shopify Integration
        • Custom integration
  • Emotions AI
    • Understand EmotionsAI
      • EmotionsAI in a nutshell
      • Leverage EmotionsAI to get more value from A/B tests
      • Leverage EmotionsAI to get high-potential A/B test ideas
    • First steps with EmotionsAI
      • Onboarding
      • EmotionsAI functioning
      • Navigating the interface
      • FAQ about EmotionsAI
    • Using EmotionsAI
      • How to activate EmotionsAI features
      • EmotionsAI Website Mapping configuration
      • EmotionsAI Journey Analysis
      • EmotionsAI Page Analysis
      • Target EmotionsAI segments
      • QA a campaign on Desktop with EmotionsAI Chrome Extension
      • Use EmotionsAI targeting on hard-coded personalizations
      • Usage of EmotionsAI in some Push integrations
    • Read EmotionsAI campaigns’ report
  • Library
    • How to set-up your libraries
    • Widget library
      • Creating and managing Widgets
      • How to create a preset Widget
      • How to create a Custom Widget
        • How to configure Custom Widgets Custom Forms
      • How to declare your Widget Theme
    • Assets Library
    • Trackers library
      • Action Trackers
        • How to create and manage Action Trackers
      • How to create a Custom Tracker with custom JavaScript code
      • How to create a Custom Tracker via the DataLayer
    • Creating and managing Segments
      • List of Segment criteria
        • CSAT criterion (Customer Satisfaction)
        • NPS® criterion (Customer Satisfaction)
        • Engagement Level criterion
        • EmotionsAI criterion
        • Content Interest criterion
        • Page interest criterion
        • Device criterion
        • Cookie criterion
        • New/Returning visitors criterion
        • Campaign Exposure criterion
        • Number of sessions criterion
        • Day(s) Since Last Session criterion
        • Day(s) Since First Session criterion
        • Action Tracker criterion
        • Cart Abandonment criterion
        • Last Purchase criterion
        • Purchase Frequency criterion
        • Geolocation criterion
        • DMP, CDP, rd party tool criterion
      • Segments Library - Metrics
    • Creating and managing Triggers
      • List of Trigger criteria
    • Creating and managing Saved Pages
  • Integrations
    • Integrations general information
    • Push integrations
      • Adobe Analytics
      • Air
      • Amplitude (analytics browser)
      • Amplitude
      • AT Internet Smart Tag
      • Contentsquare
      • Google Analytics (Audience creation)
      • Google Analytics (UA)
      • Google Analytics (event only)
      • FullStory
      • Heap Analytics
      • Hubspot
      • Matomo
      • Mixpanel
      • Piano Analytics
      • SalesForce Marketing Cloud (Push)
      • Segment
      • Tealium
    • Pull integrations
      • Air
      • Commander Act
      • EmotionsAI
      • Fullstory
      • Google Analytics
      • Heap Analytics
      • Mixpanel
      • mParticle
      • Piano Analytics (Pull)
      • SalesForce Marketing Cloud (Pull)
      • Segment
      • Tealium : Import Audiences
      • Weborama
    • Other integrations
      • Productivity
        • Microsoft Dynamics Commerce
        • Setting up Microsoft Clarity Integration with AB Tasty
        • Didomi
        • How to Set Up the AB Tasty Connector with Notion
        • How to connect AB Tasty to Google Sheets
        • Connect your Slack Workspace to AB Tasty
      • Data Warehouse
        • Data Warehouse integrations: General information
        • Big Query - Daily exports from AB Tasty to Big Query
        • Snowflake - Daily exports from AB Tasty to Snowflake
        • Redshift - Daily exports from AB Tasty to Redshift
    • Custom integrations
      • Universal Data Connector
      • Custom Integration Connector with a rd party tool (Push data)
      • AB Tasty public API
  • Reporting & Performances
    • Data Explorer
      • How to analyze page traffic via Data Explorer
      • How to get metrics breakdown by multiple dimensions via Data Explorer
      • How to get a list of recent hits via Data Explorer
      • Data Explorer - List of Metrics and Dimensions
    • ROI dashboard
    • Performance Center
      • List of Performance Guidelines
    • Reporting
      • Campaign reporting
        • Reporting Copilot
        • Analysis Copilot
      • Data & reports: generalities and definitions
      • AB Tasty reports Metrics
        • Live hits of the reporting
        • Metrics based on tracking widgets
        • Navigation metrics
        • Metrics based on pageviews
        • Metrics based on clicks
        • Metrics based on transactions
      • Reporting Filters
        • General Reporting filters
        • EmotionsAI Reporting filter templates
      • Using the NPS®️ report
        • How does Feedback Analysis Copilot work
      • Sample ratio mismatch
      • Refresh reporting data using Refresh On Demand
      • Data export from the reporting
      • Frequentist Analysis mode
      • Understand the statistics behind your Reports
        • Statistics for the reporting
        • Statistical metrics
        • Avoiding Pitfalls in AOV Analysis for Conversion Rate optimization
        • Conversion mechanisms & concepts
        • Reporting Readiness
  • Account
    • Tag integration
      • All About Tags
      • How to implement the Generic Tag
        • AB Tasty hosted tag implementation
        • Tag Domain Delegation
          • Tag domain delegation implementation
      • How-to QA the Generic Tag
      • How to implement the Generic Tag via Google Tag Manager
      • How-to join the Next tag program
      • AB Tasty integration with Shopify
        • Understanding Shopify App features
        • How to implement the AB Tasty tag via Shopify
        • How to set-up Shopify Custom Pixel App
      • AB Tasty tag compilation
      • How the AB Tasty tag is designed to handle Single Page Apps (SPA)
    • Technical implementation
      • How to choose your cookies deposit method
      • How to declare my Account Domain?
      • JavaScript in AB Tasty
        • How to configure JavaScript
        • Javascript files execution
        • Campaign JavaScript Execution
      • How to configure jQuery loading
      • How to integrate Product hits
      • Product Hits integration principles
        • How to set-up segment criteria "Content Interest" and "Cart Abandonment"
    • Transaction Tag integration
      • How to implement the Transaction tag
      • How to create a Transaction Tracker via DataLayer
      • How to use the Transaction Tag Generator
      • How to QA the Transaction tag
    • Performance and security
      • How to manage visitor identity
      • How to deactivate AB Tasty
      • Consent policy - cookies, storage and privacy
    • Account management
      • The organization page
      • Subscription page
      • How to manage users?
Powered by GitBook
LogoLogo

AB Tasty Website

  • Home page AB Tasty
  • Blog
  • Sample size calculator
  • Release note

AB Tasty Plateform

  • Login

© Copyright 2025 AB Tasty, Inc, All rights reserved

On this page
  • The Targeting step
  • Step 1: Segment(s) - Who will see the campaign
  • Single-page Experiences vs. Multipage Experiences
  • Managing your saved segments
  • Step 2: Page(s) - Where will the campaign be displayed
  • How it works
  • Configuration of the targeted pages
  • Step 3: Trigger(s) - How will the campaign be triggered
  • Single-page Experiences vs. Multipage Experiences
  • Managing your saved triggers
  • Step 4: Frequency - When will the visitor be targeted
  • Focus on the Regular Intervals configuration:
  • 7. Specific options
  • Replicate targeting option
  • Triggering your whole campaign with an event
  • Add to targeting
  • Troubleshooting area

Was this helpful?

Edit on GitLab
Export as PDF
  1. Web Experimentation and Personalization
  2. Targeting step

How to set up a campaign Targeting

PreviousTargeting stepNextHow to create a Segment (Who section)

Last updated 9 days ago

Was this helpful?

The Targeting step will allow you to define the conditions in which your campaign will be displayed.

In this how-top article, you will learn how to define:

The Targeting step

Targeting is a step inside the campaign creation flow. You have several options to access it.

  • When you create a campaign from scratch, this is the 2nd step for Personalizations and the 4th step for Tests.

  • From the Campaign dashboard, when clicking the pen icon for each campaign, and choosing “targeting” from the list

Step 1: Segment(s) - Who will see the campaign

A segment is a cluster of users/ visitors who share specific persistent traits though sessions.

The segment enables the campaign to be displayed to the configured visitor segment only when the conditions are met.

Segments are mostly based on current and former sessions conditions and behaviors.

You want to choose between displaying the campaign:

  • to all your visitors

  • to a specific segment you've already created in the past and which is available in the list

The segment applies differently regarding the type of campaign:

  • Tests: it applies to your whole AB Test, meaning the original variation (V0) and all the variations (V1, V2, and V3 for an A/B/C/D test, for example)

  • Personalizations: it applies to the selected scenario for the personalization campaigns. Use the dropdown to navigate between scenarios and choose the right segment for each of them

  • Patches: the option is not available, "all visitors" is selected by default

Single-page Experiences vs. Multipage Experiences

  • For A/B Tests, Simple Personalizations, and Patches, you’ll have to define your "Who section" once for your campaign, because these types of campaigns have only one “experience” (one type of new content generated with AB Tasty to display).

  • For Multipage Tests, Multivariate Tests, and Multipage Personalizations, you’ll have to define your "Who section" several times for your campaign, for each page. But we encourage to use exactly the same segment to ensure the continuity and visibility of all experiences during the visitors’ navigation.

  • For Multi-experience Personalizations, you’ll have to define your "Who section" several times for your campaign, for each experience. You'll have to choose different segments for each experience, because this is the objective of this kind of campaign.

❗️In any case: Don’t forget to use the dropdown menu on the Targeting page to switch between experiences and set up your segment for every experience

We also offer a “Replicate” option, which allows you to replicate the full targeting setup or one part of the targeting setup of one experience in another experience, or in all experiences.

Managing your saved segments

If you want to edit, duplicate or delete an existing segment, you can do so directly from the dropdown menu:

📎 Note: If your segment is already used in a live campaign or is live in QA, you won’t be able to save your modifications. In this specific case, you’ll get a yellow disclaimer with the details of the campaign(s) that is (are) using the segment and that is (are) currently live or live in QA.

In this case, you can:

  • Pause the ongoing campaign(s) to edit the segment: you can edit and save it

  • Duplicate the segment to have a new one with the same configuration

Important: You can’t delete a segment that is already used in a live campaign or is live in a QA campaign. You need to pause the campaign(s) that use(s) the segment to be able to delete the segment from your account.

Step 2: Page(s) - Where will the campaign be displayed

How it works

Configuring the targeted pages of your website means specifying the page(s) for which the changes made via the visual editor/ code editor will be seen by your visitors. This configuration is made inside the targeting interface, on the same page as the segment configuration, in the “where” section.

The targeted pages set-up applies differently regarding the type of campaign:

  • AB Tests: it applies to your whole AB Test, meaning the original variation (V0) and all the variations (V1, V2, and V3 for an A/B/C/D test, for example) for a test

  • Multipages tests and Multipages patches: it applies to the selected sub-test. Use the dropdown to navigate between sub-tests and choose the right pages for each of them

  • Personalizations: it applies to the selected scenario for the personalization campaigns. Use the dropdown to navigate between scenarios and choose the right pages for each of them

  • Patches: only one scenario and a 100% allocation traffic, no specific rule

  • AA Tests: only one scenario and a 100% allocation traffic, no specific rule

Single-page Experiences vs. Multipage Experiences

  • For A/B Tests, Simple Personalizations, and Patches, you’ll have to define one single targeted page rule for your campaign because these types of campaigns have only one “experience” (one type of new content generated with AB Tasty to display).

  • For Multipage Tests, Multivariate Tests, Multipage Personalizations, and Multi-experience Personalizations, you’ll have to define a targeted pages rule for each “experience” or "sub-test". This rule can be the same or different depending on your needs.

Best practices

  • Use different targeted pages for Multipage Tests and Multipage Personalizations. This is the objective of these kinds of campaigns: displaying several different messages (the experiences, to create a relevant and complete user journey) on several different targeted pages.

  • Use the same targeted pages for Multivariate tests if you’re testing a combination of several changes on the same page and try to discover the better combination (color of the CTA, small style banner, new product carousel on a product page)

❗️In any case: Don’t forget to use the dropdown menu on the Targeting page to switch between experiences to set up your targeted pages in every experience.

We also offer a “Replicate” option, which allows you to replicate the full targeting setup or one part of the targeting setup of one experience in another experience, or in all experiences.

Configuration of the targeted pages

When you land on the page, you’ll find the following set-up:

  • The URL you’ve used in Step 1 Main Information page to load the Visual Editor which is pre-pasted in the URL field

  • Additional options:

    • Add condition

    • CSS selector option

    • Code option

    • target by event option checkbox

❗️Be careful: the URL field is case sensitive (i.e. a targeting 'contains' 'CHECKOUT' will not affect visitors on a URL like 'https://abtasty.com/checkout/' to the campaign).

Using operators to target the right URL(s)

The dropdown will present you with several options, in this order:

  • Target All URLs: it will target your campaign on all your website pages where the AB Tasty generic tag has been installed.

Details about inclusive and exclusive operators

This is the matrix about the way the operators work:

Operator

Functional: accepts...

is

Includes all URLs matching the string, even if they include parameters.

⚠️ With this operator, the page is targeted no matter which parameters are included in the URL. Therefore, you cannot write any particular parameter in this field.

Example: https://mydomain.com/cart

is exactly

Includes the unique URL matching the exact string. Parameters that are not mentioned in the string are not taken into account.

💡 This field accepts parameters as an option.

Example: https://mydomain.com/cart?news

contains

Includes all URLs containing the string. Parameters following the string will also be taken into account.

Example: /product/

is regular expression

Includes all URLs matching the regex. You don’t need to escape special characters of your regular expression.

Example: https://www.example.com

/products/(.*)--([0-9]{5})

is not

Excludes all URLs matching the string, even if they include parameters.

⚠️ This field doesn’t accept parameters.

Example: https://mydomain.com/cart

is not exactly

Excludes the URL matching the exact string.

💡 This field accepts parameters as an option.

Example: https://mydomain.com/cart

does not contain

Excludes all URLs containing the string. Parameters following the string will also be taken into account.

Example: /product/

is not regular expression

Excludes all URLs matching the regex. You don’t need to escape special characters of your regular expression.

Example: https://www.example.com

/products/(.*)--([0-9]{5})

Using saved pages

  • Is saved Page

  • Is not saved Page

You can access the page builder by clicking on “Manage Saved Pages”.

Useful tip: You can see the content of the setup of your saved pages by hovering over them:

You can directly click on the saved page you want to include/exclude by using the dedicated “is saved page” option in the previous dropdown.

You can mix the inclusion of saved pages with the exclusion of saved pages by clicking on “Add Condition”.

You can also mix saved pages with custom URLs.

In any case, the functional rules between inclusions and exclusions are the same for the setup by URLs:

  • Inclusion(s) only: If you include one or several specific URL(s) and saved pages, all the other URLs will automatically be excluded from the targeting. At least one of them has to match.

  • Exclusion(s) only: If you exclude one or several specific URL(s) and saved pages, all the other URLs will automatically be included in your targeting configuration.

  • Combination of inclusions and exclusions: You can combine inclusive rules with exclusive rules. In this case, to be accepted in the targeting, a website’s URL has to match:

    • All the exclusion rules

    • At least one of the inclusion rules

Using the CSS selector option

Use the CSS selector option if you want to display changes on the pages of your website containing an element linked to a specific ID or class, whose presence cannot be determined by a URL. It is useful for targeting a set of pages that don't share a specific URL structure.

You can choose between the ID of your element, the CSS class, or any other parameters (custom choice in the dropdown). If the element you want to declare exists on the page you’ve loaded in the editor, it will appear while beginning to fill in the field by auto-completion.

❗️Caution: Don’t forget to add a ‘.’ for a class or a “#’ for an ID.

This option is compatible with other options in the section, except for the Target All URLs option.

The option "My element appears after page load" is useful if you element is loaded after the page load (dynamic element such as a popin for exanple).

Important ⚡️: When you use this option with targeted URLs, the operator between both options will be AND. Meaning that the targeted pages will have to respect both rules in the targeted URLs section and the class option section.

Using code option

The code-based option enables you to insert JavaScript code to trigger a campaign depending on the presence of a specific JS instruction. This option is compatible with other options in the section, except for the Target All URLs option.

When using this option, you must comply with the following rules:

  • Do not use a function (){ at the beginning of your code.

  • The function/condition you code must return a true or false value.

Step 3: Trigger(s) - How will the campaign be triggered

A trigger is a temporary user condition that enables you to display the campaign in a specific context.

The trigger enables the campaign to be displayed to the configured visitor segment only when the conditions are met.

Triggers are mostly based on current session conditions and behaviors.

You can choose between displaying the campaign:

  • Anytime: no trigger is defined and the campaign will display in all cases, without any specific conditions

  • Following the rules of an existing saved trigger you have already created

The trigger applies differently regarding the type of campaign:

  • Tests: it applies to your whole AB Test, meaning the original variation (V0) and all the variations (V1, V2, and V3 for an A/B/C/D test, for example)

  • Personalizations: it applies to the selected scenario for the personalization campaigns. Use the dropdown to navigate between scenarios and choose the right segment for each of them

  • Patches: the option is not available, "all visitors" is selected by default

Single-page Experiences vs. Multipage Experiences

  • For A/B Tests, Simple Personalizations, and Patches, you’ll have to define your "How section" once for your campaign, because these types of campaigns have only one “experience” (one type of new content generated with AB Tasty to display).

  • For Multipage Tests, Multivariate Tests, and Multipage Personalizations, you’ll have to define your "How section" several times for your campaign, for each page. You can use different triggers to build a unique and consistent experience during the visitors’ navigation.

  • For Multi-experience Personalizations, you’ll have to define your "How section" several times for your campaign, for each experience. But we recommend to choose exactly the same trigger conditions for each experience, the only objective of this kind of campaign is to display different messages to different segments and avoir messages overlap.

❗️In any case: Don’t forget to use the dropdown menu on the Targeting page to switch between experiences and set up your segment for every experience

⭐️ Best practices :

  • Use the same trigger on all experiences when this trigger is linked to your visitor’s current situation (e.g. geolocation criteria, device criteria, etc.)

  • Use a different trigger on all experiences when the trigger is linked to a contextual behavior. e.g. Experience 1 is a pop-in that will be triggered after 5 viewed pages to promote sales (trigger = minimum viewed pages), Experience 2 is a banner in the basket (no specific trigger)

We also offer a “Replicate” option, which allows you to replicate the full targeting setup or one part of the targeting setup of one experience in another experience, or in all experiences.

Managing your saved triggers

If you want to edit, duplicate or delete an existing trigger, you can do it directly from the dropdown menu:

📎 Note: If your trigger is already used in a live campaign or is live in QA, you won’t be able to save your modifications. In this specific case, you’ll get a yellow disclaimer with the details of the campaign(s) that is (are) using the trigger and that is (are) currently live or live in QA.

In this case, you can:

  • Modify the configuration and use the new trigger in this campaign only (CTA Use Without Saving). The new trigger will be used for this campaign only, and you’ll find it at the top of the list in the dropdown. If you edit it again, you’ll be able to give it a new name and save it as a new saved trigger

  • Go back to the previous dropdown and duplicate it before editing

  • Pause your campaigns first before editing and saving it

  • By clicking on the trash icon, a prevention pop-in will ask you if you’re sure you want to delete the selected trigger.

Click Delete to delete, or click Cancel to return to the previous screen.

By clicking on Duplicate, the selected trigger will be duplicated and will appear just after the selected one in your dropdown list

Important: You can’t delete a trigger that is already used in a live campaign or is live in a QA campaign. You need to pause the campaign(s) that use(s) the trigger to be able to delete the trigger from your account.

Step 4: Frequency - When will the visitor be targeted

In this section, you will learn how the AB Tasty tag interacts with your website to apply the Display Frequency defined for a campaign.

When a page loads, the AB Tasty Tag verifies the targeting conditions that you configured inside this targeting step. The 'When' section adds new timing conditions on top of what you previously configured (URL of the page, specific page elements, triggers, and segments). The Frequency condition is set on the unique visitor level (cookie). They will be affected to the campaign only if they meet ALL the targeting conditions.

By default, the visitor will be affected "anytime" if they meet the other conditions (segments/pages/triggers aka who/where/how).

To determine at which Frequency the visitor will be targeted, follow the steps below:

  1. Open the When will the campaign be displayed section and select one of the following Frequency options: - Anytime (default option): for the visitor to be targeted each time they land on the page and respect other targeting conditions. - Once: for the visitor to be targeted only once if they land on the page and respect the other targeting conditions. - Once per session: for the visitor to be targeted only once per session if they land on the page and respect the other targeting conditions. - At regular intervals: for the visitor to be targeted at specific regular interval. Intervals should then be configured (see below)

  2. Click Save step.

Focus on the Regular Intervals configuration:

This option allows you to target your visitors on a specified timeframe. It's really useful to be able to promptly send specific messages to your visitors, and have confidence around the visibility of this message.

To configure the regular intervals of the campaign's targeting, follow the steps below:

  1. Open the When will the campaign be displayed block and select the At regular intervals option in the "The targeted segment will see the test" list.

  2. Determine the regular intervals of the campaign's targeting using the Day, Week, or Session option, combined with the numerical selector.

  3. Click Save step.

Please note that the At regular intervals option is to affect your visitors to the campaign not once but during the entire day or week or session!

Other example, if you want to display a message targeting all your URLs (or a wide ‘contains’) and having as frequency option ‘every 2 sessions’, the message will not only appear once on one page during the ongoing session as you may expect. Instead, the user will be affected on every targeted page ('Where' section) during the ongoing session.

The same goes for 'every x days' and 'every x weeks' conditions. If you want to display the modifications made only one time per session, please use the frequency options 'Once per session'. Meaning that if I choose each 3 days, I will see the campaign on the day 1 whatever the session or the number of time I see the campaign during the day, same on the day 4, then on the day 7 etc…

7. Specific options

Replicate targeting option

The Replicate Targeting option enables you to copy the targeting configuration of a sub-test (for a Multivariate Test), a page (for a Multipage Test or a Multipage Personalization), or an experience (for a Multi-experience Personalization) and to paste it into another sub-test(s) or scenario(s).

This option is available in the targeting step and can be useful for Personalizations with multiple scenarios, or Multipage Tests and Multivariate Tests with multiple sub-tests.

It saves you from having to configure targeting independently for each scenario and each sub-test and saves you time.

To use the Replicate Targeting option, you must first configure targeting for at least one sub-test/page/experience. It can be any sub-test/page/experience.

Triggering your whole campaign with an event

In some instances, you might want to launch a test after a user completes a certain action on your site, for example, after they have clicked a certain button, or after they have spent a certain length of time on a given page. You can condition a test in this way using the JavaScript function ABTastyStartTest. This function takes a single, unique parameter: the ID of the test you would like to launch. It must be called after the AB Tasty tag. The function takes the following form:

ABTastyStartTest(testID); // 

Where testID is the ID of the campaign to be launched.

This function must be called as soon as each visitor has completed the action on which the test is performed. Note: the tested page must be the page on which the action takes place (you cannot test modifications on another page).

To create a test conditioned on an event, you must:

  • Create a standard campaign, applying your desired modifications

  • Click on "More options". Target by Event option appears.

  • Toggle on “Target by Event”. Note that other targeting options will no longer be available

  • Set up the rest of your campaign as usual

  • Launch your campaign

  • Call the function ABTastyStartTest directly from your application whenever the event occurs.

  • For example, if you would like test 12345 (set up in advance) to be triggered by a click on a button, you can do this in the following way:

<button onclick='ABTastyStartTest(12345)'>Launch a test from this button</button>

You can use any other method which links this function to an event. For example, you could use jQuery, or a callback function might be used if your site uses AJAX.

ATTENTION! When you use this function the tag does not check the targeting, including the QA parameters. Take extra care when pushing a campaign that is using an event-based targeting into production.

Add to targeting

With the idea in mind to constantly improve the user experience, AB Tasty now offers an option that will help you set up your campaign more efficiently. You can now choose a specific element within the WYSIWYG/contextual editor, and directly use it in the targeting step of the campaign setup.

⚙️ Configuration

Using the WYSIWYG/Visual Editor

AB Tasty's WYSIWYG/Visual editor enables you to design and create your own user experiences using AB Tasty widgets, your custom widgets, or the WYSIWYG interface and its contextual menus.

As you are in the Editor step, you can use the contextual menu of the editor to directly set a page element as a “where” condition, avoiding back-and-forth between both campaign steps.

To do so, in the Editor step, select the page element to be set as the “where” condition and click the Add to targeting option to send your element’s URL and CSS selector to the Where section of the Targeting step.

As soon as you click the Add to targeting option, the element configuration will automatically be sent and saved in the Targeting step as a CSS selector condition.

A window will appear, allowing you to do one of the following:

  • Continue editing your variation(s). You will then still be able to review your targeting configuration later on, in the Targeting step.

  • Go to the Targeting step page and start reviewing it.

Good to know 💡

Depending on the type of campaign you are setting up (test or personalization campaign), the Editor step will come before or after the Targeting step. When configuring a personalization campaign, you start with the Targeting step to define precisely the audience you would like to target. In this case, if you configure the "Where"section first and then use the Add to targeting option in the editor, you will erase your previous configuration and replace it with the newly created one. A window will appear asking you to do so. If you accept, you will need to go back to the Targeting step to review the new configuration.

⚙️To the Targeting Step

As you are in the Targeting step, you will be able to retrieve the information you have sent and saved from the editor through the Add to targeting option. The Where section is unfolded to let you review these two newly added configuration elements (URL and CSS selector).

Two elements are configured:

  • The URL: you should retrieve the URL that was previously declared in the Main Information step (and that you worked with in the editor). If you want to change it, then you will need to enter another URL in the dedicated field and save the Targeting step by clicking Save step.

  • The CSS selector of the element that has been selected in the editor.

Troubleshooting area

In case you need support, follow the instructions given in the articles below:

to a new segment you can create by clicking on Create new segment (see the article )

To learn more about the way the tag detects the segment and triggers the campaign, please refer to the about criteria.

For more information refer to this and the .

Click on the pen icon and you will open the . You can then modify the name of your segment and/or its configuration. Click Save to record your changes.

Use the same targeted pages for Multiexperience Personalizations: this kind of campaign has been designed to help you to launch several messages to different segments in the same campaign and to assure no overlap between messages. To learn more about them, please

For more information refer to this and the .

The "is" selected by default

Inclusive operators: is, is exactly, contains, is regular expression, and is

Exclusive operators: is not, is not exactly, does not contain, is not regular expression, and

Caution: If you have several sub-domains for all of the languages or countries you’re addressing, your campaign will be displayed on all of them. Use this option with caution, if you are sure that your campaign should be targeted on 100% of the pages of your domain. For more information about the way you've set-up your account regarding domains, please refer to this .

To learn how to manipulate operators to build the correct pages targeting, please refer to this complete .

From the dropdown, you can access the list of the you’ve previously set up in the . For that, you just have to select the following operator:

Please refer to for more information.

For more information on this option, refer to .

If you plan to use jQuery, you must enable the use of . In this case, go to Account Management → and select Load AB Tasty’s jQuery.

For more information on this option, refer to .

Following new rules of a new saved trigger you can create by clicking on Create new trigger (see the article )

To learn more about the way the tag detects the trigger and triggers the campaign, please refer to the about criteria.

For more information refer to this and the .

Click on the pen icon and you will open the . You can then modify the name of your trigger and/or its configuration. Click on Save to record your changes.

Be careful! The Targeting Frequency option is a targeting condition allowing you to add a temporal condition of targeting upon unique visitors. The frequency is based on the ABTasty cookie value. Learn more about it in our . In this sense : - It differs from the widgets recurrence setup as it is not a display condition but a targeting acceptance condition affecting individually unique visitors. - It also differs from the Scheduler as the Frequency options are only a targeting condition not affecting the campaign status (live/pause), the latter impacting all visitors without discrimination.

You can find more details on this targeting condition's QA .

For more information about how to use the replicate targeting option please refer to .

How to create a segment
specific articles
Segment Builder
refer to this article
operator
saved page
is not saved page
article
article
saved pages
page builder
this article
ID/Class/Element option
jQuery in Settings
Framework
Using the code-based option
How to create a trigger
specific articles
Trigger Builder
developer documentation
this article
article dedicated to Replicate targeting option
Replicate targeting section
article dedicated to Replicate targeting option
Replicate targeting section
article dedicated to Replicate targeting option
Replicate targeting section
here
Who: The SEGMENT who should or shouldn’t see the campaign
Where: On which PAGES of your website the campaign should be visible
How: The browsing and contextual conditions that need to be met to TRIGGER the campaign
When: The FREQUENCY at which the campaign will be displayed to the targeted segment
Specific options: Replicate targeting and Add to targeting
[Troubleshooting] Checking if a page is assigned to a campaign
[Troubleshooting] How to avoid being assigned to a test – the optout method
[Troubleshooting] Checking why you are not assigned to a campaign or variation