CardinalPath / gas

Google Analytics on Steroids. A Google Analytics implementation with more power features.
Other
592 stars 78 forks source link

document print event #11

Open eduardocereto opened 12 years ago

eduardocereto commented 12 years ago

Firefox and MSIE support printing events beforeprint and afterprint. Webkit browsers don't support that.

We could also rewrite the window.print() function to track an Event. It will only work when the printing event comes from the page and won't work when it comes from the browser.

So I don't see a perfect solution but we should be able to get some nice data out of it. I wonder if it is important or not.

I'd like to hear some opinions on this idea.

brodseba commented 11 years ago

In the past I throw "print" event when someone were looking at a printer-friendly page template, but I never see any uses for the data. Maybe if printing was a core business (ie.: colouring template for kids website) would that feature be useful, but I believe this feature shouldn't be a priority. But, it will be so easy to implement for Firefox and IE...

jnowland commented 11 years ago

Hopefully this blog posts helps: http://blog.nath.is/posts/tracking-your-printage it talks about using a printstylesheet to call a page. You could likely have that track a goal in GAS.