angulartics / angulartics2

Vendor-agnostic analytics for Angular2 applications.
MIT License
1.01k stars 193 forks source link

Expose option for ga e-commerce tracking #90

Open moioo91120 opened 7 years ago

moioo91120 commented 7 years ago

First of all, really nice module, it's works really well !

Maybe : 1) Add e-commerce plugin in init ? ga('myTracker.require', 'ecommerce'); 2) Expose method to use standard google e-commerce method, we have the documentation here https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce

Or maybe expose a generic function which allow us to use standard google ga function ?

Thank you

jonyeezs commented 6 years ago

@JonnyBGod @rolandoldengarm @kontrollanten

I use the non-enhanced version, which is the basic eccomerce of this (issue #34 was the closed request). Would it be ok if we have one for ecommerce?

(I don't mind doing a PR for that)

scttcper commented 6 years ago

i think this is finished. Let me know if https://github.com/angulartics/angulartics2/tree/master/src/lib/providers/ga-enhanced-ecom is not what you're looking for.

jonyeezs commented 6 years ago

Ga-ecom and ga-enhanced-ecom are two different apis.

But don't worry you can close this for now unless someone else wants this.

On Tue., 28 Nov. 2017, 4:32 pm Scott Cooper, notifications@github.com wrote:

i think this is finished. Let me know if https://github.com/angulartics/angulartics2/tree/master/src/lib/providers/ga-enhanced-ecom is not what you're looking for.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/angulartics/angulartics2/issues/90#issuecomment-347427270, or mute the thread https://github.com/notifications/unsubscribe-auth/AKXAhquAMYrkcjkuwMFynzEaMybmYm30ks5s66jdgaJpZM4Luovm .

scttcper commented 6 years ago

@jonyeezs I had no idea! Requests are certainly valid. Lets leave it open.