Put Google Analytics and Facebook API in proper files.