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 Rendered
1# Google Ads Acquisition and Conversion Tracking Playbook
2
3This 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`).
4
5---
6
7## 1. Core Architecture
8
9Google 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.
10
11```
12+--------------------------+
13| Google Ads (Search/PMax) |
14+--------------------------+
15 |
16 v
17+--------------------------------------------------------+
18| Landing Pages (drakestapleton.com/aien, /research) |
19| - Pre-rendered semantic HTML with verified benchmarks |
20| - Google Tag (gtag.js) instrumentation |
21| - CSP-compliant event telemetry |
22+--------------------------------------------------------+
23 |
24 +------------------------------+
25 | |
26 v v
27+--------------------------+ +--------------------------+
28| Outbound GitHub Action | | Interest Form Conversion |
29| - repo_outbound_click | | - generate_lead |
30| - github.com/aien-dev/* | | - /interest?received=1 |
31+--------------------------+ +--------------------------+
32```
33
34---
35
36## 2. Google Tag and CSP Directives
37
38The production frontend enforces strict Content Security Policy headers in `index.html`. Google Tag integration permits:
39
40- `script-src`: `self unsafe-inline https://www.googletagmanager.com`
41- `connect-src`: `self https://www.google-analytics.com https://region1.google-analytics.com https://www.googletagmanager.com https://googleads.g.doubleclick.net https://pagead2.googlesyndication.com`
42- `img-src`: `self data: https://i.ytimg.com https://www.google-analytics.com https://www.googletagmanager.com https://googleads.g.doubleclick.net https://www.google.com https://www.google.co.uk`
43- `frame-src`: `self https://bid.g.doubleclick.net`
44
45### Environment Injection
46
47The 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.
48
49---
50
51## 3. Campaign Structure and Intent Targeting
52
53### Campaign 1: Systems & ML Inference (Search)
54- **Target URL**: `https://www.drakestapleton.com/aien?utm_source=google&utm_medium=cpc&utm_campaign=search_aien_inference`
55- **Secondary Target**: `https://www.drakestapleton.com/research?utm_source=google&utm_medium=cpc&utm_campaign=search_research_whitepaper`
56- **Ad Groups**:
57 - `Rust LLM Engine`: "rust llm runtime", "modular max inference", "dgx spark llm", "low latency llm engine"
58 - `Sovereign AI Stack`: "local ai inference stack", "private llm infrastructure", "on premise ai agent runtime"
59 - `Hardware Performance`: "gb10 benchmarks", "unified memory llm", "zero copy sequence branching"
60
61### Campaign 2: Research & Collaboration (Search / Display)
62- **Target URL**: `https://www.drakestapleton.com/interest?utm_source=google&utm_medium=cpc&utm_campaign=search_research_collab`
63- **Ad Groups**:
64 - `Research Partnerships`: "ai systems research", "autonomous agent architectures", "distributed ai engineering"
65
66### Negative Keywords (Shared List)
67- Filter non-technical, consumer, and employment traffic:
68 - `course`, `tutorial`, `salary`, `jobs`, `hiring`, `free download`, `chatgpt login`, `resume`
69
70---
71
72## 4. Tracked Conversion Events
73
74| Event Name | Trigger | Target Payload | Purpose |
75| :--- | :--- | :--- | :--- |
76| `repo_outbound_click` | Click on any GitHub repository link | `repo_name`, `destination_url` | Measures developer intent to inspect source code |
77| `generate_lead` | Submission of `/interest` conversation form | `event_category: lead` | Primary high-intent partnership conversion |
78| `conversion` | Arrival at `/interest?received=1` | Google Ads conversion action label | Google Ads bidding algorithm optimization signal |
79
80---
81
82## 5. UTM Tracking Standard
83
84All paid campaigns must append standardized query parameters:
85
86```
87https://www.drakestapleton.com/aien?utm_source=google&utm_medium=cpc&utm_campaign={campaign_name}&utm_content={ad_id}&utm_term={keyword}
88```