Cloudflare DevelopersCD
Cloudflare Developers2y ago
6 replies
anspan

Hey Folks,

Hey Folks,

Need some help and advice, struggling a bit!

I have a GA call:
ga('ec:addProduct', { 'id': 1, 'name': 'test', 'category': 'test', 'brand': 'test', 'position': 1, 'dimension1': 'test' }); ga('ec:setAction', 'detail'); ga('send', 'event','eCommerce','productView');

Is My Zaraz Track equivalent below correct:
zaraz.track('productView', { id: 1, category: 'test', name: 'test', brand: 'test', position: 1, dimension1: 'test', });

I do not want to use zaraz.ecommerce.

Please advise.
Was this page helpful?