Skip to content

Instantly share code, notes, and snippets.

@MattWilliamsDev
Last active August 29, 2015 14:10
Show Gist options
  • Select an option

  • Save MattWilliamsDev/ce2c308112fd9f1c84d9 to your computer and use it in GitHub Desktop.

Select an option

Save MattWilliamsDev/ce2c308112fd9f1c84d9 to your computer and use it in GitHub Desktop.
// This one should show a message
window.MC.lib.appDeeplink( {
appName: 'Campaigns' // Application Name
, target: 'fullscreen'
, link: '/Campaigns?id=NDQ1OjQ2OjA%3D'
, options: {
interactionName: 'My Interaction Name'
, returnAppName: 'Journey Builder'
}
} );
// This one should show a message also
window.MC.lib.appDeeplink( {
appName: 'Campaigns' // Application Name
, target: 'fullscreen'
, link: '/Campaigns?id=NDQ1OjQ2OjA%3D'
, interactionName: 'My Interaction Name'
, returnAppName: 'Journey Builder'
} );
// This one should not show a message
window.MC.lib.appDeeplink( {
appName: 'Campaigns' // Application Name
, target: 'fullscreen'
, link: '/Campaigns?id=NDQ1OjQ2OjA%3D'
, interactionName: 'My Interaction Name'
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment