How to block cookies and trackers with JavaScript rewrite
This guide explains you how to block cookies and plugins with Secure Privacy using Javascript rewrite.
To block cookies and trackers you need to change the attributes of the script tags on your website. Follow these steps to change the attributes.
- Apply the attribute sp-consent="PLUGIN NAME" to the script/image tags on your website. Depending on where you have installed the plugins, this may be inside a module, plugin or directly on your website. Make sure that you write the exact plugin name, which appears on your Scan Report.
- On script tags change the attribute 'type' from 'text/javascript' to 'text/plain'.
- If you are using a pixel tracker (image trackers), then change the attribute “src” from “src” to “data-src”.
Here is an example of how it would look after you have modified a Google Analytics script.
Normal script tags look like this:
<script type="text/javascript"> code…
</script>
Using script type re-writing, you need to change the scripts to:
<script type="text/plain" sp-consent="Google Analytics"> code…
</script>

SOC 2 Compliance: What It Is, Why It Matters, and How Secure Privacy Achieved It
Imagine your enterprise prospect just asked for your SOC 2 report. Your partner agreement requires proof of security controls. Your biggest opportunity this quarter hinges on demonstrating that your platform protects customer data to audited standards.
- Legal & News
- Data Protection

How to Add GDPR to Website: Complete Implementation Guide
Your website collects visitor data every day — email addresses from newsletter signups, location data from analytics, behavioral tracking from ad pixels. If any of those visitors come from the European Union, you're subject to GDPR whether you realize it or not.
- Legal & News
- Data Protection

Systems Inventory & Data Mapping for Privacy Compliance
Organizations using multiple applications and IT systems need to track how personal data moves through their technology infrastructure. Systems module privacy software helps Data Protection Officers and privacy teams document every system that processes personal data. It also tracks compliance status across the entire technology ecosystem.
- Legal & News
- Data Protection