portaly-analytics
Installation
SKILL.md
Portaly Analytics Integration
Use this skill to help a Portaly creator install Google Analytics 4 on their website and connect it to Portaly. Keep answers operational: prefer step lists, code snippets, and copy-ready examples over long architecture explanations.
Quick Start
- First, ask the human user what they want to accomplish:
- Install GA4 on my website → Part A (steps 1–5)
- Connect GA to Portaly dashboard → Part B (step 6)
- Both → Part A + Part B (steps 1–6)
- Confirm what the human user is trying to build. Ask about their tech stack (Next.js / React / vanilla HTML) and whether they have an existing GA4 Property.
- Guide through GA4 setup and event tracking installation.
- If the user wants to see analytics in Portaly, guide through the Portaly authorization flow.
- Start with
references/ga4-setup-guide.mdfor installation instructions. - Return implementation-ready output. Prefer numbered steps, code samples, and copy-ready configuration.