GT BOGO Engine PRO documentation

Section 1

Getting Started

Install GT BOGO Engine PRO, tell it about your store and run your first deal in a few minutes.

1

Install and activate

Go to WordPress โ†’ Plugins โ†’ Add New โ†’ Upload Plugin, choose the ZIP file and click Install Now, then Activate. GT BOGO Engine appears in your admin menu.

2

Connect your licence

Go to GT BOGO Engine โ†’ License. Enter your licence key, or sign in with the email you bought with and the 6-digit code we email you. Your licence and the packs you bought are added to the store.

3

Run the setup

Setup confirms your industry and how you sell, reads your store profile, recommends packs and superpowers, and ends with the Go Live checklist.

4

Switch on a deal

Your purchased packs download by themselves, switched off. Review the rules, switch on the ones you want, and they apply to the next qualifying cart.

Tip: There is no master switch. As soon as a rule is switched on, it applies automatically to every cart that qualifies.

System requirements

  • WordPress 6.4 or higher
  • WooCommerce 8.2 or higher, with the block or the classic cart and checkout
  • PHP 8.1 or higher (PHP 8.3 recommended)
  • Nothing is added to your product pages or price display; deals apply in the cart and at checkout
Section 2

Go Live Checklist

The last step of setup, and a screen you can open any time.

What the checklist reviews

  • Licence โ€” The License screen shows Active
  • Store details โ€” Store name, logo, sender email address and postal address for customer emails
  • Active rules โ€” At least one rule switched on
  • Currency, permalinks and HTTPS โ€” Set up the way the cart and emails need
  • Margin โ€” A minimum margin is set. New installs start at 20%

The checklist is a guide: active deals apply whether or not every check passes. Green means setup is complete, yellow means two active deals conflict, and red means a key setup item is missing.

Important: Test every new deal in a private browser window, signed out or as a test customer. An admin session can behave differently from a shopper's.

Section 3

Your Store Profile

Your industry and how you sell decide which packs are recommended and how your deals speak to shoppers.

Your industry

GT BOGO Engine works out your industry from your products themselves: their categories, names, tags, images, sizes and descriptions, in all 16 supported languages. Categories whose names say nothing, such as collections or themed series, are read from the products inside them. You confirm the result during setup or choose another; your choice always wins.

If you sell in more than one industry, add the others in Settings. Their packs are recommended too.

How you sell

Setup and Settings ask how your store sells, for any industry: wholesale or trade accounts, services or appointments, events, subscriptions, courses, rentals, stays, restaurant orders, used or refurbished goods, preorders, limited editions, personalization, digital products, gift cards and local pickup. The plugin also looks for evidence in your store, such as a B2B setup, business customers or bulk orders, and shows what it found. Your confirmed answer is the one used.

What your profile changes

  • Pack recommendations โ€” Every pack built for your industry, plus each deal mechanic that matches what your store actually has
  • Pack fit โ€” A pack that needs products you do not carry (for example swimwear) or a way of selling you do not use (for example services) is listed with what it needs, not recommended
  • Deal style โ€” Jewelry and luxury stores stay gentle, with no urgency wording. Health, baby, office and wholesale stores are never rushed. Business buyers see value wording, not urgency
  • Price Sensitivity โ€” Each category's level starts from what your products are. See Price Sensitivity
  • Starter deal and minimum margin โ€” When you pick your industry in the setup, the starter deal and the minimum margin are set to suit it, for example Buy 2, Get 1 Free with a 30% minimum margin for beauty, or Buy 1, Get 1 at 25% Off with 10% for electronics. B2B also turns on B2B Pricing and ticks wholesale. A deal or margin you set yourself is kept. Untick the box in the setup to leave both as they are

AI check: With your own Anthropic API key, Analyze my store and Check all packs against my store ask Claude to review your profile. Suggestions change nothing until you accept them. See AI Intelligence.

Section 4

PRO Packs

250 campaign packs in 19 categories, 2,711 ready-made rules in all.

How packs work

  • Each pack holds 10 to 16 configured rules with discount values, customer targeting and priority order set for that type of store
  • Packs are bought one at a time ($79.99) or in bundles, from the PRO Pack Store in the plugin or on the sales page
  • After your licence is checked, every pack you own downloads to your store by itself, switched off, ready for you to review
  • A pack rule written for certain categories or products waits until you choose them, then runs. The Rules screen marks it
  • Rules from packs of different industries can run in one store only on their own products, and two pack deals that would counter each other on the same shoppers and items cannot run together. The message names the other deal

Managing your rules

  • Rules screen โ€” Switch any rule on or off; select several to activate, pause, delete or move their dates in one step
  • Duplicate โ€” Start a new rule from an existing one. The copy stays paused until you switch it on
  • Priority โ€” Every rule has a priority from 1 to 100. Lower numbers are priced first. Packs arrive with priorities already set
  • Conflicts โ€” Two active rules with the same priority are flagged until you change one

The 19 categories

CategoryPacks
Core Deal Mechanics40
Sports, Fitness & Recreation28
Beauty, Spa & Salon18
Home, Garden & Hardware17
Food, Dining & Grocery16
Automotive, Marine & Tire16
Fashion & Apparel15
Electronics, Tech & Software14
Travel, Hospitality & Events10
Kids, Toys & Gifts10
Specialty & Niche Retail10
Jewelry & Luxury Goods9
B2B & Wholesale8
Health, Medical & Supplements8
Pets & Animal Services8
Education & Training7
Books, Music & Instruments6
Craft Beer, Wine & Spirits5
Photography, Flowers & Gifts5

Core Deal Mechanics packs work in any store and are recommended when your store has what they need.

Section 5

Deal Types

Every deal type is set up on the Rules screen, with no coupon codes for shoppers to type.

The deal types

  • Buy X get Y โ€” Buy a number of items, get the cheapest (or most expensive) free or discounted. The reward can be the same items or different ones you pick, for example buy 2 T-shirts, get socks free
  • Quantity breaks โ€” A bigger discount the more a shopper buys, for example 2 or more for 10% off and 3 or more for 20% off. Up to 10 tiers, counted per product, per cart line or across every item the deal targets (mix and match)
  • Spend rewards โ€” Up to 10 thresholds, each giving a percent off, an amount off, free shipping or a gift, for example free shipping at $100 and $20 off at $200
  • Bundle price โ€” Every complete group of a set number of items gets one price, for example any 3 for $99. Groups fill from the most expensive items first
  • Gifts โ€” A spend threshold can give 1 of up to 12 gift products. The gift is a real order line, so stock goes down and you can pick and pack it
  • Price lists โ€” Chosen customers get their own prices: verified B2B accounts, customers with a role, named customers or loyalty tiers. A % off, prices per product, or both

Targeting, exclusions and conditions

  • Targeting โ€” Products, variations, categories (with their subcategories), tags, brands and your other product taxonomies. Large catalogs can be searched, filtered and added in bulk
  • Exclusions โ€” Leave out chosen products, categories, tags or brands, for example every T-shirt except one design. Excluded items never count and are never discounted
  • Conditions โ€” A deal can apply only with chosen shipping methods (for example local pickup) or payment methods. The cart tells the shopper what the deal needs
  • Usage limits โ€” Uses per customer per day, week, month or ever, and an option to count a household as one customer
  • Combining โ€” A deal can be exclusive on the items it discounts. Advanced Settings sets a maximum total GT BOGO discount per order
  • Coupons โ€” When a shopper also applies a coupon, the default gives whichever saves the shopper more. You can allow both or let the coupon replace the deal

Without PRO: the free version runs one store-wide Buy X Get Y deal. You choose the buy quantity, the get quantity and the discount.

Subscription products (WooCommerce Subscriptions)

A deal on a subscription product comes off the first payment only. Tick On subscriptions, also take this off every renewal on the deal to make it subscribe-and-save: the same discount then comes off every renewal for as long as the subscription runs. Deals on other products work as before.

Section 6

What Shoppers See

Deals show where shoppers decide: in the cart and at checkout. Nothing is drawn on your product or shop pages.

In the cart and at checkout

  • Discounted items โ€” The deal lowers the price of the items it applies to. Each item shows its own price crossed out and what the deal saves
  • Free items โ€” A Buy X get Y free item sits on its own line, marked Free, with the deal's name under it. The paid items keep their normal price
  • Gifts โ€” A gift shows as its own line marked Gift: Free
  • Progress lines โ€” One plain line such as "Add 1 more item to get 1 free" or "Spend $12.00 more to get free shipping", in the shopper's language. It never appears on the order, emails or invoices

On orders

  • Orders and order emails show free and gift items as their own lines with their deal
  • Orders carry no negative discount line, which some payment gateways reject
  • Tax is worked out per item, and refunding a discounted item refunds exactly what the customer paid for it
Section 7

Margin Protection

Every cart gets one decision: which deals apply, what they cost your margin, and which were held back and why.

How each cart is decided

  1. Eligibility โ€” Each active rule is checked against the cart and the customer: products, quantities, cart value, schedule, customer group and conditions
  2. Margin floor โ€” Each eligible deal is priced and checked against your minimum margin. A deal that would take the cart below it is held back, with the reason recorded
  3. Revenue Guard โ€” If margin or revenue falls below the thresholds you set, discounts pause until it recovers
  4. Offer suppression โ€” When switched on, optional deals are skipped for customers likely to buy without one. Off by default
  5. The decision โ€” The deals that apply are priced into the cart, and the full decision is recorded in the Decision Provenance Log

