facebookincubator / Facebook-Pixel-for-Wordpress

A plugin for advertisers who use Wordpress to enable them easily setup the facebook pixel.
GNU General Public License v2.0
37 stars 34 forks source link

WooCommer Thank You page has key query string params which Facebook is marking as violating #27

Open gfrileux opened 2 years ago

gfrileux commented 2 years ago

Hi, We're using the latest version of both WooCommerce (Version 5.9.0) and Facebook pixel (Version 2.6.7). On WooCommerce, the Order Confirmation page always contains a key query string parameter which contains a random string, which avoids users reloading old Order Thank You pages. It looks a bit like this ?key=hi1u31_1233h The problem we have is that Facebook is marking this as "violating data":

We detected potentially violating health data in 2 events that may not comply with our terms and policies.

Compliant data protects your users and keeps their information usable and beneficial for your business. To make sure that you send us compliant data in the future, review our health data requirements.

To protect the privacy of your users, we haven't stored this data in our ad systems and you won't be able to view or use it. This may affect the performance of any ads optimising on the affected events, including those in Custom Audiences or custom conversions.

Event           Location
Purchase    URL query parameter:key

The problem is that we cannot change WooCommerce to remove this query string parameter, nor can we change the FB pixel which sends the entire URL back to Facebook.

So what can be done ?