blob: b074063ebfe0771deec83ee159c7c34406ee5391 [file] [log] [blame]
{
"description": "source matching is based on the same destination site",
"input": {
"sources": [
{
"timestamp": "1643235573000",
"registration_request": {
"source_origin": "https://source.test",
"attribution_src_url": "https://reporter.test/register-source",
"source_type": "navigation"
},
"responses": [{
"url": "https://reporter.test/register-source",
"response": {
"Attribution-Reporting-Register-Source": {
"destination": "https://destination.test",
"source_event_id": "123"
}
}
}]
}
],
"triggers": [
{
"timestamp": "1643235574000",
"registration_request": {
"attribution_src_url": "https://reporter.test/register-trigger",
"destination_origin": "https://example.destination.test"
},
"responses": [{
"url": "https://reporter.test/register-trigger",
"response": {
"Attribution-Reporting-Register-Trigger": {
"event_trigger_data": [
{
"trigger_data": "7"
}
]
}
}
}]
},
{
"timestamp": "1643235575000",
"registration_request": {
"attribution_src_url": "https://reporter.test/register-trigger",
"destination_origin": "https://another-destination.test"
},
"responses": [{
"url": "https://reporter.test/register-trigger",
"debug_permission": true,
"response": {
"Attribution-Reporting-Register-Trigger": {
"debug_reporting": true,
"event_trigger_data": [
{
"trigger_data": "6"
}
]
}
}
}]
}
]
},
"output": {
"event_level_results": [
{
"payload": {
"attribution_destination": "https://destination.test",
"randomized_trigger_rate": 0.0024,
"scheduled_report_time": "1643411973",
"source_event_id": "123",
"source_type": "navigation",
"trigger_data": "7"
},
"report_url": "https://reporter.test/.well-known/attribution-reporting/report-event-attribution",
"report_time": "1643411973000"
}
],
"verbose_debug_reports": [
{
"payload": [ {
"body": {
"attribution_destination": "https://another-destination.test"
},
"type": "trigger-no-matching-source"
} ],
"report_time": "1643235575000",
"report_url": "https://reporter.test/.well-known/attribution-reporting/debug/verbose"
}
]
}
}