The controls

  • Minimum margin โ€” Set on the Deal Lockout screen. New installs start at 20%. It uses the product costs your store records (WooCommerce Cost of Goods or a supported cost-of-goods plugin); where a product has no cost, nothing is estimated and the decision says so
  • Revenue Guard โ€” A minimum margin, a revenue floor, a discount cap and the period they are measured over
  • Decision Provenance Log โ€” The deals applied and held back for each cart, with the reason. Use it when a customer asks why a deal did or did not apply

The discount a cart receives is always the one your rule sets, as priced against your margin. Signals such as stock or customer value decide who qualifies; they never change the size of a discount.

Section 8

Price Sensitivity

An extra saving for shoppers who hesitate, sized for each product category. Off until you switch it on.

How it works

A shopper who hesitates in the cart (removing items, staying without checking out, or coming back to it) can be offered an extra saving. Its size depends on how price-sensitive each product's category is. GT BOGO Engine knows 5,595 product categories in 16 languages, so every product in every industry gets a level.

  • The saving goes only on items no other deal already discounted, passes the same margin checks as every deal, and shows on the item as Extra saving
  • Health products are treated like other goods shoppers compare online; luxury items follow luxury mode
  • Regulated products (tobacco, weapons, adult items), live animals and vehicles never get a hesitation saving
  • It learns from your store: a small share of hesitant shoppers is held back so the plugin can measure what the saving really changes, and your own results gradually replace the starting levels

Setting your own levels

Settings โ†’ Intelligence Systems โ†’ Sensitivity by category shows the level used for each of your categories and where it comes from. Set your own level for any category; its subcategories follow it.

Section 9

Superpowers

20 optional features that work behind the scenes. None of them draws anything on your storefront.

The 3 email superpowers

  • Exit Intent โ€” When a signed-in customer with a deal in their cart leaves the cart or checkout without buying, a follow-up email is sent
  • Cart Recovery Email โ€” Up to 60 minutes after a signed-in customer leaves a cart with an active deal, an email links back to the cart
  • Email Notifications โ€” A thank-you email after an order that used a deal

Customers whose purchase history shows they usually come back on their own are not sent the Exit Intent or Cart Recovery email.

The 17 intelligence engines

LTV Scoring
Inventory Intelligence
Revenue Guard
Webhook Triggers
Subscription Detection
Anniversary Intelligence
Birthday Intelligence
Post-Purchase Intelligence
Multi-Currency Optimizer
Geo Rules Engine
A/B Testing Engine
Streak Rewards Engine
Customer Segmentation
Smart Scheduling Engine
Customer Profile Tracker
VIP Detection
Auto Add

They score customers, assign loyalty tiers, VIP status and streak roles, pause deals when margin or stock calls for it, send signed webhooks and run background jobs on staggered schedules. Auto Add puts the free item in the cart for free-item deals, and skips it when the margin is too thin, the item is out of stock or the customer does not qualify.

Switching a superpower on or off

Go to GT BOGO Engine โ†’ Superpowers, use the Enable switch and click Save All Superpower Settings. The intelligence engines run unless you switch them off; the email superpowers and Auto Add stay off until you switch them on.

To show deal information in your theme's own design, your developer can read it from the decision API. See For Developers.

Section 10

Timed Campaigns

Plan sales weeks ahead. They start and end by themselves.

Campaign Scheduler

  • Choose one or more rules, a start and end date and time, and the timezone
  • Schedules can repeat on the days you choose, for example every Friday afternoon to Sunday evening
  • The scheduler can email you when it switches rules on or off

Promotion Calendar

Every deal that runs in a month on one view, including scheduled campaigns and the deals that run every day. Days where two deals discount the same products for the same shoppers are marked.

Tip: WordPress runs scheduled tasks when a page is loaded. On a low-traffic store, schedule a deal 5 minutes before the time it must be live.

Section 11

Loyalty & VIP

Loyalty tiers, purchase streaks and VIP status that your deals can target, kept up to date by the plugin.

Loyalty tiers

TierLifetime spend
BronzeEvery registered customer starts here
Silver$250+
Gold$500+
Platinum$1,000+
Diamond$2,500+

Tiers are checked when an order becomes processing or completed. A tier does not change prices by itself: it decides which of your deals a customer qualifies for.

Purchase streaks

A streak counts consecutive weeks with at least 1 order. At 2, 3, 6, 12 and 26 weeks the customer gets the streak email, and from 6 weeks a streak role your deals can target.

VIP status

Given automatically from spend and order count: VIP Member ($500 and 3 orders), Gold VIP ($1,000 and 5), Platinum VIP ($2,000 and 10) and Whale ($5,000 and 20). VIP customers qualify for the deals you aim at them.

Section 12

Customer Rewards

A free gift that unlocks once for each customer who joins a group.

How rewards work

  • Aim a gift deal at a customer group: a loyalty tier, VIP status, birthday, referrals and more
  • Each customer who joins the group unlocks the gift once and gets an email from your store
  • You choose how it is redeemed: claimed on its own, paying only shipping, or added to the next order. An unused reward is added to the customer's next order by itself, as its own Free line
  • If an order with a reward is cancelled or refunded, the reward goes back to the customer

The Customer Rewards screen lists your reward deals and every customer's rewards, with the order each one was used on.

Section 13

Referral Program

Customers share a link, friends get an offer, and rewards come off the next order by themselves.

How referrals work

  1. Switch the program on in Settings โ†’ Referral Program and set the friend offer and the rewards
  2. Each registered customer gets a personal link and an 8-character code on a Referrals page in My Account
  3. A friend who arrives through the link gets the friend offer in their cart, on a first order only
  4. When the friend's order is completed (or paid, if you choose), the reward comes off the customer's next order when they check out signed in. Nobody types a code

Self-referrals, repeat customers and orders below your minimum are recorded as not eligible. A cancelled or fully refunded friend order cancels a reward that has not been used.

Commission and payouts

  • Pay referral rewards as store credit, or let each customer choose store credit or PayPal in their account
  • Set the commission, a minimum payout ($100 by default) and a holding period, so a refund cancels a commission before it is paid
  • Customers see what each friend's order earned them: waiting, available, being paid or paid. Changing a PayPal email needs their account password
  • Customers are emailed at every step, and the Referral payouts card in Settings lists every payout with its status

For influencers and partners, Referral Ambassadors gives a customer a vanity code, a friend offer of their own and a commission rate.

Section 14

Automated Emails

Shopper emails that send themselves from orders, carts, loyalty, dates and subscriptions, in your store's name and branding.

The emails

CategoryEmails
OrdersNew customer welcome ยท Deal confirmation ยท Free gift ยท Post-purchase follow-up
Cart and dealsThreshold nudge ยท Cart reminder ยท Deal ending soon
LoyaltyTier upgrade ยท VIP unlocked ยท Streak bonus ยท Streak at risk ยท Streak broken ยท Order milestone ยท Loyalty introduction and reminder
DatesBirthday offer ยท Birthday coming up ยท Account anniversary ยท Anniversary coming up
Win-backWin-back ยท Lapsed customer offer ยท Reorder reminder
SubscriptionsSubscriber at risk ยท Subscription cancelled ยท Trial ended ยท Subscriber anniversary
Rewards and referralsReward unlocked ยท Referral pending ยท Referral reward ยท Commission and payout notices ยท B2B tier reached
ConsentOpt-in confirmed (double opt-in)

Each email can also go to Klaviyo, Mailchimp or your webhooks as an event instead.

Setting up emails

  • Master switch โ€” Settings โ†’ Customer Emails. Emails send only once your business name and postal address are filled in
  • Sender โ€” The From Name and From Email Address on the Email Management screen; left empty, your WooCommerce sender is used
  • Branding โ€” Every email comes from your store, with your logo and colors only. The footer shows your website, privacy policy, terms, contact link, address and unsubscribe link
  • Design โ€” One clean white design that matches your WooCommerce receipts: your logo at the top, a button color you choose. Emails sent through Klaviyo or Mailchimp carry the same finished email
  • No repeats โ€” The same email is not sent twice to a customer within its waiting period
Section 15

Seeing What Works

Which deals apply, the revenue on those orders and what they cost in discounts.

Dashboard and Analytics

  • Revenue influenced โ€” The value of orders where a deal applied. It shows where deals were used, not how many sales they added
  • Average order value โ€” Of orders where a deal applied
  • Rule Leaderboard โ€” Your rules ranked by the revenue on orders where they applied
  • Email performance โ€” How many of each email were sent, on the Email Management screen
  • History โ€” Every order where a deal applied is kept. Export CSV on the Analytics page downloads it

A/B testing

On the A/B Testing page, choose 2 rules, name the test and record your hypothesis, then compare their results from real orders. The analysis reports the statistical confidence of the comparison. Recording a winner does not switch rules on or off.

Section 16

AI Intelligence

AI tools that run on your own Anthropic API key. AI never sets the price a shopper pays.

The AI tools

ToolWhat it does
Analyze my storeLooks at your categories, product names and a few product photos, and suggests your industry and what each unclear category holds
Check all packs against my storeReviews your store against all 250 packs and flags any the plugin judged wrongly, with a reason
Pack RecommenderRecommends packs from the full library for a goal you describe, with scores and reasons, using your whole store profile
Gap AnalyzerCompares your active deals with the 250-pack library and flags seasonal, lifecycle, category and retention gaps
AI CopywriterWrites the Exit Intent, Cart Recovery and thank-you email copy in your brand voice
Performance CoachA weekly report on your deals with suggested changes, every Monday
Intelligence EngineOff by default. Shadow asks the AI but changes nothing; Rollout and Full let it decide which superpowers act for each visitor

Every suggestion about your store profile or packs changes nothing until you accept it. Because the key is your own, you can also use the AI features for store tasks beyond promotions.

API key: Enter your Anthropic API key in GT BOGO Engine โ†’ AI Intelligence โ†’ API Configuration. It is stored encrypted on your server and never sent to the browser.

Section 17

Testing Deals

Try a deal on your past orders before it goes live.

Simulate before you switch a deal on

GT BOGO Engine โ†’ Simulate replays a deal against your own past orders, with the same pricing as the cart, so you can see what it would have given before it costs anything. It changes nothing.

Test in a private window

Switch the rule on, then add qualifying products to a cart in a private window, signed out or as a test customer, and check the crossed-out price, the Free line or the progress line appears as expected.

Section 18

Customer Groups

Groups the plugin keeps up to date from purchase history, for your deals to target.

Groups maintained automatically

  • Loyalty tiers โ€” Bronze to Diamond by lifetime spend
  • VIP status โ€” VIP Member to Whale
  • New and returning customers โ€” From each customer's order history
  • Streak, anniversary and zone roles โ€” As customers build streaks, reach a purchase anniversary or order from a geo zone
  • Referral groups โ€” Referred friends and advocates
  • B2B accounts โ€” Verified business buyers and their volume tiers
  • Pack audiences โ€” Every group the PRO packs are written for, such as customers who bought this time last year, former VIPs and recent buyers
Section 19

Who Gets Your Deals

Control which customers and which carts each deal applies to.

Targeting options

  • All customers โ€” Everyone whose cart qualifies
  • New or returning customers โ€” By order history
  • Loyalty tier or VIP status โ€” Any tier from Bronze to Diamond, or VIP Member to Whale
  • User roles โ€” For example wholesale
  • Country zones โ€” See Country Targeting
  • Shipping and payment method โ€” See Deal Types
  • Excluded roles โ€” In Settings, logged-in shoppers with a checked role, such as staff accounts, get no deal. Guests are not affected
Section 20

Your Deals Page

A public page on your store that lists your live deals.

Setting it up

  1. Go to GT BOGO Engine โ†’ Deal Page
  2. Enter a page title and URL slug (default: bogo-deals), and optionally a heading and subtext
  3. Choose a layout (grid, list, compact or hero) and which deals to show: active, scheduled or all
  4. Click Create Deal Page, or place the [gt_bogo_deals] shortcode on any page

The page shows each deal, the products or categories it covers, any minimum order and when it runs. Deals a shopper cannot get, by role or by zone, are left out, and styling follows your theme.

Section 21

Country Targeting

Group countries into zones and limit deals by zone.

How geo targeting works

  • Group countries, states or postcodes into named zones, such as Europe or US East Coast
  • Rules assigned to an Include zone apply only to shoppers inside it; rules assigned to an Exclude zone do not apply to them
  • The shopper's location is the cart's shipping address, then the billing address, then their IP address
  • Signed-in customers get a role for their zone, and you can see which zones your deal orders come from
Section 22

Multiple Currencies

Deals work in the currency the shopper pays in.

Multi-currency support

GT BOGO Engine works with WooPayments, WPML, FOX/WOOCS, Aelia, CURCY and Price Based on Country. Your switcher converts prices; GT BOGO Engine converts the amounts in your rules to match:

  • Percentage discounts work in any currency with no setup
  • Fixed amounts, cart minimums, thresholds and caps convert at your rate override for that currency, else your switcher's rate, else the market rate
  • Exchange rates are fetched only while your store sells in another currency
  • Your admin screens always show your base currency
Section 23

White Label

Your shoppers see your store, never GT BOGO Engine.

What you can set

  • Discount Label โ€” The name shown with discounted and free items for deals that have no name of their own; {store_name} becomes your store name
  • Shopper email sender โ€” The name and address shoppers see in their inbox
  • Logo and button color โ€” For shopper emails

Shopper emails and your Deals Page carry your branding only. White Label changes what shoppers see, not the WordPress admin.

Section 24

Connecting Other Tools

Webhooks, the REST API and native integrations.

Webhooks

  • bogo_applied โ€” An order with a deal is recorded
  • tier_upgraded โ€” A customer moves to a new loyalty tier
  • vip_unlocked โ€” A customer reaches VIP status
  • referral_converted โ€” A referred friend's order qualifies
  • streak_milestone โ€” A purchase-streak milestone is reached

