We have set up Qualaroo as a destination, and the tag is running fine. However we have identified a problem. We’re calling identify() from the server side which means the Qualaroo tag does not receive the traits and id payload via Segment’s _kiq.push() call, precisely because we are firing identify from the server-side.
As a workaround to this issue we were considering adding a custom source function in order to trigger the identify call on the client side. We would use the page event to trigger the identify call. Something like this:
async function onPage(event, settings) {
let eventBody = request.json();
Segment.identify({
userId: eventBody.userId
});
}
Question: is this possible? If so, are there any issues or risks with this approach?