PHP SDK
Show the owner what you send
The PRD names this the primary mitigation for privacy perception, so it is part of the contract. Two ways to get the exact payload the next snapshot would carry:
$payload = $insights->preview(); // [] until init() succeeded
add_filter(Plugie\Insights\Payload\Preview::FILTER, function (array $payload, string $pluginId) {
// 'plugie_insights_preview_payload' — inspection only. Returning a changed
// array changes what is SHOWN, never what is sent.
return $payload;
}, 10, 2);
Render it in your settings page beside the opt-in checkbox. The disclosure text to paste into your readme.txt is generated from the same schemas and lives at docs/privacy/readme-disclosure.md; the field-by-field inventory is docs/privacy/collected-fields.md.