CardinalPath / gas

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

Change plugins API to avoid conflicts with default functions #16

Closed eduardocereto closed 12 years ago

eduardocereto commented 12 years ago

I feel that I don't get the API right. We have 2 problems with the current API.

So I'd like to prupose a different API, to make it clear what GAS is doing and what is it most likely not touching while sending to ga.js

I first started thinking about it while planning to implement social trackings. Following the consistency with current API _trackOutboundLinks, _trackDownloads the most logic choice would be _trackSocial, but that already exists on ga.js.

So instead of using track Social I have a couple of choices:

So my opinion is that we should rename all our plugins for v1.6 keeping backward compatibility. Possibly removing the deprecated names on v2.0.

eduardocereto commented 12 years ago

Fixed in 9dd9aa385d05