Answer the question
In order to leave comments, you need to log in
How are tracking pixels implemented?
Hello, how are tracking pixels implemented correctly? I found several different implementations on the Internet, but they all seem clumsy.
As I understand it, a pixel is loaded from the client, with the data in the
pixel.png?userId=666
location parameters, it is intercepted by the server (nginx), and collects the data in the log
. How can this data be aggregated and collected in the database? Parse nginxa logs with cron every 5 minutes or what?)
Data needs to be processed by asap It
feels like there are some more concise solutions
Stack vds ubuntu + nodejs (nestjs) + nginx
Answer the question
In order to leave comments, you need to log in
A pixel-by-pixel request is no different than any other. Nobody bothers to transfer it to nodejs and process it as you like - put it in the database, count statistics, etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question