Removing the attr type of analytics code