Simbul / baker

The HTML5 ebook framework to publish interactive books & magazines on iPad & iPhone using simply open web standards
http://bakerframework.com
1.53k stars 378 forks source link

Need to track analytics on per page publication is it possible? #1210

Open andrewvmail opened 11 years ago

andrewvmail commented 11 years ago

A client is wanting to find out how many people is reading which published publication? And they also want to know if it's possible to find out how many people is reading what page on the different publication. Is this possible or something I have to code on top my self? Just need the right direction on what library to use to implement...

Thanks!!

folletto commented 11 years ago

Sure. :)

The events tracked already are:

Plus you can customize your own events by modifying the source directly. :)

Just read on the wiki here how to set that up: How to setup google analytics or similar. :)

andrewvmail commented 11 years ago

Wow nice! Still using the old bakerframework but I think its time to pull and merge to the newest version... BakerViewPage does this means number of view per page?

folletto commented 11 years ago

That's the event triggered each pageview. The specific form of tracking then depends on what data you push to the analytics server. :)

andrewvmail commented 11 years ago

Cool thanks!

UNDRRPBLC commented 11 years ago

Has anyone had any success in tracking pages w/ Countly and logging page names + duration of visit? Thanks, Jacob

jhmac commented 11 years ago

@folletto "The specific form of tracking then depends on what data you push to the analytics server. :)" Where would I find information on how to push the page name to Google Analytics?
thanks

folletto commented 11 years ago

If you search however above inside the Issues, you might already find some information, like thread #1199 with a code snippet to track the specific book, that might give you some indication on how to track the page name. In general, you have to find in the code where the page number is given and push then that data to your analytics tool. :)

However, we don't provide that directly since it's a third party integration, let's see if someone else can help you. :)

jhmac commented 11 years ago

Thank you. I have implemented the code on 1199 and it is working. I will have to put this on the back burner for now. I have other pressing issues like getting my index page to show up on my mobile version. I will try to tackle the page tracking once I get my index issue solved. thank you again.