Viewing 2 replies - 1 through 2 (of 2 total)
  • The script is not checking the URL but relies on input from the user, thus your link does not work

    You can try this:
    Set the tracking link to:
    https://moonkeey.com/orders-tracking/?trackingID=TRACKINGNUMBER

    then change the <script> as under:

    <?php
    $getNum = $_REQUEST['trackingID'];
    echo '
    <script type="1b3032c982eb6d64c07725a3-text/javascript">
    function doTrack() {
        var num = document.getElementById("YQNum").value;
    	/*check for GET*/
    	if(num===""){
    	num = .' $getNum .'; 
    	}
        if(num===""){
            alert("Enter your number."); 
            return;
        }
        YQV5.trackSingle({
            YQ_ContainerId:"YQContainer",
            YQ_Height:560,
            YQ_Fc:"0",
            YQ_Lang:"en",
            YQ_Num:num
        });
    }
    </script>';
    ?>

    Note: Please do a thorough check of the script or have a developer look into it. The script is to show how you can achieve what you need and may not be perfect.

    Thread Starter moonkeey217

    (@moonkeey217)

    well thank you for replying but the function didn’t work
    i get this code from this page https://extcall.17track.net/fr

    i try to fix it by my self but it didn’t work so i’ll just wait for someone to fix this function i really need it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘URL tracking page’ is closed to new replies.