Customer ID validation
    • 1 Minute to read

      Customer ID validation


        Article summary

        Antavo’s Customer ID validation mechanism allows the creation of anonymous events, meaning that an event can be registered without a customer ID value in the customer attribute.

        Find the configuration page of the Customer ID validation module under the Modules menu.

        Guest events

        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 scenarios can occur:

        • If the customer is not included in the event request: Antavo considers it an anonymous event. No customer will be created or updated, and the event will not contain a customer property.

        • If 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 checked or no {{guest: true}} flag is present, the default mechanism will apply, meaning that all requests without a customer property will fail.

        Read more about guest transactions in the Developer documentation.

        Automatic customer ID generation

        If the Customer ID validation is enabled, the customer ID is automatically generated when adding a new customer manually under the Customer insights menu.

        The generated ID cannot be modified manually. However, you can still register customers with any customer ID via opt_in events using the Events API.