自2025年12月10日起,我们将对所有的Web Pixel扩展程序执行Shopify的受保护客户数据政策。只有当应用已获得相应受保护范围的批准后,客户个人身份信息(PII)——包括姓名、电子邮件、电话和地址字段——才会出现在Web Pixel有效载荷中。
变更内容
- Web Pixel有效载荷将根据应用已批准的访问范围在运行时进行过滤。
- 如果您的应用未获得特定范围的批准,像素事件中的相应字段将设置为null。事件数据结构保持不变。
- 此执行适用于所有Web Pixel展示位置:商店前台、结账页面和客户账户。
- 自定义Pixel不在此变更范围内。
受保护范围强制执行
- read_customer_name
- read_customer_email
- read_customer_phone
- read_customer_address
- read_customer_personal_data
示例
{ "event": "checkout_completed", "customer": { "email": null, // null if not approved for read_customer_email "first_name": null, // null if not approved for read_customer_name "phone": null // null if not approved for read_customer_phone }, "shipping_address": { "first_name": null, // null if not approved for read_customer_name "address_1": null, // null if not approved for read_customer_address "address_2": null, // null if not approved for read_customer_address "zip": null, // null if not approved for read_customer_address "phone": null // null if not approved for read_customer_phone [other address fields exempt] } }非PII数据事件将继续正常触发。您的分析、转化跟踪和非PII用例不会受到影响。
您需要做什么
- 审查并请求访问权限。 确保您已获得所需受保护作用域的批准,请参阅受保护客户数据政策。您应仅请求您的应用所使用的作用域。
- 更新代码路径。 在不破坏事件处理或分析管道的情况下,对受限字段处理空值。
- 跨界面进行测试。 验证商店前台、结账流程和客户账户上的行为,预计不会出现停机时间。
此变更将于2025年12月10日生效。如果您需要继续访问这些值,我们建议您尽快提交受保护客户数据审查请求。
如果您的应用已获得受保护客户数据的批准,或能够妥善处理空值,则无需采取任何操作。如果您对此变更有任何疑问,请在 Developer Community 论坛的此帖子中留言。

