- 26 Feb 2023
- Updated on 26 Feb 2023
The third-party snippet serves the sensor and manages server communication from the PerimeterX domain. Insert the snippet on all pages you want to protect.
See our Getting Started guide for 3rd-Party JS Snippet Integration for more details.
The first party mechanism is a way for serving PerimeterX's JS sensor and for sending activities using your domain (1st party) rather than our own domains (3rd party).
1st party is needed since 3rd party scripts and XHR request can get blocked either by network policy or privacy tools (like ad blockers)- we see more and more privacy tools targeting 3rd party scripts.
The first party mechanism uses the enforcer as a proxy, taking advantage of the fact that the enforcer runs on your server. The enforcer uses predefined reserved routes for first party.
See our Getting Started guide for 1st-Party JS Snippet Integration for more details.