segment-boneyard / analytics-magento

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

Why is everything sent from the client? #82

Closed kevando closed 8 years ago

kevando commented 8 years ago

I use segment+intercom+magento, and I want to change how segment sends over purchased product data and it would be easier to do via the analytics-php library. So I'm curious why this extension does everything by passing json data to blocks on the client.

sperand-io commented 8 years ago

@kevando great question — we tend to err towards analytics.js as that affords client-side-only integrations like the conversations features of intercom and tools like facebook pixel / twitter ads.

let me know if that makes sense!