Choose the events and your endpoint on the Integrations page. Each delivery is signed with HMAC-SHA256 in the X-GT-BOGO-Signature header. Customer details are included only with the customer's marketing consent.

REST API and native integrations

  • REST API โ€” /wp-json/gt-bogo/v1 reads and edits rules, reads analytics and live deals, and prices a cart with POST /validate-cart. Create API keys on the REST API screen
  • Mailchimp and Klaviyo โ€” Connect with an API key on the Integrations page
  • WooCommerce Subscriptions โ€” Detected automatically for subscriber deals
  • Currency switchers โ€” See Multiple Currencies
Section 25

Settings Guide

The main settings and their defaults.

SettingWhereDefault
Your industry and how you sellSetup, then SettingsDetected
Minimum marginDeal Lockout20% on new installs
Coupons with dealsAdvanced SettingsBest saving
Maximum total discount per orderAdvanced SettingsNo cap
Price SensitivitySettings โ†’ Intelligence SystemsOff
Customer emailsSettings โ†’ Customer EmailsOff
Referral ProgramSettings โ†’ Referral ProgramOff
Excluded user rolesSettingsNone
Auto AddSuperpowersOff
AI keyAI IntelligenceEmpty
Email alert on errorSettings โ†’ Audit LogOff
Delete all data on uninstallSettingsOff

Advanced Settings holds the engine settings for cart and coupons, customer intelligence, measurement, inventory, bundles, gifts, notifications, B2B and privacy.

Section 26

Pricing & License

One price per site, monthly or annual.

Prices

  • PRO licence โ€” $99/month or $990/year per site. Both plans include the full PRO release
  • PRO packs โ€” $79.99 each, or bundles of 5, 9 or 15 core packs at $299, $499 and $799. Packs are one-time purchases
  • Free version โ€” One store-wide Buy X Get Y deal with no coupon codes. Download PRO

Your licence

  • Buy at gtbogoengine.com/pro; the purchase e-mail shows how to switch PRO on, and your licence is in your PRO account
  • Activate it under GT BOGO Engine โ†’ License with the key, or sign in with your purchase email and a 6-digit code
  • One licence per site. Move it to a new domain from your account at gtbogoengine.com/pro/account
  • PRO runs to the end of the period you paid for. A cancelled subscription keeps working until then; when a licence ends, PRO features and PRO pack deals stop at the next licence check
  • The plugin never sends your licence key anywhere; licence checks carry a one-way hash of it
Section 27

For Developers

How discounts are applied, the decision API, hooks and filters, the REST API, AI assistants and webhooks.

Architecture

  • Deals are evaluated on cart and checkout only; the plugin never hooks WooCommerce product templates or price filters
  • No JavaScript on product or shop pages
  • Deals lower the price of the cart items they apply to; free and gift items are their own cart lines. Orders carry no negative fee line
  • Block and classic cart and checkout, through the Store API extension
  • HPOS (High Performance Order Storage) compatible

The decision API (gtbogo.decision/1)

  • extensions["gt-bogo-engine"].decision โ€” In the WooCommerce Store API cart response
  • gt_bogo_get_decision() โ€” PHP, returns the decision for the current cart
  • POST /wp-json/gt-bogo/v1/validate-cart โ€” Evaluates a cart and returns the decision
  • GET /wp-json/gt-bogo/v1/schemas/decision โ€” The public JSON Schema

Discounts are priced once; no filter changes a discount after pricing. Read the decision API or use the hooks below rather than calling plugin classes directly.

Key action hooks

  • gtbogo_rule_fired โ€” A rule applies a discount. Params: $rule_id
  • gtbogo_tier_upgraded โ€” A loyalty tier changes. Params: $user_id, $old_tier, $new_tier
  • gtbogo_vip_unlocked โ€” A customer reaches VIP status. Params: $user_id, $tier
  • gtbogo_streak_milestone โ€” A purchase-streak milestone. Params: $user_id, $streak, $reward
  • gtbogo_rule_activated / gtbogo_rule_deactivated โ€” A rule is switched on or off. Params: $rule_id
  • gtbogo_order_bogo_applied โ€” A paid order carried deals. Params: $order_id, $total_savings, $rule_ids
  • gtbogo_order_milestone โ€” A customer reaches an order-count milestone. Params: $user_id, $count, $offers
  • gtbogo_deal_arbitrated โ€” Deal arbitration picked one deal of a kind. Params: $winner, $context, $candidates

Filters

  • gtbogo_product_cost โ€” Product cost used by the margin floor. Params: $cost, $product_id
  • gtbogo_cogs_meta_key โ€” Meta key that holds a product's cost, when your cost plugin uses its own. Params: '', $product_id
  • gtbogo_fx_rate โ€” Exchange rate for multi-currency stores. Params: $rate, $currency, $base
  • gtbogo_birthday_meta_keys โ€” User meta keys read for a customer's birthday. Params: $keys
  • gtbogo_b2b_roles โ€” Roles treated as trade customers. Default b2b_account, wholesale_customer, wholesaler
  • gtbogo_api_client_ip โ€” Client address used for API key allowlists behind a trusted proxy. Params: $ip
  • gtbogo_log_ip_address โ€” Address stored in the plugin's own logs; return '' to store none

