segment-boneyard / analytics-magento

[DEPRECATED] The hassle-free way to integrate analytics into any Magento store.
15 stars 19 forks source link

track queue #7

Closed ianstormtaylor closed 10 years ago

ianstormtaylor commented 10 years ago

Not sure if this is possible in Magento, but it could be potentially cool to just be able to push events on to a queue and have a footer that just renders any existing events in the queue. So that the code in the other pages could simply track events, and not have to worry about how it's rendered.

Not sure if that makes sense or not here.

yaro-atwix commented 10 years ago

Our current logic works similar to your scenario. For example, when some product was added to the shopping cart we register this event and then check for the events when the footer is being rendered. If an event/events has been found - we insert a corresponding JS tracking code.

ianstormtaylor commented 10 years ago

ah nice that sounds good! closing now