Input URL
To edit: make changes to the input URL in the address bar and reload the page.
Changes you have made to the script below will be lost after reload.
//Initializing Smart Script arguments
var oneLinkURL = "https://engmntqa.onelink.me/LtRd/";
# If a media source key is NOT FOUND on the link and NO default value is found, the script will return a null string
var mediaSource = {keys: ["inmedia"], defaultValue: "my_media_default_source"};
var campaign = {keys: ["incmp"]};
var urlSkipList = ["af_r"];
//Calling the function after embedding the code will be through a global parameter on the window object called window.AF_SMART_SCRIPT
//Onelink URL is generated
var result = window.AF_SMART_SCRIPT.generateOneLinkURL({
oneLinkURL,
afParameters:{
mediaSource: mediaSource,
campaign: campaign,
},
urlSkipList: urlSkipList
})
Output URL