AI Blocks › Track your numbers
First-party tracking pixel builder
Answer a few questions about your site. Get a tracking script and database that keep your visit data in your own hands.
First-party tracking pixel builder is a free AI skill for the job "Track your numbers". Give the instructions to an AI assistant that supports the required files and tools, then review its output.
Free · No account · MIT licence · Made by wizard7558 · Level: expert · Thinking: high
Made by wizard7558. See the original on GitHub; we copied it as it is, with its licence.
What it does
Your site gets its own tracking script, a collector that receives the events, and a Postgres database you control. Visit data, page clicks, campaign tags and conversions stay in your hands instead of a third party's. Before building anything, it asks one set of questions: which platforms you already use, where you host, and how you handle consent. It saves your answers to a config file and shows it back for approval. Then it builds the pixel, the endpoint and the tables for raw clickstream, an identity graph and conversion events. It does not replace ad-platform pixels, and it skips mobile apps. You need hosting and a database account.
You give it
- Platforms and hosting you already use
- Your website address
- Consent and privacy rules you follow
- Events you want to record
- Existing analytics tools (optional)
- Codebase (optional)
You get
- Tracking script for your site
- Event collector endpoint
- Postgres tables for visits, identities and conversions
- Config file listing your choices
- Setup steps for your hosting
Use it when
- You want to own your analytics data instead of sending it all to GA4.
- You need campaign tags and click IDs saved with each visit.
- You want to link anonymous visits to known customers in your own database.
- You need tracking that respects consent choices.
How to use it
- Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
- Ask for the job in your own words. Your AI opens the skill when it fits.
- It works best when your AI can run code, and use your own hosting and Postgres database accounts.