REST API (gt-bogo/v1)

Base address /wp-json/gt-bogo/v1/, contract gtbogo.api/1. Sign in with a WordPress session (cookie and nonce), a WordPress application password, or an API key made under GT BOGO Engine → REST API. Send a key in a header only: X-GT-BOGO-Key, X-GTBOGO-Key or Authorization: Bearer. Keys are stored as hashes and shown once; expiry, a per-key rate limit, an IP allowlist and HTTPS are enforced on every request. A key acts as the administrator who made it, narrowed by its scope, and every change goes through the same permission checks, approvals and change history as the admin screens.

ScopeAllows
readEvery GET route, and POST /validate-cart
analyticsGET /analytics, /measure, /rules/{id}/stats and the schemas
writeRead, plus create and edit rules (saved as drafts) and submit them for approval
fullEverything, including switching rules on or off and deleting them
RouteWhat it does
GET /rulesRules; ?status=active (default), all, draft or inactive
GET /rules/{id}One rule
POST /rulesCreate a rule (a draft unless the caller may publish and asks for it)
PATCH /rules/{id}Edit a rule's settings
POST /rules/{id}/submitSubmit a draft for approval, with a simulation attached
PATCH /rules/{id}/statusSwitch a rule on or off
DELETE /rules/{id}Delete a rule
GET /rules/{id}/statsUses, budget, customers and measured result
GET /rules/{id}/historyChange history
GET /analyticsPaid orders, orders with a deal, discount cost, per rule; ?days=30 (up to 365)
GET /analytics/dailyThe same per day (UTC)
GET /dealsLive offers (public when the store turns on public API access)
POST /validate-cartPrice a cart against the live rules and return the decision
GET /schemas/decisionJSON Schema of the decision
GET /measure/campaignsMeasured campaigns; /measure/campaigns/{id} and /{id}/history for one
GET /offersPublic offers for shopping assistants (see below); no sign-in

AI assistants and shopping agents

  • WordPress Abilities API (WordPress 6.9 and later): the category store-promotions registers gt-bogo/list-promotions, get-promotion, promotion-history, promotion-performance, simulate-cart, margin-floor, create-promotion-draft, update-promotion, pause-promotion and resume-promotion. Each runs the REST route above with the caller's own permissions, so an assistant can never do more than the person using it. A new promotion is always a draft; a live one must be paused before it is edited; a draft is switched on by a person. Turn the abilities off under Integrations → AI Assistants.
  • Offers for shopping agents: public offers every shopper can get appear in the Store API product data under extensions["gt-bogo-engine"].offers and at GET /wp-json/gt-bogo/v1/offers (contract gtbogo.offers/1, cached 5 minutes). Offers for groups, members or single customers are never listed. Turn them off on the same card.

Webhooks

Set an HTTPS address and a secret under Integrations → Webhook Configuration, then choose the event groups. Every delivery is a JSON POST:

HeaderValue
X-GT-BOGO-Signaturesha256= followed by the HMAC-SHA256 of the raw body with your secret
X-GT-BOGO-DeliveryDelivery id, the same on every retry and replay
X-GT-BOGO-EventEvent name
X-GT-BOGO-Attempt1, 2, and so on
X-GT-BOGO-VersionPayload version (2)

Body: {"event": "...", "version": "2", "timestamp": "ISO 8601", "store_url": "...", "data": {...}}. Customer events carry names, e-mail addresses or ids only when the customer agreed to it; otherwise those fields are removed and the event still arrives.

GroupEvents
Deals redeemedbogo_applied, deal_eligible, cart_abandoned, flash_sale_started, flash_sale_ended
Rules switchedrule_activated, rule_deactivated, revenue_guard_triggered, revenue_guard_lifted
Customerstier_upgraded, streak_milestone, streak_broken, referral_converted, vip_unlocked, anniversary_triggered, birthday_triggered, winback_sent, subscription_at_risk
Shopper messagesshopper.* (each shopper e-mail moment, for your own e-mail platform)

Answer with a 2xx status. A failed delivery is retried after 1, 5 and 30 minutes, 2 hours and 12 hours (6 attempts). Delivered entries are kept 30 days, failed ones 90 days, and a failed delivery can be sent again with Replay on the Webhook Deliveries card. Check the signature before you trust a payload:

