Added analytics in local