Aurelia Hub Documentation

Campaign Management

Last updated: 22. February 2026

Create, execute, and track marketing campaigns to engage your jewelry customers.

Accessing Campaigns

Navigate to Marketing > Campaigns.

Creating a Campaign

Basic Information

  • Name — Campaign name (e.g., "Valentine's Day 2025")
  • Description — Campaign goals and details
  • Type — Campaign type (email, SMS, etc.)
  • Status — Draft, Scheduled, Running, Completed, Cancelled
  • Created By — Staff member who created the campaign

Email Template

  • Email Template — Select a pre-designed template
  • A/B Testing — Enable to test multiple template variants
  • A/B Test Config — Configuration for test groups and criteria
  • Winning Variant — The better-performing template (after testing)

Targeting

  • Target Criteria — JSON-based customer selection criteria:
    • status — Customer status filter (active, VIP, etc.)
    • category_ids — Filter by customer categories
    • marketing_consent — Only customers with consent
    • total_spent_min / total_spent_max — Spending range
    • last_purchase_days — Customers who purchased within X days

Important: The system automatically filters for marketing_consent = true, ensuring GDPR compliance.

Scheduling

  • Scheduled At — When to send the campaign
  • Scheduling Config — JSON for advanced scheduling (send windows, timezone handling)

Campaign Lifecycle

Draft → Scheduled → Running → Completed
              ↓
          Cancelled
  • markAsStarted() — Scheduled → Running (sets started_at)
  • markAsCompleted() — Running → Completed (sets completed_at)

Campaign Metrics

Aurelia Hub tracks comprehensive campaign performance:

Metric Description
total_recipients Number of targeted customers
sent_count Emails successfully sent
delivered_count Emails delivered
opened_count Emails opened
clicked_count Links clicked
unsubscribed_count Unsubscriptions triggered
conversion_rate Purchase conversion percentage
revenue_generated Revenue attributed to the campaign

Calculated Rates

  • Open Rateopened_count / delivered_count × 100
  • Click Rateclicked_count / delivered_count × 100
  • Unsubscribe Rateunsubscribed_count / delivered_count × 100
  • Delivery Ratedelivered_count / sent_count × 100

Campaign Results

Each campaign has individual CampaignResult records per customer:

  • Tracks per-recipient status (sent, delivered, opened, clicked, unsubscribed)
  • revenue_attributed — Revenue linked to this customer from the campaign
  • Enables per-customer campaign effectiveness analysis

A/B Testing

For A/B test campaigns:

  1. Create multiple email template variants
  2. Enable is_ab_test on the campaign
  3. Configure test groups in ab_test_config
  4. Run the campaign
  5. The system identifies the winning_variant_id based on performance

Best Practices

  1. Always require marketing consent — Legal requirement in most jurisdictions
  2. Segment carefully — Targeted campaigns outperform mass emails
  3. Test before sending — Use A/B testing for important campaigns
  4. Track results — Review metrics and iterate on what works
  5. Timing matters — Schedule campaigns for optimal open times
  6. Use Important Dates — Target customers with upcoming birthdays or anniversaries

Was this article helpful?