Extensibility
Advanced connector customization for contact resolution, event transformation, and data mapping.
Setup
Extensibility entry points
Contact Finder
/**
* Retrieve contact identifier from pass identifiers to determine the bloomreach contact of a pass.
* Default implementation uses email as registered identifier
*
* This method is asynchronous, allowing calls to external webservices if needed.
*
* @param {Record<string, any>} identifiers - Key-value pairs of pass identifiers
* @returns {Promise<Record<string, string>>} Object with 'registered' key containing the contact identifier on the bloomreach side
*/
async function getContactIdentifiers(identifiers) {
// Example: use email as the contact identifier
// this is the default implementation
return { "registered": identifiers["email"] };
}
export default function (context) {
context.register('extensions.bloomreach.contactFinder', {
GetContactIdentifiers: getContactIdentifiers
});
}Event Interceptor
Customer Mapper
FAQ
Last updated

