PromoCode Popup and Analytics Module for Magento 2

Compatibility
2.4.9, 2.4.8, 2.4.7
€61.50
Email to a Friend

Enquire about this product

Description / PromoCode Popup and Analytics Module for Magento 2

MAGENTO 2 · PROMOTIONS · INTEREST ANALYTICS

Turn product interest into a relevant offer.

Kowal PromoCode

Kowal PromoCode combines a discount code popup with customer behavior analytics. Check which products attract attention, how long they are actively viewed, and when a customer clicks a coupon.

Discount popup · Active time · Interest profiles

HOW IT WORKS IN PRACTICE

01 · The customer views a product
The module collects activity within the scope of configuration and consents.

02 · An offer appears
The popup can show a coupon after the configured time.

03 · You analyze interest
Reports show visits, time, clicks, and candidates for offers.

What does your store gain?

Explore the module features, usage options, and settings you can adapt to your sales process.

Turn customer interest into effective offers

Kowal_PromoCode is a Magento 2 module that combines a discount code popup with product interest analytics. The solution not only shows customers an offer at the right moment, but also helps you understand which products truly attract attention, how long customers view them, and when it is worth offering an additional purchase incentive.

The module was designed for stores that want to make marketing decisions based on user behavior, not only general sales statistics.

Key features

Monitoring product interest

The module analyzes visits to product pages and lets you check which products are viewed most often by customers. This helps you quickly see what attracts users attention, even if it does not immediately result in a purchase.

This is especially useful for:

  • identifying products with high sales potential,
  • detecting bestsellers before they appear in sales reports,
  • analyzing products that are often viewed but rarely purchased,
  • evaluating the effectiveness of campaigns that drive traffic to specific products.

Measuring active time on the product page

The number of product page visits alone is not always enough. That is why the module measures the active time spent on the product page. Time is counted only when the browser tab is active, which helps reduce data distortion caused by pages left open in the background.

This makes it easier to identify products that truly engage customers.

Example: if a product has many visits and a long viewing time but a low conversion rate, it may indicate the need for a better offer, additional information, a promotion, or improved product presentation.

Discount code popup

The module can display a discount code popup to the customer after a defined time spent on the product page. This lets you present an offer when the customer is actually showing interest in the product.

You can configure:

  • the cart price rule from which the discount code is retrieved,
  • the time after which the popup appears,
  • the heading and description content,
  • the link text,
  • the popup colors,
  • the popup graphic background.

Conversion based on coupon click

The module treats a click on an active coupon button or link as a signal of interest conversion. This allows you to measure which products are not only viewed but also encourage customers to use a promotion.

This is a more precise signal than simply displaying the popup or generating a code.

Analytics for all product pages

Tracking is not limited only to products where the popup is displayed. The module can analyze all product pages, so the interest report covers the entire catalog.

This lets you compare products with one another and detect differences between traffic, interest, coupon clicks, and sales.

Interest profiles of logged-in customers

After consent and privacy requirements are met, the module can build interest profiles for logged-in customers.

A customer profile can include:

  • recently viewed products,
  • most frequently viewed products,
  • categories generating the highest interest,
  • total and average active viewing time,
  • coupon clicks,
  • history of returns to products,
  • customer interest score.

This helps you better understand the needs of a specific customer and prepare a more relevant offer.

Candidates for special offers

The module can identify customers who qualify for an individual offer. For example: a customer returns to the same product several times, views it for a long time, clicks the coupon, but still does not place an order.

Such behavior may indicate strong purchase intent and a good moment to offer an additional incentive.

Example scenarios:

  • the customer views a product for a long time but does not buy,
  • the customer returns several times to the same product,
  • the customer is interested in many products from one category,
  • the customer clicks a coupon but does not complete the order,
  • the customer shows interest in premium products.

Reports in the admin panel

The module adds reports that help you quickly analyze customer and product behavior.

Product interest report

The report shows, among other things:

  • product and SKU,
  • number of visits,
  • number of unique visitors,
  • average time spent on the product,
  • total interest time,
  • coupon clicks,
  • conversion rate.

Customer interest profiles

For logged-in customers, with appropriate consent, the module can present:

  • customer and email address,
  • date of last activity,
  • total and average interest time,
  • most frequently viewed products,
  • coupon clicks,
  • interest score,
  • information on whether the customer qualifies for an offer.

Offer candidates

The offer candidates report helps identify customers who may need an additional purchase incentive. The administrator can see the qualification reason, interest score, product or category, and recommendation status.

Security and performance

The module was designed for stores with high traffic that need to be mindful of database load.

Instead of saving every user action directly to the database, the module:

  • collects data locally in the browser,
  • sends condensed visit data, with periodic checkpoints and session completion,
  • uses Magento Message Queue,
  • saves data asynchronously through a consumer,
  • rejects short and suspicious sessions,
  • limits the impact of bots on reports,
  • aggregates data into daily reports.

This approach reduces direct database load from activity data; processing efficiency also depends on queue configuration and handling.

Privacy and consents

The module includes privacy mechanisms and can work with the Kowal_CookieConsent module.

By default:

  • anonymous guest tracking without cookie consent is disabled,
  • profiling of logged-in customers is disabled without appropriate consent,
  • customer data is separated from anonymous product analytics,
  • access to customer reports can be restricted by ACL permissions.

Integration with Cookie Consent lets you connect module operation with consent levels such as tracking or targeting.

Example use cases

Recovering undecided customers

If a customer views a product for a long time but does not add it to the cart, the store can offer a discount code or highlight additional purchase arguments.

Better promotion planning

Products with many visits and low conversion can be good candidates for a promotion, price change, description improvement, or better photos.

Customer segmentation

Logged-in customers can be grouped by their interest in categories or products. This makes marketing campaigns more relevant.

