Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
[
  {
    "date": 1610352661069,  //optional
    "ip": "1.1.1.1"         // optional
    "eventData": {	
      [...]
    }
  },
  {
    "date": 1610352661069,  //optional
    "ip": "1.1.1.1"         // optional
    "eventData": {	
    [...]
    }
  },
]

The eventData dependes depends on the type of event (sinkId) that is being tracked. Please refer to the trackQuery, trackClick, trackWishlist, trackCheckout  or trackAPICall  parameters depending on the type of event to check what fields eventData should contain. 

For example, the body of a request for tracking 2 queries can be:

...