Sensor Injection

To embed Code Defender on a website, the PX snippet should be embedded as early as possible in the page's script load order. It's recommended that the snippet is included inside the <head> tag.

The snippet loads Bot Defender, which then injects the Sensor.

Code Defender can be loaded as a standalone script (without Bot Defender loading first). This can be configured by the team on demand.