Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ga('require', 'ecommerce');
- ga('ecommerce:addTransaction', {
- 'id': _thrive_order.order.id,
- 'revenue': _thrive_order.order.order_total,
- 'tax': _thrive_order.order.order_tax,
- 'currency': _thrive_order.order.currency
- });
- ga('ecommerce:addItem', {
- 'id': _thrive_order.order.id,
- 'name': _thrive_order.order.product.name,
- 'sku': _thrive_order.order.product.id,
- 'price': _thrive_order.order.product.total,
- 'quantity': '1'
- });
- ga('ecommerce:send');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement