Discussions
Javascript API - Modal Translation
over 5 years ago by Gustavo Paiva
How can I translate the Javascript API modal's messages?
I know that using the parameter "text" I can edit the default message. But what about in these cases "If User is already subscribed" and "If User had blocked"?
At this point I'm using something like this:
window._pcq.push(['triggerOptIn',{subscriberSegment: 'homepage', modal: {text: 'Receba alertas sobre nossa promoção!', blackenBackground: true}}]);
Cheers