Custom Code & Any Website
Protect any website, custom PHP/Node/Python application, Shopify store, Webflow, or static HTML landing page.
How to Integrate:
- Add and verify your domain under Dashboard > Domains.
- In Create Filter, select Custom Code.
- Configure your targeting rules (allowed countries, device types, ThreatGuard shield).
- Copy your unique shield script:
<!-- TrafficDam Shield -->
<script src="https://trafficdam.com/f/{YOUR_SITE_UUID}?format=js" async></script>
Recommendation: Place the script as high in your <head> element as possible, above your ad network tags. Invalid sessions are redirected away before ad impressions fire, protecting your publisher accounts.