GPC Detection
A plugin to detect and handle Global Privacy Control (GPC) signals.
by Angelo Marasa · github.com/amarasa/gpc-detection · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/amarasa/gpc-detection/archive/refs/heads/main.zipFrom the readme
GPC Detection
A WordPress plugin to detect and handle Global Privacy Control (GPC) signals. This plugin allows site administrators to block Google Analytics and Facebook Pixel based on the user's GPC preferences.
Description
This plugin provides a settings page where administrators can choose to block Google Analytics and/or Facebook Pixel tracking scripts if the user's browser sends a GPC signal. The plugin uses JavaScript to dynamically block these scripts based on the configured settings.
Installation
1. Download the Plugin:
- Clone the repository or download the ZIP file.
2. Upload to WordPress:
- Upload the plugin files to the /wp-content/plugins/gpc-detection directory, or install the plugin through the WordPress plugins screen directly.
3. Activate the Plugin:
- Activate the plugin through the 'Plugins' screen in WordPress.
4. Configure the Settings:
- Navigate to Settings GPC Detection to configure the plugin.
Usage
Settings Page
The settings page provides options to block Google Analytics and Facebook Pixel tracking scripts:
- Block Google Analytics: Toggle this setting to enable or disable blocking of Google Analytics.
- Block Facebook
Read the full README on GitHub →
Releases
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.