segment-boneyard / analytics-magento

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

Anon Id #12

Closed ianstormtaylor closed 10 years ago

ianstormtaylor commented 10 years ago

Just wondering what this piece of code is used for? In general we let Analytics.js create anonymous IDs for us on the client side automatically, so Magento itself shouldn't need to keep track of any anonymous IDs for the user.

My guess is we'd want to remove that. Let me know!

ianstormtaylor commented 10 years ago

I also see it used here for identifying the user, but that ID we will assume to be non-anonymous, so that also won't work with the system. (Lots of the integrations don't have a concept of anonymous users, or aliasing.)

astorm commented 10 years ago

Old code from before you'd explained the user of identity, and not currently pulled in. Happy to remove it.

ianstormtaylor commented 10 years ago

Sweet sounds good

astorm commented 10 years ago

Removed anon ID generating code, removed anon id template.