affitor/agent-skills/signup-tracking

Claude Code and agent skill by affitor/agent-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Track user signups for affiliate attribution via browser helper or server-side lead API. Triggers on "track signups", "lead tracking", "affiliate signup".

Install

npx vskill@latest install affitor/agent-skills/signup-tracking

SKILL.md

The same SKILL.md was published earlier as affitor/agent-skills/signup-tracking.

Signup Tracking

After a user registers, notify Affitor so the signup is linked to the referring affiliate partner.

Browser-Side (requires tracker script)

javascript
// Call after signup succeeds
await window.affitor.signup(user.id, user.email);

With the npm SDK:

ts
import { loadAffitor } from '@affitor/tracker';
const affitor = await loadAffitor('YOUR_PROGRAM_ID');
await affitor?.signup(user.id, user.email);

Server-Side (Lead API)

bash
POST https://api.affitor.com/api/v1/track/lead
Authorization: Bearer YOUR_PROGRAM_API_KEY
Content-Type: application/json
{
"customer_key": "user_123",
"email": "user@example.com",
"click_id": "from_affitor_click_id_cookie"
}
Node.js
ts
await fetch('https://api.affitor.com/api/v1/track/lead', {
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.AFFITOR_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
customer_key: newUser.id,
email: newUser.email,
click_id: req.cookies.affitor_click_id,
}),
});
Python
python
requests.post(
'https://api.affitor.com/api/v1/track/lead',
headers={
'Authorization': f'Bearer {AFFITOR_API_KEY}',
'Content-Type': 'application/json',
},
json={
'customer_key': str(new_user.id),
'email': new_user.email,
'click_id': request.cookies.get('affitor_click_id'),
},
)

Rules

  • Provide at least one of click_id or customer_key
  • The customer_key must be your internal user ID, reused later in sale tracking
  • Browser-side signup() is simplest when the tracker is already on the page

Test

bash
npx affitor test lead

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/affitor/agent-skills/signup-tracking/badge)](https://verified-skill.com/skills/affitor/agent-skills/signup-tracking)

Something wrong with this skill or its page? Tell us.