Hi how do i add analytics code ,do i need to do this through ftp ?

thanks in advance