mohamedmansour / hackathon-letsgo.io

letsgo.io - Photo Hack Day 4 project
http://letsgo.io
5 stars 6 forks source link

Remove automatically firing events from Google Analytics #26

Open jthiller opened 11 years ago

jthiller commented 11 years ago

We should remove ReceivedPhotosInBoundingBox from the Google Analytics events. The event fires on page load, which is artificially lowering our bounce rate. We should only utilize an event if it requires some sort of input from the user, or if we don't care about the bounce rate analytic.

justinormont commented 11 years ago

How about an IF statement that makes it not fire on the first load?

jthiller commented 11 years ago

IF statement works for me!

justinormont commented 11 years ago

A better solution, there is another parameter on the GA event tracking. The (5th?) element is a boolean saying if Google should count it towards user interaction or background tracking. We should use that.

jthiller commented 11 years ago

Oh cool. I was unaware of that option. How did you find out about it? I'd like to read up.

On Friday, April 19, 2013, justinormont wrote:

A better solution, there is another parameter on the GA event tracking. The (5th?) element is a boolean saying if Google should count it towards user interaction or background tracking. We should use that.

— Reply to this email directly or view it on GitHubhttps://github.com/mohamedmansour/letsgo.io/issues/26#issuecomment-16696581 .

-Joey Hiller 707.456.7374

justinormont commented 11 years ago

Not sure where I saw it, but it's listed here: https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide#SettingUpEventTracking