PostHog/posthog

Add `page` function to all libraries

Chiusa

#635 aperta il 21 apr 2020

 (15 commenti) (0 reazioni) (0 assegnatari)Python (988 fork)batch import
enhancementfeature/ingestionfeature/librariesgood first issue

Metriche repository

Star
 (16.704 stelle)
Metriche merge PR
 (Merge medio 17h 29m) (995 PR mergiate in 30 g)

Descrizione

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!

Guida contributor