elgentos / magento2-serversideanalytics

Server side analytics for Magento 2
MIT License
64 stars 21 forks source link

Generator fallback ClientID #4

Closed barryvdh closed 3 years ago

barryvdh commented 3 years ago

This might be depending on your use case, but if a customer has disabled Google Analytics (eg using Ublock or similar extensions), the _ga cookie is never set. This will prevent the order from dispatching to GA Measurement Protocol.

I understand that it's generally preferred to use the actual user/client ID but this is not always possible. In our case, we would rather still record the purchase in Analytics, so that the revenue is correct, even though it cannot be traced to any marketing action.