interplane.Get Omega
Read in your language

sovereign-intelligence

Front door to Drake Stapleton's sovereign stack.

Brought by drakestapleton

branch main Branches Tags History

sovereign-intelligence / docs / archive / drakestapleton.com-old / ops / GOOGLE_ADS_ACQUISITION.md

88 lines · 4576 bytes Raw Blame History Source

Google Ads Acquisition and Conversion Tracking Playbook

This document defines the acquisition architecture, Google Tag configuration, conversion actions, and campaign structure for driving developer, researcher, and operator traffic to drakestapleton.com and open-source repositories (aien-dev/aien-sovereign-core, aien-dev/benchmarks, aien-dev/openclaw-rs).


1. Core Architecture

Google Ads cannot directly track downstream conversions (stars, forks, clones) on github.com due to GitHub third-party script isolation. Traffic is therefore driven to dedicated high-context routes on drakestapleton.com before routing outward.

+--------------------------+
| Google Ads (Search/PMax) |
+--------------------------+
             |
             v
+--------------------------------------------------------+
| Landing Pages (drakestapleton.com/aien, /research)     |
| - Pre-rendered semantic HTML with verified benchmarks  |
| - Google Tag (gtag.js) instrumentation                 |
| - CSP-compliant event telemetry                        |
+--------------------------------------------------------+
             |
             +------------------------------+
             |                              |
             v                              v
+--------------------------+  +--------------------------+
| Outbound GitHub Action   |  | Interest Form Conversion |
| - repo_outbound_click    |  | - generate_lead          |
| - github.com/aien-dev/*  |  | - /interest?received=1   |
+--------------------------+  +--------------------------+

2. Google Tag and CSP Directives

The production frontend enforces strict Content Security Policy headers in index.html. Google Tag integration permits:

Environment Injection

The build step supports dynamic Google Tag injection via GOOGLE_ADS_ID or VITE_GOOGLE_ADS_ID (e.g. AW-XXXXXXXXXX or G-XXXXXXXXXX). When omitted, the client runtime exposes an active window.dataLayer and fallback gtag queue, ensuring zero JavaScript runtime failures.


3. Campaign Structure and Intent Targeting

Campaign 2: Research & Collaboration (Search / Display)

Negative Keywords (Shared List)


4. Tracked Conversion Events

Event NameTriggerTarget PayloadPurpose
repo_outbound_clickClick on any GitHub repository linkrepo_name, destination_urlMeasures developer intent to inspect source code
generate_leadSubmission of /interest conversation formevent_category: leadPrimary high-intent partnership conversion
conversionArrival at /interest?received=1Google Ads conversion action labelGoogle Ads bidding algorithm optimization signal

5. UTM Tracking Standard

All paid campaigns must append standardized query parameters:

https://www.drakestapleton.com/aien?utm_source=google&utm_medium=cpc&utm_campaign={campaign_name}&utm_content={ad_id}&utm_term={keyword}