Created
December 21, 2017 14:31
-
-
Save spike1292/de8bd8711d24d38ef8c1ebae441416a8 to your computer and use it in GitHub Desktop.
Adobe marketing cloud example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as utils from "tns-core-modules/utils/utils"; | |
function trackOpenURL(url: string): void { | |
const nsurl = NSURL.URLWithString(url); | |
const urlWithVisitorData = ADBMobile.visitorAppendToURL(nsurl); | |
utils.ios.getter(UIApplication, UIApplication.sharedApplication).openURL(urlWithVisitorData); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment