# Marketing

{% hint style="info" %}
**Drive Growth and Engagement** The Marketing module provides powerful tools to promote your store, reward loyal customers, and build lasting relationships through targeted campaigns and referral programs.
{% endhint %}

## Introduction

OpenCart 4's Marketing module offers a comprehensive suite of tools to help you grow your business through strategic promotions, customer engagement, and data-driven marketing. From discount coupons and affiliate programs to mass email campaigns, these features work together to increase sales, build customer loyalty, and expand your reach.

## Marketing Features Overview

### 1. **Coupons** 🎫

Create and manage discount codes for promotions, special offers, and customer incentives.

**Key Capabilities:**

* Percentage or fixed amount discounts
* Product and category restrictions
* Usage limits and expiration dates
* Free shipping options
* Detailed usage tracking

**Use Cases:**

* Seasonal sales and promotions
* Customer loyalty rewards
* Product launch campaigns
* Cart abandonment recovery

[Explore Coupons Documentation →](broken://pages/xbRg0v2R988utvAoov0A)

### 2. **Affiliates** 🤝

Build a referral program where customers earn commissions by promoting your products.

**Key Capabilities:**

* Commission management and tracking
* Multiple payment methods (PayPal, bank transfer, cheque)
* Unique referral tracking codes
* Balance and transaction history
* Customer self-registration

**Use Cases:**

* Word-of-mouth marketing
* Influencer partnerships
* Customer referral programs
* Performance-based marketing

[Explore Affiliates Documentation →](broken://pages/Te57sd1Oj7BDxJFbBVdo)

### 3. **Mail** 📧

Send targeted email campaigns to different customer segments directly from your admin panel.

**Key Capabilities:**

* Mass email to newsletters subscribers, customers, affiliates
* WYSIWYG HTML editor (CKEditor)
* Batch sending (10 emails per batch)
* Multiple recipient selection options
* Store-specific sender configuration

**Use Cases:**

* Newsletter campaigns
* Product announcements
* Promotional offers
* Customer communication

[Explore Mail Documentation →](broken://pages/vJIjWZ7oLoUJogBSJYlm)

### 4. **Marketing Tracking** 📊

Track campaign performance, clicks, and conversions with custom tracking codes.

**Key Capabilities:**

* Unique tracking codes for campaigns and channels
* Click and order attribution tracking
* Geographic and store performance data
* Integration with affiliate and coupon systems
* Detailed campaign reports and analytics

**Use Cases:**

* Multi-channel campaign measurement
* ROI analysis and budget optimization
* A/B testing and performance comparison
* Seasonal campaign tracking
* Marketing attribution modeling

[Explore Marketing Tracking Documentation →](https://github.com/wilsonatb/docs-oc-new/blob/main/admin-interface/marketing/marketing.md)

## Getting Started

{% stepper %}
{% step %}
**Configure System Settings**

1. Enable email system (System → Settings → Server tab)
2. Activate affiliate system (System → Settings → Option tab)
3. Create customer groups for segmentation
   {% endstep %}

{% step %}
**Create Your First Campaign**

1. Set up a coupon for a seasonal promotion
2. Define affiliate program terms and commissions
3. Prepare an email campaign for newsletter subscribers
   {% endstep %}

{% step %}
**Launch and Monitor**

1. Test all marketing features thoroughly
2. Launch campaigns to targeted segments
3. Monitor performance using built-in reports
   {% endstep %}
   {% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.opencart.com/admin-interface/marketing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
