Antavo has a mechanism that allows the creation of anonymous events, i.e. when an event is sent in but no customer is given.
This functionality is handled through the Customer ID validation extension.
If the ‘Guest events’ checkbox is enabled and an incoming event has the {{guest: true}} flag, the following options can happen:
if the customer is included in the request: the error
BadRequestException
comes back (as it is not possible to send a guest event with a customer)if the customer is not included: Antavo considers it as an anonymous event, no customer will be created or updated, and the event will not contain a customer property.
If the ‘Guest events’ checkbox is not marked or no {{guest: true}} flag is present, everything should work as before.