Skip to content

Always showing "Direct" source #44

@hogash

Description

@hogash

Hey guys!

I've tested the plugin but it always shows Direct source. I've placed a test order using this link: website.com/?utm_source=facebook&fbclid=test123 and still logged "Direct", while Woo's built-in attribution correctly assigned it example highlighted with red:

Image

I enabled logging and seems to be empty. I ran the Conflict Scan and was fine.

Screenshots with logs:
1)
Image
2)
Image
3)
Image

Woo order lookup:

| Source Hook                     | woocommerce_order_status_changed |
|--------------------------------|----------------------------------|
| Attempted At                   | 2026-04-15 17:47:06              |
| Dispatch Result                | skipped                          |
| Dispatch Detail                | disabled                         |
| Queue State                    | not_queued                       |
| Queue Detail                   | No pending retry row found.      |
{
    "event_name": "order_paid",
    "event_id": "order_paid_304008",
    "event_time": 1776246426,
    "funnel_stage": "bottom",
    "session_id": "s_75058c042a8482b9",
    "source_channel": "server",
    "page_context": [],
    "attribution": {
        "first_touch": [],
        "last_touch": []
    },
    "consent": {
        "marketing": false,
        "analytics": false
    },
    "lead_context": [],
    "commerce_context": {
        "transaction_id": 304008,
        "value": 27.17999999999999971578290569595992565155029296875,
        "currency": "USD",
        "subtotal": 9.9900000000000002131628207280300557613372802734375,
        "tax_total": 0,
        "shipping_total": 16.989999999999998436805981327779591083526611328125,
        "discount_total": 0,
        "discount_codes": [],
        "status": "processing",
        "order_currency": "USD",
        "item_quantity": 1,
        "items": [
            {
                "item_id": 302850,
                "item_name": "",
                "price": 9.9900000000000002131628207280300557613372802734375,
                "quantity": 1,
                "product_id": 302850,
                "sku": "",
                "variant": "",
                "categories": [
                    "All Products"
                ]
            }
        ]
    },
    "identity": [],
    "delivery_context": [],
    "meta": {
        "customer_id": 0,
        "customer_created_at": "",
        "order_created_at": "2026-04-15T17:46:51+00:00",
        "previous_status": "on-hold",
        "current_status": "processing",
        "source_hook": "woocommerce_order_status_changed",
        "milestone": true,
        "schema_version": 2,
        "migrated_from_v1": true,
        "segments": {
            "intent_level": "converted"
        },
        "plugin_version": "1.5.2"
    }
}
| Source Hook      | woocommerce_thankyou           |
|------------------|-------------------------------|
| Attempted At     | 2026-04-15 17:47:08           |
| Dispatch Result  | skipped                       |
| Dispatch Detail  | disabled                      |
| Queue State      | not_queued                    |
| Queue Detail     | No pending retry row found.   |
{
    "event_name": "purchase",
    "event_id": "purchase_304008",
    "event_time": 1776246428,
    "funnel_stage": "bottom",
    "session_id": "s_36cfff79b6c967df",
    "source_channel": "server",
    "page_context": [],
    "attribution": {
        "first_touch": [],
        "last_touch": [],
        "woo_milestone_sent_order_paid": "2026-04-15 17:47:06"
    },
    "consent": {
        "marketing": false,
        "analytics": false
    },
    "lead_context": [],
    "commerce_context": {
        "transaction_id": 304008,
        "value": 27.17999999999999971578290569595992565155029296875,
        "currency": "USD",
        "subtotal": 9.9900000000000002131628207280300557613372802734375,
        "tax_total": 0,
        "shipping_total": 16.989999999999998436805981327779591083526611328125,
        "discount_total": 0,
        "discount_codes": [],
        "status": "processing",
        "order_currency": "USD",
        "item_quantity": 1,
        "items": [
            {
                "item_id": 302850,
                "item_name": "",
                "price": 9.9900000000000002131628207280300557613372802734375,
                "quantity": 1,
                "product_id": 302850,
                "sku": "",
                "variant": "",
                "categories": [
                    "All Products"
                ]
            }
        ]
    },
    "identity": [],
    "delivery_context": [],
    "meta": {
        "customer_id": 0,
        "customer_created_at": "",
        "order_created_at": "2026-04-15T17:46:51+00:00",
        "schema_version": 2,
        "migrated_from_v1": true,
        "segments": {
            "intent_level": "converted"
        },
        "plugin_version": "1.5.2"
    }
}

Do you believe there's some specific setting or something that I should've done?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions