One transparent pixel
const express = require('express');
const pixel = require('transparent-pixel');
const app = express();
app.get('/pixel/:metric', (request, response) => {
report(request.params.metric); // your own logic
response
.status(201)
.type('gif')
.send(pixel);
});