Only echo the js config code before track or push is called.