PostHog/posthog

Add `page` function to all libraries

Open

#635 opened on Apr 21, 2020

View on GitHub
 (15 comments) (0 reactions) (0 assignees)Python (16,704 stars) (988 forks)batch import
enhancementfeature/ingestionfeature/librariesgood first issue

Description

Is your feature request related to a problem? Please describe. I want to easily be able to capture pageviews. At the moment, in all libraries I need to do posthog.capture('$pageview', {'$current_url': 'https://...'}).

Describe the solution you'd like I want to be able to do posthog.page('https://...')

Additional context

  • JS
  • Python
  • Node
  • Ruby
  • PHP
  • Go

Thank you for your feature request - we love each and every one!

Contributor guide