Free cookie consent management tool by TermsFeedAktualizacja preferencji plików cookie

PromoCode Popup and Analytics Module for Magento 2

Rating:
93% of 100
€71.24 €57.92
COMPOSER Installation
M-POPUP-PROMO
PayPal PayPal
Przelew Przelew

Magento Modules: Clear Guidelines

You purchase the module once, with no domain restrictions

Tooltip

Free installation and updates via Composer

Tooltip

Affiliate Program

Tooltip

Technical support for Magento

Tooltip

Clear guidelines for licensing Magento modules

Tooltip

Magento Module Code Security

Tooltip

Turn customer interest into effective offers

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

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

Key capabilities

Product interest monitoring

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

This is especially useful for:

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

Measuring active time on a product page

The number of product page visits alone does not always say enough. That is why the module measures the active time spent on a 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.

The module can display a discount code popup to the customer after a defined amount of time spent on a product page. This makes it possible to 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 taken,
  • the time after which the popup appears,
  • the heading and description content,
  • the link text,
  • the popup colors,
  • the popup background image.

Conversion based on coupon click

The module treats a click on the 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 a 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 allows you to compare products with one another and detect differences between traffic, interest, coupon clicks, and sales.

Interest profiles for logged-in customers

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

A customer profile may include:

  • recently viewed products,
  • most frequently viewed products,
  • categories generating the highest interest,
  • total and average active viewing time,
  • coupon clicks,
  • history of returning 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 indicate 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.

This behavior may indicate a 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 display:

  • 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 a condensed payload after the visit ends,
  • 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 helps maintain high store performance even with heavier traffic.

Privacy and consent

The module takes privacy mechanisms into account and can work with the Kowal_CookieConsent module.

By default:

  • anonymous visitor 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 with ACL permissions.

Integration with Cookie Consent allows the module operation to be linked to 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 interest in categories or products. This can make 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 that is missing from the product page.

Detecting potential bestsellers

A product may generate strong interest before it starts selling well. The module helps capture these signals earlier.

Benefits for the store

  • 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 consent,
  • lower database load thanks to queueing and aggregation,
  • reports useful for marketing, sales, and e-commerce managers.

Who is this module for?

The module is intended for Magento 2 stores that:

  • want to use discount codes more effectively,
  • need data about 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 recommended for stores with higher traffic,
  • optionally, the Kowal_CookieConsent module for handling cookie consent and profiling.

Summary

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

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

Type: Composer

  1. The module is available in the composer repository:
    • Private GitLab repository: https://gitlab.com
  2. Add the composer repository to the configuration:
    composer config repositories.promocode.popup vcs https://gitlab.com/magento2ext/magento-2-promocode
  3. Add an access token for the private GitLab repository:
    composer config --auth gitlab-token.gitlab.com <TWÓJ_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

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
Does the module support automatically activating a coupon without the customer having to enter it?
Answer
Yes — the link in the popup allows the discount code to be automatically added and activated in the customer’s cart.
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.
Write Your Own Review
You're reviewing:PromoCode Popup and Analytics Module for Magento 2
Your Rating
Products