Add google analysis JS function