Avatar

Correct answer by
Community Advisor

Hi,

If your delivery is a push notification, the params go in Application variables, which can be added in the service's mobile application or in the delivery via form hacking.

If your delivery is anything else, it's ordinary personalization, conditional on recipient channel and device, e.g.

<%=

  recipient.appSubscription.type === 0 ? 'iosurlscheme://...' :

  recipient.appSubscription.type === 1 ? 'android://...' :

  'http://...'

%>

NB recipient.appSubscription won't work here since it's 1:n, but can be substituted with an enrichment/cell activity and targetData.

Thanks,

-Jon

View solution in original post