Overview
What the plugin does and how the pieces work together.
Christmas Gift adds an interactive festive experience to WordPress. Visitors can open a floating gift, optionally submit an email, reveal a reward and โ when WooCommerce is active โ receive or apply a coupon. The plugin also provides a full Advent Calendar, page/device targeting, scheduling, analytics and visual presets.
Quick Start
Recommended first-time setup.
Gift
Choose the mode, text, floating position and triggers.
Rewards
Define the standard reward or build a Mystery Gift pool.
Design + Rules
Apply a preset, set display rules and schedule the campaign.
Dashboard
Campaign overview and quick actions.
The dashboard also exposes quick links to Presets, Analytics, Display Rules and Schedule. The default dashboard summary uses the recent analytics window.
Gift Experience
Configure the visitor-facing gift and its triggers.
| Field | Values / format | What it does |
|---|---|---|
| Gift Mode | Standard / Mystery / Daily / Advent Calendar | Controls how the reward is determined. |
| Fullscreen Mode | On / Off | Uses an immersive fullscreen overlay. |
| Sound Effects | On / Off | Adds a subtle sound on open and reveal. |
| Gift Label | Text | Main visitor-facing gift label. |
| Subtitle | Text | Supporting text beneath the label. |
| Open Button Text | Text | Text used to open the gift. |
| Success Title | Text | Headline after a successful reveal. |
| Enable Floating Button | On / Off | Shows or hides the floating gift trigger. |
| Position | 6 positions | Bottom/top/center left or right. |
| Desktop / Tablet / Mobile Size | 40โ240 / 32โ200 / 28โ160 px | Controls trigger size per device. |
| Auto-Open After | 0โ300 seconds | 0 disables the timer. |
| Open On Scroll | 0โ100% | 0 disables the scroll trigger. |
| Open On Exit Intent | On / Off | Opens on exit-intent detection. |
| Custom CSS Selector Trigger | CSS selector | Any matching element can open the gift. |
Gift Modes
Choose how the reward is selected.
Standard Gift
Uses the single Standard Reward configuration.
Mystery Gift
Selects one reward from the Mystery Gift Pool using relative weights. Selection occurs server-side.
Daily Gift
Maps the current date to a calendar-style door reward using the Advent Calendar start date.
Advent Calendar
Displays multiple doors. Future doors are locked and the current date is marked as today.
Rewards
Define what the visitor receives.
| Field | Values / format | What it does |
|---|---|---|
| Reward Type | Percentage / Fixed / Free Shipping / Free Product / Special / External URL / Custom | Selects the configured reward type. |
| Amount | Number | Percentage or fixed amount depending on reward type. |
| Frequency Limit | Session / Browser / Day / Campaign / Email / Unlimited | Limits repeated reward claims. |
| Coupon Mode | Fixed code / Auto-generate | Controls coupon code generation. |
| Coupon Code | Text | Used with Fixed Coupon Code mode. |
| Auto-Generated Code Prefix | Text | Prefix for generated unique codes. |
| CTA Button Text | Text | Reward call-to-action text. |
| CTA / Redirect URL | URL | Used for URL or Custom reward flows. |
Mystery Gift Pool
Weighted random rewards.
Enable Mystery Gift Mode, then add rows with a label, type, amount and weight. Weights are relative; they do not have to total exactly 100.
Email Unlock
Require an email before revealing the reward.
Available controls
- Require Email Before Revealing Reward
- Headline
- Description
- Button Text
- Require Consent Checkbox
- Consent / Privacy Text
Advent Calendar
Build a 1โ31 day interactive calendar.
| Field | Values / format | What it does |
|---|---|---|
| Enable Advent Calendar | On / Off | Enables calendar rendering for calendar mode. |
| Number of Days | 1โ31 | Number of doors. |
| Start Date | YYYY-MM-DD | Date when Day 1 unlocks. |
| Calendar Theme | Classic / Luxury / Winter / Minimal / Candy | Visual calendar theme. |
| Day # | 1โ31 | Identifies a door override. |
| Door Title | Text | Custom title for a door. |
| Reward Type | % Off / Fixed Off / Free Shipping / Special | Reward for the door. |
| Amount | Number | Reward amount. |
Door behavior
Each door gets an unlock date from the Start Date. Future doors are disabled/locked. A custom door override can set its title and reward; doors without an override fall back to the standard reward.
WooCommerce
Optional coupon and cart integration.
WooCommerce is not required for the core gift experience. When WooCommerce is inactive, the plugin still supports the gift, Advent Calendar, display rules and email unlock.
| Field | Values / format | What it does |
|---|---|---|
| Enable WooCommerce Rewards | On / Off | Turns WooCommerce reward integration on/off. |
| Add Free Shipping | On / Off | Adds free shipping to generated coupons. |
| Expires After | 0โ365 days | Coupon expiry period. |
| Usage Limit (total) | Number | Total allowed coupon uses. |
| Usage Limit Per User | Number | Uses allowed per user. |
| Minimum Spend | Number | Minimum cart amount. |
| Maximum Spend | Number | Maximum cart amount. |
| Individual Use Only | On / Off | Marks the coupon as individual-use. |
| Exclude Sale Items | On / Off | Blocks coupon use on sale items. |
| Redirect URL After Apply | URL | Destination after applying a coupon; blank uses Shop. |
Design
Lightweight visual customization with live preview.
| Field | Values / format | What it does |
|---|---|---|
| Base Theme | Classic / Luxury / Winter / Minimal / Candy | Starting visual theme. |
| Primary / Secondary / Accent | Color | Core visual colors. |
| Background / Surface / Text | Color | Main background, card and text colors. |
| Border Radius | 0โ40 px | Controls corner roundness. |
| Animation Speed | Slow / Normal / Fast | Controls motion speed. |
| Confetti On Reveal | On / Off | Adds confetti on reward reveal. |
| Snow Effect | On / Off | Adds animated snow. |
| Respect Reduce Motion | On / Off | Simplifies animation for visitors requesting reduced motion. |
Live Preview
The Design tab includes a preview frame that reflects the selected colors, border radius and current gift text. Use Presets for a quick starting point, then fine-tune the colors and motion.
Display Rules
Control exactly where the gift can appear.
| Field | Values / format | What it does |
|---|---|---|
| Pages | All / Home / Shop / Product / Cart / Checkout / Blog / Single / Any Page | Limits where the gift may render. |
| Devices | Desktop / Tablet / Mobile | Limits visibility by device. |
| User State | Everyone / Logged-In / Logged-Out | Limits visibility by login state. |
| Include URLs Containing | One pattern per line | Requires a URL pattern match when populated. |
| Exclude URLs Containing | One pattern per line | Hides the gift on matching URLs; exclusions win. |
| Rule Logic | AND / OR | Combines configured rule checks. |
Schedule
Automatically activate and deactivate a campaign window.
| Field | Values / format | What it does |
|---|---|---|
| Enable Scheduling | On / Off | Turns the date/time window on. |
| Start Date / Time | YYYY-MM-DD / HH:MM | Earliest campaign time. |
| End Date / Time | YYYY-MM-DD / HH:MM | Latest campaign time. |
| Timezone | Site timezone | Uses the WordPress site's configured timezone. |
Analytics
Measure the events the plugin can confidently attribute.
Presets
Apply ready-made visual directions and move configuration between sites.
The Presets tab also provides JSON Export Settings, Import Settings and Reset All Settings.
Advanced
Performance, custom CSS and data lifecycle.
| Field | Values / format | What it does |
|---|---|---|
| Christmas Gift Enabled | On / Off | Master switch for the complete frontend experience. |
| Performance Mode | Standard / Balanced / Lightweight | Controls particle, animation and DOM complexity. |
| Custom CSS | CSS | Loads after the plugin's own styles. |
| Delete All Plugin Data On Uninstall | On / Off | If enabled, removes the plugin's own data on uninstall; off by default. |
Shortcode & Gutenberg Block
Place the experience inline in content.
Basic
[christmas_gift]
Calendar mode
[christmas_gift mode="calendar"]
The plugin also registers a Gutenberg block named Christmas Gift when the block editor is available. The supported block/shortcode attribute is mode.
Visitor Experience
How the frontend flow is assembled.
The frontend can render as a floating gift or as an inline shortcode/block instance. The display engine first checks the master enabled state, schedule and display rules. Then the configured trigger or inline placement determines how the visitor enters the experience.
Privacy & Data
What the plugin stores and how lifecycle actions behave.
- Analytics: event records are stored in the plugin's own database table when tracking is enabled.
- Email Unlock: submitted emails are stored in the same events table when local lead storage is enabled.
- Marketing emails: none are sent automatically by the plugin.
- Deactivation: data is preserved.
- Uninstall: data is preserved by default; the Advanced option can explicitly request removal of the plugin's own data.
- WooCommerce: generated coupons are created as WooCommerce coupon data.
Troubleshooting
Fast checks for common problems.
| Problem | Check | Action |
|---|---|---|
| Gift not visible | Advanced, Display Rules, Schedule | Enable the master switch and confirm page/device/user/time conditions match. |
| Floating trigger missing | Gift โ Enable Floating Button | Enable it, or use the shortcode/block for inline placement. |
| Coupon not generated | WooCommerce active + rewards enabled | Activate WooCommerce and test a percentage/fixed/free-shipping reward. |
| Calendar doors locked | Start Date + site timezone | Verify the calendar start date and WordPress timezone. |
| Campaign timing wrong | Schedule | Verify start/end date and time and site timezone. |
| Animations heavy | Advanced โ Performance Mode | Try Lightweight and keep Reduce Motion enabled. |
FAQ
Everyday admin questions.
Does it require WooCommerce?
No. WooCommerce is optional.
Can I target product pages?
Yes. Use Display Rules โ Product.
Can I show it only to logged-out visitors?
Yes. Use User State โ Logged-Out Visitors Only.
Can I schedule the campaign?
Yes. Enable Schedule and configure the start/end window.
Can I place it inside content?
Yes. Use [christmas_gift] or the Christmas Gift block.
Will deactivation delete data?
No. Deactivation is non-destructive.
Changelog
Current package.
Initial release of Christmas Gift โ Advent Calendar & Giveaway for WordPress.