Product page quality analysis

A long viewing time without a coupon click or purchase may indicate that the customer is looking for information missing from the product page.

Detecting potential bestsellers

A product may generate strong interest before it starts selling well. The module helps you catch such signals earlier.

Store benefits

  • better understanding of customer behavior,
  • more effective use of discount codes,
  • ability to respond to real product interest,
  • identification of products with potential,
  • reduction of poorly targeted promotions,
  • support for offer personalization,
  • greater control over data and consents,
  • lower database load thanks to the queue and aggregation,
  • reports useful for marketing, sales, and the e-commerce manager.

Who is this module for?

The module is intended for Magento 2 stores that:

  • want to make better use of discount codes,
  • need data on product interest,
  • want to create more relevant offers,
  • analyze customer behavior before purchase,
  • run marketing campaigns for products or categories,
  • want to develop sales personalization in Magento.

Requirements

  • Magento 2.4.7 or newer,
  • configured Magento Message Queue,
  • RabbitMQ as a possible configuration direction for higher traffic — the verified version declares a consumer with the database connection db, so using RabbitMQ requires configuration adjustment,
  • optionally the Kowal_CookieConsent module for cookie consent and profiling management.

Popup and analytics in one module

Kowal_PromoCode turns a classic discount popup into an analytics and sales tool. The module helps you see which products truly interest customers, when it is worth offering a coupon, and which customers may be ready for an individual offer.

It is a solution for stores that want to sell smarter: not only display promotions, but use customer behavior data to make better marketing decisions.

Installation and queue handling

Composer package: kowal/module-promocode; module: Kowal_PromoCode, with dependency kowal/base. After installation, enable the module, run the Magento upgrade, and clear the cache.

Configure the cart price rule, display time, and popup appearance, then set the analytics scope and consents. When the queue is enabled, ensure that the consumer kowal.promocode.product_interest.visit.consumer is running.

Appearance settings also include image position, graphic fitting method, image visibility on mobile, text alignment, and font sizes. The popup description text supports allowed HTML formatting.

From configuration to result

1. The customer views a product
The module collects activity within the scope of configuration and consents.

2. An offer appears
The popup can show a coupon after the configured time.

3. You analyze interest
Reports show visits, time, clicks, and candidates for offers.

Recognize the moment for an additional incentive

Example: a customer returns to a product several times, views it for a long time, and clicks a coupon. The report helps identify interest and assess whether it is worth preparing an individual offer.

A coupon click is a signal of interest in a promotion. The click itself does not mean a completed purchase.

Plan promotions based on customer interest

Want to adapt the module to your store? Ask about Kowal PromoCode implementation and discuss the configuration or required extensions.

More Information

Theme compatibility Luma / Blank, KOWAL

Module Installation Instructions

Installation

* In a production environment, please use the --keep-generated option

Type: Composer

  1. The module is available in the composer repository:
    • Kowal Composer repository: https://repo.kowal.store
  2. Add the composer repository to the configuration:

    Access details for the Composer repository (customer email address and license token) will be sent to you by email after purchase. They are also available in the customer panel after logging in at kowal.store. Replace TWOJ_EMAIL_KLIENTA with the email address of your account and TWOJ_TOKEN with the token you received. Run the commands in the Magento root directory.

    composer config repositories.kowal composer https://repo.kowal.store
  3. Configure access to the Kowal Composer repository:
    composer config http-basic.repo.kowal.store 'TWOJ_EMAIL_KLIENTA' 'TWOJ_TOKEN'
  4. Install the module using Composer:
    composer require kowal/module-promocode
  5. Apply database updates:
    php bin/magento setup:upgrade
  6. Clear the cache:
    php bin/magento cache:flush
Press to skip carousel

We found other products you might like!

Customer Reviews

Quality
Price
Support
Kupiłem moduł i cóż funkcjonalność adekwatna do ceny, ale działa poprawnie.
Review by Piotr
Zawsze mogę liczyć na wsparcie i to bez dodatkowych opłat

1 Item

Write Your Own Review
You're reviewing: PromoCode Popup and Analytics Module for Magento 2
Your Rating:
Price
Quality
Support
loader
Loading...

You submitted your review for moderation.

Questions and Answers

Question
Does the module allow displaying a promotional popup on the product page after the customer has spent a specified amount of time on the page?
Answer
Yes — the module allows you to configure a condition so that after the customer has spent a specified amount of time on the product page, it displays a promotional popup.
Question
Can the popup include a discount code that the customer can click and activate?
Answer
Yes — the popup includes a discount code with a link that, when clicked, automatically activates the coupon in the customer's cart.
Question
Is popup configuration available in the Magento 2 admin panel?
Answer
Yes — the module has an intuitive configuration in the admin panel, where you can set the popup title, description, link text, and code activation.
Question
Does the module collect data on time spent on the site and product visits?
Answer
Yes — the module offers an analytics feature: it records data on the most frequently visited products and the time spent on the site.
Question
Does installing the module require modifying Magento core or theme files?
Answer
No — the module is built as an extension compatible with the Magento 2 architecture, without the need to override core files.
Question
Does the module work with multiple versions of Magento 2?
Answer
Yes — the description states compatibility with, among others, Magento 2.3.4→2.3.7 and 2.4.0→2.4.7.
Question
Can the module help increase the conversion rate in the store?
Answer
Yes — by showing an attractive promotional offer to the customer at the right moment, it increases the chance of making a purchase.
Question
Can I set where on the screen the popup appears (e.g., the bottom-left corner)?
Answer
Yes — the module description shows an example where the popup can appear, for example, in the bottom-left corner of the screen.
Question
After purchasing the module, will I receive free updates and technical support?
Answer
Yes — the manufacturer states that it provides free updates for its modules and technical support.
Update cookie preferences