Versions Compared

Key

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

Antavo has a mechanism that Antavo’s Customer ID validation mechanism 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.

...

which means that an event can be registered without a customer ID value in the customer attribute of the event.

Find the configuration page of the Customer ID validation module by typing ‘Customer ID’ into the search bar of the Modules (blue star) menu.

The interface has only one configuration option.

...

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 not included in the event 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.

  • the customer is included in the event request: the error BadRequestException is returned, as it is not possible to send a guest event with a customer

If the ‘Guest events’ checkbox is not marked or no {{guest: true}} flag is present, everything should work as beforethe default mechanism will apply meaning that all requests without customer property will fail.

Read more about guest transactions in our API docs here.