Deploy Sovereign Core
in minutes.
Two deployment models. Choose the one that fits your infrastructure. Choose your integration method below — GTM requires only a tag container, no code. The API method connects directly to your stack for full control. Both methods work across all Sovereign Core packages: Starter, Growth, Commerce, and Enterprise.
/* GTM Tag: Consent Mode Default */ /* Trigger: Consent Initialization - All Pages */ <script> window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtag('consent', 'default', { 'analytics_storage': 'denied', 'ad_storage': 'denied', 'ad_user_data': 'denied', 'ad_personalization': 'denied', 'wait_for_update': 500 }); </script>
/* GTM Tag: Sovereign Lite — Signal */ /* Trigger: All Pages */ <script> function sendSovereignSignal(consent) { fetch("https://sovereign.smyrnaandsable.com/gtm/signal", { method: "POST", headers: {"Content-Type": "application/json"}, body: JSON.stringify({ consent: consent, page: window.location.pathname, event: "pageview", scroll_depth: 0, time_on_page: 0, exit_point: document.referrer || "direct" }) }).catch(function(e) {}); } // Check consent status and send signal var consentStatus = document.cookie.indexOf('consent_status=granted') !== -1; sendSovereignSignal(consentStatus); </script>
/* GTM Tag: Consent Mode — Accept */ /* Trigger: Custom Event → consent_granted */ <script> gtag('consent', 'update', { 'analytics_storage': 'granted', 'ad_storage': 'granted', 'ad_user_data': 'granted', 'ad_personalization': 'granted' }); </script>
/* GTM Tag: Consent Mode — Decline */ /* Trigger: Custom Event → consent_decline */ <script> gtag('consent', 'update', { 'analytics_storage': 'denied', 'ad_storage': 'denied', 'ad_user_data': 'denied', 'ad_personalization': 'denied' }); </script>
{
"status": "valid",
"client": "YourOrganization",
"tier": "pro",
"expires_at": "2026-08-01T00:00:00"
}Authorization: Bearer YOUR_API_KEY Content-Type: application/json
{
"user_agent": "Mozilla/5.0 (visitor's user agent)",
"page": "/products/item-1",
"headers": {
"accept": "text/html,application/xhtml+xml",
"accept-language": "nl-BE,nl;q=0.9"
}
}{
"sovereign_pro": "v1",
"analysis": {
"is_bot": false,
"classification": "human",
"risk_score": 8,
"risk_signals": [],
"action": "allow"
},
"gdpr": {
"data_stays_in_eu": true,
"no_pii_processed": true,
"zero_knowledge": true
},
"timestamp": "2026-06-11T09:00:00"
}action field to decide what to do with each request.
# Python example response = requests.post( "https://sovereign.smyrnaandsable.com/api/v1/analyze", headers={"Authorization": "Bearer YOUR_KEY"}, json={ "user_agent": request.headers.get("User-Agent"), "page": request.path, "headers": dict(request.headers) } ) result = response.json() if result["analysis"]["action"] == "block": # Bot detected — block or redirect return Response("Access denied", status=403) else: # Human — proceed normally return serve_page()
/* Minimum product data structure */ { "id": "PROD-001", "name": "Product Name", "stock": 12, "capacity": 50, "margin_pct": 45, "price": 18.50, "season": ["all"] }
/* Thresholds */
Out of stock (0%) → REMOVE_FROM_CAMPAIGNS
Critical (< 10%) → STOP_CAMPAIGNS
Low (< 30%) → SLOW_DOWN
Normal (30-70%) → CONTINUE
High (> 70%) → ACCELERATE1. A Google Ads Manager Account (MCC) — standard advertiser accounts do not have API access. Create one at ads.google.com/home/tools/manager-accounts and link your existing account under it.
2. A Developer Token — applied for via Tools & Settings → API Center inside your Manager Account. Test Account level is approved immediately. Production level requires Google review (typically 1-2 weeks).
3. OAuth 2.0 credentials — a Client ID and Client Secret from Google Cloud Console (APIs & Services → Credentials → OAuth Client ID). Desktop app type is recommended for initial setup.
4. A Refresh Token — generated once through the OAuth flow using your credentials. Permanent thereafter.
/* What MAY flow to your ad platform (opt-in, aggregate only) */ { "signal_type": "aggregate_cohort_pattern", "explorer_pct": 38, // % of non-consenting visitors showing high engagement "bouncer_pct": 45, // % showing low engagement "period": "weekly", "no_individual_data": true, "gdpr_compliant": true } /* What NEVER leaves Sovereign Core */ - Raw behavioral signals - Individual visitor patterns - Session hashes - Any data that could identify a person
Insight Only (default): Sovereign Core reads nothing automatically and writes nothing. It generates recommendations in plain language — your team reviews them and makes changes manually, on your own timeline, through your own normal campaign management process.
Aggregate Signal (opt-in): Even when enabled, this shares only anonymous pattern data into Google's own modelling tools — it does not pause campaigns, does not change budgets, and does not take any direct action inside your Ads account without your team's involvement.