Processing Queue
The Processing Queue grid shows all Conversions API (CAPI) events waiting to be sent or already processed. Use it to monitor event delivery, troubleshoot failed events, and manually process stuck items.
Location: Marketing → Magmodules Meta → Processing Queue
Columns
| Column | Description |
|---|---|
| ID | Internal queue entry ID |
| Store View | Store where event originated |
| Payload | Event data being sent to Facebook |
| Response | Facebook API response (after processing) |
| Event Type | Type of event (Purchase, AddToCart, etc.) |
| Status | Current processing status |
| Created At | When event was queued |
| Updated At | Last status change |
Status Values
| Status | Meaning |
|---|---|
| Pending | Waiting to be processed by cron |
| Processing | Currently being sent to Facebook |
| Success | Successfully delivered to Facebook |
| Failed | Delivery failed after max retries |
How Events Enter This Grid
Events are queued when CAPI is enabled and a tracked action occurs:
| Event | Trigger |
|---|---|
| ViewContent | Product page viewed |
| AddToCart | Product added to cart |
| AddToWishlist | Product added to wishlist |
| Search | Search performed |
| InitiateCheckout | Checkout started |
| AddPaymentInfo | Payment method selected |
| CompleteRegistration | Account created |
| Subscribe | Newsletter signup |
| Lead | Contact form submitted |
| Purchase | Order placed |
Processing:
- Events queue immediately when action occurs
- Cron processes queue every 5 minutes
- Failed events retry up to 3 times
Actions
Grid Actions
| Button | Description |
|---|---|
| Process Queue | Manually process all pending events |
Mass Actions
Select multiple rows and use:
- Delete: Remove selected events from queue
- Process: Manually process selected events
Common Workflows
Check Event Delivery
- Open Processing Queue
- Filter by Event Type if needed
- Check Status column
- Success = delivered to Facebook
Troubleshoot Failed Events
- Filter by Status = Failed
- Check Response column for error message
- Common issues:
- Invalid access token → regenerate token
- Invalid pixel ID → verify configuration
- Rate limited → wait and reprocess
Manually Process Events
If cron is delayed or you need immediate processing:
- Click Process Queue button, or
- Select specific events → Mass action "Process", or
- Run CLI:
bin/magento magmodules:facebook:process-queue
Clean Up Old Events
Remove successfully processed events to keep grid manageable:
- Filter by Status = Success
- Filter by Created At (older entries)
- Select all → Delete
Or use CLI: bin/magento magmodules:facebook:cleanup
Verify Purchase Events
- Filter by Event Type = Purchase
- Check recent orders are queued
- Verify Status = Success
- Cross-reference with Facebook Events Manager
Understanding Payload
The Payload column contains JSON data sent to Facebook:
{
"event_name": "Purchase",
"event_time": 1234567890,
"event_id": "unique-id",
"user_data": {
"em": "[hashed email]",
"ph": "[hashed phone]"
},
"custom_data": {
"value": 99.99,
"currency": "EUR",
"content_ids": ["SKU123"]
}
}
All user data is SHA-256 hashed before sending.
Understanding Response
The Response column shows Facebook's API response:
Success:
{
"events_received": 1,
"fbtrace_id": "xxx"
}
Error:
{
"error": {
"message": "Invalid access token",
"code": 190
}
}
Need More Help?
Documentation:
- All Help Articles - Complete documentation overview
Support:
- Contact Support - Get help from our team