Last active
July 28, 2022 10:05
-
-
Save Broasca/c906d077bef318757845565cd50a9d10 to your computer and use it in GitHub Desktop.
2Performant Generate Quick Link php
This file contains hidden or 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
function generateQuickLink($userUniqueCode, $advertiserUniqueCode, $tagertUrl){ | |
$curatedUrl = urlencode($tagertUrl); | |
$finalUrl = "https://event.2performant.com/events/click?ad_type=quicklink&aff_code=" . $userUniqueCode . "&unique=" . $advertiserUniqueCode . "&redirect_to=" . $curatedUrl . "&st=promotion_link"; | |
return $finalUrl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment