Get started Get started

Howdy!

From Google – Referral Discount Plugin for Botble Ecommerce

$ 49.00
  • Lifetime access to the file
  • 6 months of completely free support
  • Quality and authenticity guaranteed
  • Money-back guarantee

Automatically give visitors from Google or any website a timed discount in Botble Ecommerce. Campaigns, welcome popup, stats, logs, and a dev mode for testing.

Read more

From Google: Automatic Referral Discounts for Botble Ecommerce

From Google (Az Googlam) rewards visitors the moment they arrive. When someone lands on your store from Google, or from any website, social link, or campaign URL you choose, the plugin recognizes them and applies your discount automatically. There are no coupon codes to copy and no checkout friction. Visitors see the original price crossed out next to the discounted price, along with a friendly welcome message.

Built for Botble Ecommerce, with full Persian (RTL) and English support.

Why store owners choose it

  • No coupon codes needed. The discount applies automatically and shows on the product page, cart, and checkout.
  • A better first impression. A welcome popup tells the visitor why they got the discount, using text you control.
  • Targeted, not blanket. You decide who gets a discount, on which products, for how long, and from which traffic source.
  • Safe for your catalog. Prices are adjusted only in memory for that visitor. Nothing is written to your product data, and the admin panel is never affected.

Key features

Smart visitor detection

  • Detects visitors from Google using the referrer and URL parameters such as gclid and utm_source=google.
  • Detects visitors from any other website (Instagram, Telegram, a partner site) by referrer domain.
  • Detects visitors from your own tracked links with custom URL parameters, e.g. ref=vip.

Flexible campaigns

  • Create multiple campaigns, each with its own discount percentage, priority, and optional start and end dates.
  • When several campaigns match, the highest-priority one wins.
  • Set a validity period in minutes; a secure, tamper-proof cookie keeps track of it.

Precise discount control

  • Apply the discount everywhere (product, listings, cart, checkout) or only in cart and checkout.
  • Calculate from the original price or from the existing sale price.
  • Optionally skip products that are already on sale.
  • Apply to the whole store or to selected products only. A product-specific campaign activates only when the visitor lands directly on one of those products, so a generic homepage visit never triggers it.
  • The customer's price is never made worse. If a product already has a better sale price, it stays.

Welcome popup and messages

  • A one-time popup with professional default copy, or your own text with {percent}, {campaign}, and {remaining} placeholders.
  • Adjustable display time in seconds.
  • The popup appears only once a discount is actually visible, so it never promises something the visitor can't see.
  • Optional message on the cart and checkout pages.

Statistics and logs

  • A statistics page shows entries, approximate unique visitors, signed-in customers, and first and last visit per campaign, with date filters.
  • A full log lists source, landing page, customer, and IP for each entry, with search, filters, and single or bulk deletion.

Developer and admin tools

  • A dev mode toolbar visible only to admins shows the detection status, remaining time, and discounted products.
  • One-click buttons simulate a Google visitor or clear the visitor state.
  • A standalone admin menu with separate permissions for Settings, Statistics, and Logs.

Performance and safety

  • Lightweight, with no extra database tables beyond the log table and no changes to your product data.
  • Automatically sends no-cache headers for personalized responses, so shared caches don't show one visitor's price to another.
  • Escaped output, permission-protected admin pages, and CSRF-protected actions.

How it works

  1. A visitor arrives from Google, another site, or a tracked link.
  2. The plugin matches the visit to your highest-priority campaign.
  3. The discount applies automatically for the time you set, and the visitor sees the original price, the new price, and a welcome message.

Requirements

  • Botble CMS 7.6.0 or later
  • Botble Ecommerce plugin (active)

Frequently asked questions

Does it work with any Botble theme?
It works with themes that use Botble's standard product pricing, because it changes the product's sale price for the visitor and lets the theme render the crossed-out price as usual.

Can it tell what the visitor searched on Google?
No. Browsers do not pass the search query to websites, so the plugin can only tell that the visitor came from Google. To target specific products, use Google Ads (which adds gclid), a tracked link, or a product-specific campaign.

Does it work with Cloudflare or page caching?
Yes. The plugin sends no-cache headers automatically. If you use Cloudflare's "Cache Everything" or APO, add one Cache Rule that bypasses the cache when the az_googlam_state cookie is present. The documentation explains how.

Does it change my product prices in the database?
No. The discount is applied in memory for the current visitor only.

Is it multilingual?
Yes. It ships with Persian and English, including RTL support.

Leave a comment

Product Details
Plugin Details
  • Software Framework Laravel
  • Plugin Version 1.4.0
  • Compatible PHP Version 8.2 to 8.5
  • Botble Version 7.6.0 or higher
Share:
✓