• Right now I have this code for detecting an affiliate ID in the URL.

    if ( isset($_GET['s1']) && !empty($_GET['s1'])){

    That affiliate ID looks like this

    https://yourwebsite.com/firtpage?s1=username

    The ?s1=username is the affiliate ID

    When someone clicks on a link on my page, I want this ID to carry over to the next page. Like this

    https://yourwebsite.com/secondpage?s1=username

    How can I achieve this on WordPress?

  • The topic ‘Affiliate ID to carry over onto other pages’ is closed to new replies.