Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.
JavaScript agent-skillsai-agentsai-seoclaudeclaude-codeclaude-code-pluginclaude-skillscodexcontent-marketingconversion-rate-optimizationcopywritingcursoremail-marketinggenerative-engine-optimizationgrowth-marketingmarketingmarketing-automationsaas-marketingseoskill-md
fix: correct Adobe Analytics missing header and Clearbit auth method
Corey Haines8ce007c983c0
diff --git a/tools/clis/adobe-analytics.js b/tools/clis/adobe-analytics.jsindex 66149a5..a3a19bc 100755--- a/tools/clis/adobe-analytics.js+++ b/tools/clis/adobe-analytics.js@@ -13,13 +13,14 @@ const BASE_URL = `https://analytics.adobe.io/api/${COMPANY_ID}`async function api(method, path, body) {if (args['dry-run']) {- return { _dry_run: true, method, url: `${BASE_URL}${path}`, headers: { 'Authorization': '***', 'x-api-key': '***', 'Content-Type': 'application/json' }, body: body || undefined }+ return { _dry_run: true, method, url: `${BASE_URL}${path}`, headers: { 'Authorization': '***', 'x-api-key': '***', 'x-proxy-global-company-id': COMPANY_ID, 'Content-Type': 'application/json' }, body: body || undefined }}const res = await fetch(`${BASE_URL}${path}`, {method,headers: {'Authorization': `Bearer ${ACCESS_TOKEN}`,'x-api-key': CLIENT_ID,+ 'x-proxy-global-company-id': COMPANY_ID,'Content-Type': 'application/json',},body: body ? JSON.stringify(body) : undefined,diff --git a/tools/clis/clearbit.js b/tools/clis/clearbit.jsindex 2f1206b..e0e9683 100755--- a/tools/clis/clearbit.js+++ b/tools/clis/clearbit.js@@ -8,13 +8,14 @@ if (!API_KEY) {}async function api(method, baseUrl, path, body) {+ const auth = 'Basic ' + Buffer.from(`${API_KEY}:`).toString('base64')if (args['dry-run']) {return { _dry_run: true, method, url: `${baseUrl}${path}`, headers: { 'Authorization': '***', 'Content-Type': 'application/json', 'Accept': 'application/json' }, body: body || undefined }}const res = await fetch(`${baseUrl}${path}`, {method,headers: {- 'Authorization': `Bearer ${API_KEY}`,+ 'Authorization': auth,'Content-Type': 'application/json','Accept': 'application/json',},