Pro Features
The following features are visible in the free UI with a PRO badge but non-functional until a Pro license is active (define('OCI_PRO', true)).
Export All / Import
Export all snippets as a single .json bundle. Import a single snippet or a bundle — imported with new UUIDs, saved as inactive.
Device Conditions
| Value | Target |
|---|---|
all | All devices (default) |
mobile | Mobile and tablet (HTTP_USER_AGENT) |
desktop | Desktop browsers |
Date Scheduling
Set a start and/or end date per snippet. Useful for campaign pixels or seasonal banners.
Revision History
Keeps the last 5 saved versions of each snippet's code. View diffs and restore any previous version. Preserved across duplicates.
Snippet Library
Pre-configured snippets ready to import:
| Snippet | Type | Location |
|---|---|---|
| Google Analytics 4 | JS | Head |
| Google Tag Manager | JS | Head |
| Meta Pixel (Facebook) | JS | Head |
| Hotjar | JS | Head |
| Intercom | JS | Footer |
| Crisp Chat | JS | Footer |
| Cloudflare Web Analytics | JS | Footer |
| Custom CSS Reset | CSS | Head |
WP-CLI (Pro)
bashwp oci list # List all snippets
wp oci list --status=active # Active only
wp oci toggle <snippet-id> # Toggle on/off
wp oci disable-all # Disable all snippets
wp oci safe-mode on # Enable safe mode
wp oci export --file=out.json # Export all
wp oci import --file=out.json # Import from file