// The initialization code follows the Smart Script code below // The script has already been implemented on this page. //Initializing Smart Script arguments var oneLinkURL = "https://koer.onelink.me/8fhb"; var mediaSource = {defaultValue:"any"}; var custom_ss_ui = {paramKey:"af_ss_ui",defaultValue:"true"}; //Call the function after embedding the code 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: oneLinkURL, afParameters: { mediaSource: mediaSource, afCustom: [ custom_ss_ui ] } }); // If needed, you can download the script from: https://onelinksmartscript.appsflyer.com/onelink-smart-script-latest.js // See an example of implementation and how to place the URL result behind a CTA on your website: https://appsflyersdk.github.io/appsflyer-onelink-smart-script/examples/utm_parameters.html?utm_campaign=mycmpn&utm_source=mysource // See an example of how to display a QR code: https://appsflyersdk.github.io/appsflyer-onelink-smart-script/examples/qr_code.html?inmedia=my_email&incmp=my_campaign