In the present study, we demonstrated that in gastric cancer and esophagogastric junction cancer, intestinal type, pM, and time to specimen processing of < 120 min were independent factors involving HER2-positivity. Here, ERBB2 is linked to gastric cancer.