Add Googla Analytics tracking and Smart AD check.