I use angulartics2 for tracking pageviews.
How I can track ecommerce:addItem
or ecommerce:addTransaction
by angulartics2 in angular 5 application?
Or maybe I can implement it more native?
p.s. I added ga('require', 'ecommerce');
I use angulartics2 for tracking pageviews.
How I can track ecommerce:addItem
or ecommerce:addTransaction
by angulartics2 in angular 5 application?
Or maybe I can implement it more native?
p.s. I added ga('require', 'ecommerce');
Copyright © 2021 Jogjafile Inc.
For now, angulartics2 haven't an implementation of ecommerce tracking.
You can just use the global
ga
function.For example (and you can find native examples in Ecommerce Tracking):
and after all needed adds call
ecommerce:send
by