Twitter | Pretraživanje | |
Michael Lynch
Twitter hivemind, I want to display a per-page hit counter in my web app, pulling data from the Google Analytics API. It seems like it would be a common use-case, but I can't find instances of anyone else doing this. Are there drawbacks I'm not seeing?
I'm building an event aggregator for live comedy shows. I want to convince event organizers that there's value in posting their event on my site, so one...
Indie Hackers Indie Hackers @IndieHackers
Reply Retweet Označi sa "sviđa mi se" More
David Nicholas Williams 15. sij
Odgovor korisniku/ci @deliberatecoder
If a super hacky solution is acceptable One time 1 Behavior>Site Content>All Pages 2 Date range = 10 years 3 [SAVE] as "All views" report Then, regularly, manual or automated 4 Open "All views" report, download as CSV 5 Upload to server 6 Parse out routes -> pageviews count
Reply Retweet Označi sa "sviđa mi se"
Michael Lynch 16. sij
Odgovor korisniku/ci @davnicwil
Oh, this is neat! I like it as a low-cost way to test out what it will look like and see if it has any impact.
Reply Retweet Označi sa "sviđa mi se"
Michael Lynch 20. sij
Odgovor korisniku/ci @deliberatecoder
Update: I got this working. It took me ~2 hours to do the Google Analytics part and ~10 hours to integrate it into my web app. CLI example: Web app integration:
Reply Retweet Označi sa "sviđa mi se"
Victor Zhou 15. sij
Odgovor korisniku/ci @deliberatecoder
a lot of people block google analytics, esp in the tech audience, but i think this works if you just do it server side and cache it yourself
Reply Retweet Označi sa "sviđa mi se"
Michael Lynch 16. sij
Odgovor korisniku/ci @victorczhou @WanderJest
Oh, I don't mind missing out on adblock users. This is for , so it's not necessarily a techie audience. I assume I'll still get >=97% of users, which is good enough.
Reply Retweet Označi sa "sviđa mi se"
Rahul Saxena 15. sij
Odgovor korisniku/ci @deliberatecoder
Works well with live GA Event data. It has been done. You can do it. It will work.
Reply Retweet Označi sa "sviđa mi se"