Description
ShareThis Privacy Policy Generator creates a compliance-friendly privacy policy you can publish on any WordPress page in minutes. Answer a short set of questions about what your site collects and which compliance regimes apply (GDPR, CCPA, COPPA, Nevada), then embed the generated policy with a shortcode, PHP snippet, or Gutenberg block.
Features
- Live preview while you edit
- Embed via shortcode, PHP snippet, or block
- GDPR, CCPA, COPPA, and Nevada privacy sections
- Downloadable PDF copy
- Cached rendering — one network call per save, not per pageview
- Mobile-friendly default styles
How it works
The plugin sends your structured answers (company name, collected fields, compliance toggles, contact info) to the ShareThis platform, which returns the generated privacy policy. The result is cached locally so site visitors are served the policy directly from WordPress.
Connecting to ShareThis is opt-in. After activation an admin notice asks you to review and accept ShareThis’s privacy policy and terms of use. Nothing is sent to ShareThis until you click “I accept”.
External services
To generate your privacy policy, this plugin connects to the ShareThis platform (platform-api.sharethis.com), the service behind the plugin. The policy text and PDF are produced by ShareThis from the answers you provide, so the plugin communicates with ShareThis’s servers rather than generating everything locally.
Connecting is opt-in — nothing is sent until you accept the consent notice. Once you opt in, the following is shared with ShareThis:
- The details you enter to build the policy: your company name, contact information, and the data-collection and compliance options you select.
- Your site domain and WordPress admin email, used to set up your policy on the ShareThis platform.
If you embed the policy using the JavaScript mode, a ShareThis script also runs in your visitors’ browsers; the default static embed does not.
Your use of the ShareThis platform is governed by these terms — please review them before opting in:
- Privacy policy: https://sharethis.com/privacy/
- Terms of use: https://sharethis.com/publisher-terms-of-use/
Screenshots





Blocks
This plugin provides 1 block.
- Privacy Policy
Installation
- Upload the plugin folder to
/wp-content/plugins/(or install through the WordPress plugin directory). - Activate the plugin.
- Visit Privacy Policy in the admin sidebar.
- Review the consent notice and click I accept to connect to the ShareThis platform.
- Fill out the form, save, and embed using the shortcode
[sharethis-privacy-policy].
FAQ
-
Does this replace legal advice?
-
No. The generator helps you produce a draft policy based on common patterns. Have an attorney review it before publishing.
-
Where is the generated HTML stored?
-
In a WordPress transient (
sharethis_ppg_html). It is refreshed whenever you save the settings, or you can flush it via the REST endpoint. -
Can I render with JavaScript instead of static HTML?
-
Yes:
[sharethis-privacy-policy mode="js"]loads the ShareThis ppg.js loader and injects the policy client-side. The default is server-rendered HTML for SEO.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“ShareThis Privacy Policy Generator” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “ShareThis Privacy Policy Generator” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
