PostHog is a product analytics suite that you can host yourself and is offered as SaaS. You might need support on deploying it to your infrastructure with Kubernetes or Docker, with integrating to it from one of its SDKs or third-party integrations, or with using it to analyse your data
Questions tagged [posthog]
18 questions
5
votes
0 answers
Failed to establish a new connection Errno 111 Connection Refused?
I am trying to get the web, db and redis services running via docker compose but my web container keeps going down. And on inspecting the logs, i see :- urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='localhost', port=8443): Max retries…

Somethingwhatever
- 1,390
- 4
- 32
- 58
4
votes
1 answer
Checking if posthog has been initialized
Is there a legit way to check if Posthog has been initialised somewhere in the app?
My NextJS application structure is like that:
_app.tsx -> posthog init inside useEffect
MyComponent-> event capture
My event capture from MyComponent is being…

Matt
- 61
- 2
2
votes
1 answer
self-hosted posthog has been down right after I rebooted my vps
updated:
To reproduce the issue is very simple with a few steps:
Install it on your Ubuntu server by running the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)"
During the…

marcel
- 77
- 1
- 4
- 16
1
vote
1 answer
posthog - is "Filter Out Plugin" drops events before or after they are added to the db?
i dont want some of my events going into posthog due to security . i thought using the "Filter Out Plugin" .
the question is: how does the plugin work? couldnt find spefici info about it .
is it like a middleware that drops the events before they…

eyal
- 13
- 3
1
vote
1 answer
PostHog | Brave Browser Event Tracking Issue
we have implemented Posthog with React and tested the implementation, which is working fine on Chrome and Firefox. But when we are testing it on Brave/Microsoft Edge Browsers it is not working.
We have done some research on this, which says these…

Vaibhav Gurnani
- 11
- 2
1
vote
0 answers
Posthog nextjs set user/event properties in autocapture mode
I am initializing posthog in my nextjs application using
import { usePostHog } from 'next-use-posthog'
usePostHog(POSTHOG_KEY, { api_host: POSTHOG_HOST })
In _app.js at a different route when the user session starts i want to set custom properties…

Rahul
- 895
- 1
- 13
- 26
1
vote
2 answers
Do Analytics tools like PostHog or Adjust require App Tracking Transparency, and if so when?
I am planning to integrate Analytics tools like PostHog or Adjust (but also others) into my app, and I find it very vague where I exactly need to prompt (or not) the App Tracking Transparency popup.
I would usually use them to identify the users…

Kelton
- 151
- 1
- 7
0
votes
0 answers
(How) can firebase hosting be used as reverse proxy?
Tools like posthog require to setup a reverse proxy to be used properly, and with Vercel for example, this can be easily done with :
{
"rewrites": [
{
"source": "/ingest/:match*",
"destination": "https://app.posthog.com/:match*"
…

Patric
- 1,489
- 13
- 28
0
votes
0 answers
Is it possible to use PostHog as a "user feedback dashboard"?
I was thinking of using PostHog to track events like "Thumbs up" / "Thumbs down" but one of the challenges is that a user can change their selection over time. So what I am trying to track is the latest "Thumbs up" / "Thumbs down" per user and do a…

Nicolas Bouvrette
- 4,295
- 1
- 39
- 53
0
votes
0 answers
PostHog: Only show the first 5 properties of a single event
I had a insight in Posthog that shows "️ produto acessado!" (product accessed) and it has the property produto (product) and categoria (category), and im showing the event and breaking down my product, but i wanna show only the 5 more accessed…

Pedro Souza
- 63
- 6
0
votes
0 answers
posthog - bulk delete all persons
I am trying to delete all persons in my posthog. they were inserted by mistake. I try to use the DELETE endpoint from here:
https://posthog.com/docs/api/persons
but to delete a person it requires a person id of type number.
when I get the persons…

eyal
- 13
- 3
0
votes
2 answers
PostHog namespace issue
I installed PostHog in my PHP codebase, and trying to use it by following the tutorial in this link (https://posthog.com/docs/integrate/server/php).
I am attempting to call PostHog::init function as a following:
PostHog::init($apikey,
…

Ibrahim EL-Sanosi
- 71
- 1
- 8
0
votes
0 answers
posthog - drop events that contain specific params (not values)
im trying to drop events in posthog that contain the query params "username" / "password" in the "current url" / "referrer url" fields. it doesnt matter what values they have .
tried to use:
Filter Out Plugin - but it just blocks everything once i…

eyal
- 13
- 3
0
votes
1 answer
Clickhouse not working after losing zookeeper cluster, how to force it to generate new metadata
I am setting up Posthog which includes Clickhouse and connects to Zookeeper. It was set up and working, but the Zookeeper cluster was destroyed by accident.
Now a new one is set up, but Clickhouse logs that it has issues with the metadata and can't…

robliv
- 1,351
- 3
- 15
- 30
0
votes
1 answer
I wanted to know if anyone has an agreement with how PostHog.setup works in react native
PostHog.setup issue only occurs in android studio with xcode. The error it produces is "apiKey must not be null or empty ".
In ios it works perfectly which seems strange to me, i'm not sure what i'm doing wrong
the function is used as follows
import…

ExeZ
- 1