Skip to content

Instantly share code, notes, and snippets.

@flivni
flivni / posthog-schema.md
Created April 1, 2026 01:17
Schedulista PostHog Analytics Schema

PostHog Analytics Schema

Integration Overview

  • PostHog Project Key: phc_tUr6ru3ra8xvPyYhrpqkPxzdKWESzutzwQarijsvepXH
  • API Host: https://us.i.posthog.com
  • Environment: Production only
  • EU Exclusion: Uses geojs.io to detect user country; PostHog is not loaded for EU/EEA/UK users (GDPR). Country is cached in localStorage.
  • Safe wrapper: All event capture calls use posthogCapture() which no-ops if PostHog is not loaded.
class Foo
def bar
yield
puts 'after yield'
end
end
class ExecuteFoo
def initialize
@foo = Foo.new