# PostHog post-wizard report
The wizard has completed a full client-side PostHog integration for the Warsaw Tactical Jekyll site. PostHog JS is now initialised on every page, and five business-critical events are captured across the core conversion and engagement surfaces.
## Changes made
| File | Change |
|------|--------|
| `_config.yml` | Added `posthog_token` and `posthog_host` site variables |
| `_includes/head.html` | Added PostHog JS snippet, initialised with `phc_qqQecBy6bKs8mZ8WMzVCuHKqopwZQsxQ7Ymb9hDrS7aP` and `https://eu.i.posthog.com` |
| `js/courses.js` | Added `posthog.capture('click_apply_course', …)` alongside existing `gtag` call |
| `_layouts/default.html` | Added inline script to capture `click_floating_cta` on the yellow CTA button |
| `_includes/geo-bar.html` | Added `click_geo_bar_pl` on Polish CTA link and `geo_bar_dismissed` on dismiss button |
| `_includes/footer.html` | Added `click_contact_email` on the footer email link |
| `.env` | Created with `POSTHOG_PROJECT_TOKEN` and `POSTHOG_HOST` (gitignored) |
## Events instrumented
| Event | Description | File |
|-------|-------------|------|
| `click_apply_course` | Apply button clicked on a course date. Properties: `course_name`, `course_date`, `course_status`. | `js/courses.js` |
| `click_floating_cta` | Floating "Questions? Email us" CTA clicked (appears on all pages). | `_layouts/default.html` |
| `click_geo_bar_pl` | Polish visitor clicks the "Oferta po polsku" link in the geo-detection bar. | `_includes/geo-bar.html` |
| `geo_bar_dismissed` | Polish visitor dismisses the geo-detection bar without clicking the CTA. | `_includes/geo-bar.html` |
| `click_contact_email` | Footer contact email link clicked. Property: `location: "footer"`. | `_includes/footer.html` |
## Next steps
We've built a dashboard and five insights to keep an eye on user behaviour:
- [Analytics basics dashboard](/dashboard/682686)
- [Course application clicks over time](/insights/ah1aHspQ) — weekly trend of Apply button clicks
- [Apply clicks by course](/insights/KZBWwyYW) — bar chart breaking down interest per course
- [All contact CTAs over time](/insights/X2G3NIT3) — floating CTA + footer email combined trend
- [Geo-bar: Polish CTA clicks vs dismissals](/insights/hAH6m98X) — localization engagement signal
- [Total engagement actions (last 30 days)](/insights/T5e4IFLW) — summary table of all high-intent actions
### Agent skill
We've left an agent skill folder in your project at `.claude/skills/integration-ruby/`. You can use this context for further agent development when using Claude Code. This will help ensure the model provides the most up-to-date approaches for integrating PostHog.