# ae-migrate-tracking-code

ae-migrate-tracking-code moves existing Firebase, Amplitude, Mixpanel, Sensors Data, or GA4 tracking calls to the AE SDK. Choose a full switch or keep the old SDK and send events to both.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 401 installs · ★ 23 repo stars
- Author: ThinkingAIAgenticEngine
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ThinkingAIAgenticEngine/ae-cli/tree/HEAD/skills/ae-migrate-tracking-code/SKILL.md
- Updated: 2026-11-06
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/ae-migrate-tracking-code

## What it does

The skill scans project code for calls to supported analytics SDKs and guides their move to AE. Providers include Firebase Analytics, Amplitude, Sensors Data, Mixpanel, and Google Analytics 4, with a separate adapter for each. You can replace the existing calls or add AE tracking beside them.

Plan creation is handed to `ae-generate-tracking-plan`; code insertion goes to `ae-generate-tracking-code`. The skill needs existing tracking code in the project, not just product descriptions. Historical data imports into AE fall outside its scope, so old records require a separate migration process.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add ThinkingAIAgenticEngine/ae-cli --skill ae-migrate-tracking-code -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/ae-migrate-tracking-code/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/ae-migrate-tracking-code/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add ThinkingAIAgenticEngine/ae-cli --skill ae-migrate-tracking-code -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/ae-migrate-tracking-code/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add ThinkingAIAgenticEngine/ae-cli --skill ae-migrate-tracking-code -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/ae-migrate-tracking-code/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install ThinkingAIAgenticEngine/ae-cli skills/ae-migrate-tracking-code
```

2. **Manually: put the files in place**
- File: `.github/skills/ae-migrate-tracking-code/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add ThinkingAIAgenticEngine/ae-cli --skill ae-migrate-tracking-code -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/ThinkingAIAgenticEngine/ae-cli --path skills/ae-migrate-tracking-code
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/ae-migrate-tracking-code/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add ThinkingAIAgenticEngine/ae-cli --skill ae-migrate-tracking-code -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ThinkingAIAgenticEngine/ae-cli/tree/HEAD/skills/ae-migrate-tracking-code/SKILL.md

## When to use it
- move Firebase Analytics calls to the AE SDK
- replace Amplitude event calls with AE tracking
- send events to AE while retaining the current SDK
- map existing analytics calls into a tracking plan

## Example prompts
- Move the project's existing Firebase Analytics events to the AE SDK.
- Add AE event tracking alongside Mixpanel.
- Find GA4 calls in the project and prepare their migration to AE.

## Similar
- [ad-conversion-tracking](https://affpapa.org/en/nevibecode/skills/ad-conversion-tracking.md) — skill · 26700 installs
- [conversion-tracking](https://affpapa.org/en/nevibecode/skills/conversion-tracking.md) — skill · 14700 installs
- [migrate-to-shoehorn](https://affpapa.org/en/nevibecode/skills/migrate-to-shoehorn.md) — skill · 475388 installs
- [ads-server-side-tracking](https://affpapa.org/en/nevibecode/skills/ads-server-side-tracking.md) — skill · 3700 installs
- [compliance-tracking](https://affpapa.org/en/nevibecode/skills/compliance-tracking.md) — skill · 3100 installs
- [competitor-tracking](https://affpapa.org/en/nevibecode/skills/competitor-tracking.md) — skill · 2700 installs

From the same set: [thinkingaiagenticengine/ae-cli](https://affpapa.org/en/nevibecode/by/thinkingaiagenticengine/ae-cli.md) — 25 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
