Your script will start running immediately.
Adding the script to the header or footer of a webpage will track all pages of the website.