$sig = 'sha256=' . hash_hmac( 'sha256', file_get_contents( 'php://input' ), $secret );
if ( false === hash_equals( $sig, $_SERVER['HTTP_X_GT_BOGO_SIGNATURE'] ?? '' ) ) { http_response_code( 401 ); exit; }
Section 28

For Agencies

Run GT BOGO Engine PRO on every client store, each showing its own name to its shoppers.

Agency workflow

  1. One licence per client site โ€” Each licence is tied to one domain
  2. Set the store profile โ€” Confirm the client's industry and how they sell, so the right packs are recommended
  3. Set up White Label โ€” The Discount Label, shopper email sender, logo and button color
  4. Import the client's packs โ€” Their rules load switched off; switch on the ones that fit and set the minimum margin
  5. Hand off โ€” The client manages their own deals in the GT BOGO Engine admin

Agency edition

  • Run 10 to 100 client stores from one Command Centre: changes with preview, one store first and undo, blueprints, pack copies, your agency name on the plugin and one AI key for every store
  • Read the Agency documentation or see GT BOGO Engine Agency

Why it works for agencies

  • $99/month or $990/year per client site: a clear upsell with recurring revenue
  • 250 packs in 19 categories, so each client starts from deals built for its category
  • Each client store's own name in front of its shoppers
Section 29

Every Screen

What each of the 45 screens in the plugin menu is for.

ScreenWhat it is for
Start
DashboardYour store at a glance: active deals, recent results and whether the margin floor is protecting your margin.
Setup GuideThe first steps in order. Every step can be skipped and changed later.
WelcomeThe first screen after installing, with the next steps.
Free Core RuleThe always-available BOGO rule that runs without a PRO licence: products, schedule and cart message.
Deals
RulesEvery deal on the store: create, edit, switch on or off, duplicate and send for approval.
PRO Pack StoreBuy industry packs of ready-made promotions.
My PacksThe packs you own: turn them on, pause them, set them up and see how they perform.
Variant RulesDeals for specific product options, such as size, colour or material.
Rule ConditionsConditions that apply to every active deal: categories, cart value, schedule, location and more.
Conflict ResolverDeals that clash on priority, discount or the products they cover, with the fix for each.
Deal PageA public page that lists your current deals.
SuperpowersOptional features, such as cart recovery and win-back e-mails, each switched on separately.
Timing and audiences
Campaign SchedulerSwitch deals on and off by date, time of day or day of the week.
Promotion CalendarEvery deal running this month, with clashes and budgets.
Customer RewardsGift deals for a customer group (loyalty tier, VIP, birthday, referrals): each customer gets the gift once.
Customer SegmentsAim deals at customer groups by order history, spend, role or behaviour.
Geo TargetingRun deals in some countries, states or postcodes, or leave regions out.
Multi-CurrencyThresholds, discount caps and cart minimums per currency.
A/B TestingCompare two deals: record the idea, follow the results and keep the winner.
Results
AnalyticsWhat deals did for revenue, a leaderboard of deals and the times of day that sell.
MeasureWhat each offer really added, compared with shoppers who did not get it.
ProfitMargin on paid orders after deals, and the product costs the margin floor uses.
ClearanceOverstocked and slow products, with a deal for each that stays above your margin floor.
SimulateTry a deal on your real past orders before it costs anything.
ROI ProjectorModel a campaign before you launch it: revenue, discount cost and margin.
Customer IntelCustomer profiles: value tiers, how recently and how often they buy.
Journey MapHow many shoppers reach each stage, and what runs for them there.
PDF ExportDownload a branded report of deals, results, customers and changes.
Protection
Deal LockoutMargin protection: stop runaway discounts and stacking, and set your margin floor.
Rule HistoryEvery change to a deal: who made it, when, from where and what changed.
Audit LogA timestamped record of every change, activation, import and system event.
AI
AI IntelligenceConnect Claude (or the AI set up in WordPress) for pack suggestions, deal gaps, copywriting and coaching.
Store OptimizerChecks every published product without AI; with a Claude key it also writes improvements.
Connections
IntegrationsE-mail platforms, ad platforms, webhooks, AI assistants and other WooCommerce extensions.
REST APIAPI keys, the list of endpoints and how to connect other systems.
White LabelYour store's name and brand at checkout and in the e-mails your shoppers get. Shoppers never see GT BOGO Engine.
Import / ExportBack up your deals and settings, move them to another store or restore them.
Settings and health
SettingsCart behaviour, display, performance and analytics.
Advanced SettingsHow deals and coupons combine and the largest share of the cart they may take together.
LicenseActivate and manage your PRO licence.
Health MonitorPerformance, security and setup checks, with one-click fixes.
Store StatusStore readiness, system health and database checks.
System StatusServer, WordPress and plugin details for support.
DocumentationThis guide inside the plugin.

Some screens show only with a PRO licence; agency-managed stores show the screens their agency allows.