onLinkClick works but onBlankImageView not working please help
const mailTrackingOptions = {
baseUrl: 'http://localhost:81/api/tracking/mail-track',
jwtSecret: 'secret',
getData: data => {
/
Default data: { recipient: "rcptto@mail.fake" }
Add any data if you want
/
console.log("data", data)
return { ...data, hello: 'world' };
},
onBlankImageView: data => {
/
When email is opened
data is default data + your data
/
console.log("onBlankImageView", data)
},
onLinkClick: data => {
console.log("onLinkClick", data)
/*
When click on link in mail
data is default data + { link } + your data
*/
},
onLinkClick works but onBlankImageView not working please help
const mailTrackingOptions = { baseUrl: 'http://localhost:81/api/tracking/mail-track', jwtSecret: 'secret', getData: data => { / Default data: { recipient: "rcptto@mail.fake" } Add any data if you want / console.log("data", data) return { ...data, hello: 'world' }; }, onBlankImageView: data => { / When email is opened data is default data + your data / console.log("onBlankImageView", data)
} app.use('/mail-track', mailTracking.expressApp(mailTrackingOptions));