Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Počet videní v blogoch #123

Open
bedna-KU opened this issue May 20, 2020 · 4 comments
Open

Počet videní v blogoch #123

bedna-KU opened this issue May 20, 2020 · 4 comments

Comments

@bedna-KU
Copy link
Member

Hodilo sa pri blogoch zobrazovať počet videní.

@lucorp
Copy link
Collaborator

lucorp commented May 20, 2020

Da sa to riesit jednoducho, ale s velkou odchylkou merania, alebo zlozito, ale s meranim blizsie k realite.

Jednoducho = pri nacitani stranky sa zapise v DB dalsie zhliadnutie. Tymto do toho ale nalezu refreshe stranky, roboti a podobny bordel.

Zlozito = prepojenie na Google Analytics API. Ocistene od bordelu, ale data nebudu v realnom case. Synchronizovali by sa povedzme raz za hodinu, alebo podla toho aky load umoznuje tato APIna v este free verzii. Pripadne nove clanky castejsie a stare staci refreshnut raz za den.

Ja sa priklanam k druhej alternative. Co myslis ty?

BTW, ked sa uz budem vrtat v tejto APIne, tak by sa z toho mozno dali vytiahnut aj nejake dalsie automaticke statistiky.

@bedna-KU
Copy link
Member Author

@lucorp Aká metrika sa používa pri článkoch?

@lucorp
Copy link
Collaborator

lucorp commented May 21, 2020

Podla tejto triedy sa pouziva prva metoda, cize data tam nie su ocistene. V tom pripade by bolo potrebne opravit zobrazovane udaje aj na clankoch.

@bedna-KU
Copy link
Member Author

OK, tiež som za druhú, zložitejšiu variantu aj s opravou "hitov" pri článkoch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants