_shopmsg('register', {'anyProp' : 'anyValue'});

It's very common to have certain properties that you want to include with each event you send. Generally, these are things you know about the visitor rather than about a specific event - for example, the visitor's source or initial referrer.

To make things easier, you can register these properties as page-scoped attributes. If you tell us just once that these properties are important, we will automatically include them with all events sent during that visitor's page view.

// you can register any properties to be appended
// to events that are triggered while the visitor
// is on this page
_shopmsg('register', {
  "promotion" : "valentines-day-sale",
  "search_terms" : ["love", "heart", "t-shirt"]