You've sent potentially violating personal data to Meta: what to do

Written by

Liudmyla Kharchenko

Updated Apr 14, 2025 comments

What does “Potentially violating personal data sent to Meta” alert mean?

Quick solution

Alternative solution: change the URL for server-side events

1. Stop web events from running on pages with PII

  1. 1.
  2. 2.
  3. 3.
  4. 4.
  5. 5.
  6. 6.
  1. 1.
  2. 2.
  3. 3.
  4. 4.
  5. 5.
  1. 1.
  2. 2.
  3. 3.

2. Change the URL for server-side events

Step 1: Create a Custom JavaScript Variable in web GTM

function() {     var url = {{Page URL}};  // This is the page URL captured by the event     var cleanUrl = url.split("?")[0];  // Removes query parameters (everything after '?')     return cleanUrl; }

Step 2: Use the Cleaned URL in Facebook Server-Side Tag

  1. 1.
  2. 2.
  3. 3.
  4. 4.
  5. 5.

Step 3: Publish and test

  1. 1.
  2. 2.
  3. 3.

Final result:

Conclusion

Want to start using server-side tags?

Stape has lots of options! Click on Try for free to register and check all the benefits.

Try for free

Written by

Liudmyla Kharchenko

Content writer

Liuda is a Content Manager at Stape, writing about server-side tracking and tech that simplifies work. She helps businesses improve data accuracy, find the right customers, and build connections.

Was this article helpful?

Comments

Recommended for you

Turn better tracking into better marketing performance

Try for free