move tracking to <head>