Cookie Targeting for Popup

Cookie targeting allows you to show or hide popups based on specific cookies stored in a visitor’s browser. This is an advanced way to personalize your campaigns, such as showing a specific offer only to logged-in users or hiding a popup for users who have already seen a specific promotion.

This cookie targeting for popup guide shows the use of PoupKit plugin functionality. So, install and activate the PopupKit plugin 初め。

Step 1: Access Cookie Targeting Settings #

To begin configuring your cookie-based logic, you need to open the targeting options within the builder:

  1. Open your WordPress ダッシュボード そしてに行きます PopupKit > All Popups.
  2. クリック 編集 on the popup you wish to configure.
  3. Inside the builder, click on the 設定 tab in the left-hand panel.
Cookie Targeting for Popup
  1. に移動します。 Cookie Targeting section and click to expand it.

Step 2: Add Cookie Targeting Rules #

PopupKit allows you to create highly specific logic by adding multiple rules.

Cookie Targeting for Popup
  1. クリック アイテムの追加 (or Add Rule) button to create your first condition.
  2. You can add multiple rules to create complex “AND” logic, meaning all conditions must be met for the action to trigger.

Step 3: Set the Show Conditions #

Before defining the cookie, you must decide what the popup should do when it finds a match:

  1. を見つける Show Conditions 落ちる。
  2. Select one of the following:
    • Show Popup: The popup will only appear if the cookie exists and matches your rules.
    • Don’t Show Popup: The popup will be hidden if the cookie matches your rules (useful for excluding existing customers).

Step 4: Configure Cookie Name and Value #

This is where you define the specific cookie the system should look for.

1. Cookie Name #

First, tell PopupKit which cookie to track:

Cookie Targeting for Popup
  • Dropdown Filter: Choose how to identify the name (Contains, Starts with, Ends with, または Equal to).
  • Input Box: Enter the exact name of the cookie (e.g., wp-postpass_ or active_customer).

2. Cookie Value #

Next, define what that cookie must contain to trigger the condition:

  • Dropdown Filter: Select your logic operator. Options include Contains, Starts with, Ends with, Equal to, Greater Than, Less Than, または Any Value.
  • Input Box: Enter the value you are looking for (e.g., true, 1, or a specific ID).

Step 5: Save and Test #

Once your rules are set, click アップデート または 公開 at the top of the builder. To test your cookie targeting, you may need to use your browser’s “Inspect” tool to view active cookies or use an Incognito window to see how the popup behaves with and without specific cookies present.

PopupKit cookie targeting provides a sophisticated way to deliver the right message to the right user based on their unique browsing history. By mastering these rules, you can significantly reduce “popup fatigue” and increase your overall conversion rates.

あなたの気持ちは

Updated on 4月 2, 2026