Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Reference checkout documentation - tracking information syntax
Hello,
I am working on building a custom analytics tracking module for reference checkout 2.03.0. Looking at the provided Google analytics module, I see code like this:
var shipping_address = order.get('addresses').get(order.get('shipaddress'))
, transaction_id = order.get('confirmation').confirmationnumber
, order_summary = order.get('summary')
But the commerce API documentation talks about order methods that are more like order.getFieldValues('fieldname'). Can anyone point me to where the this stuff is actually documented? Specifically, I'm trying to get the customer internal ID and their email address.
Thanks,
David
0