Getting the customer's Order ID from ScriptTag

Using the API I successfully used script_tags.json to reference a script on another server that fires on the order status page, but I’m not quite sure how to pass the Order ID or any other data to the script. Tried using {{order.id}} in the actual script SRC but it doesn’t seem to work. Is there another method I can use here? I need to get the Order ID into my remote script.