zevarito / mixpanel

Simple lib to track events in Mixpanel service. It can be used in any rack based framework.
MIT License
273 stars 84 forks source link

Request-specific filtering #40

Closed ketzusaka closed 12 years ago

ketzusaka commented 12 years ago

Occasionally I need to return HTML to the browser to be displayed. That HTML doesn't need these filters applied as they are already on the page. I think adding something to the app controllers would be more robust here, but sending a header up with the AJAX request to prevent the filter works for now.

zevarito commented 12 years ago

@ketzusaka Merged in master, would be great if you do an additional commit to explain how to use it in the README file before push a new version of the gem to rubygems. Thanks!