Quick simple question if I have google analytics code added to a site which i am demoing on a staging server to clients would the page hits record for the actual domain and appear in the results?

I would imagine it would do a dns lookup inside of the dashboard and miss the staging site is this correct?