Skip to content

Check a GTIN

Empties a GTIN (EAN, UPC) whose length or check digit is wrong.

Group: Text

Google and other channels refuse a product whose GTIN is wrong, and may flag the whole account. With this rule, a wrong GTIN is sent empty rather than wrong.

None.

Before After
4006381333931 4006381333931
4006381333932 (wrong check digit) empty
400-638 1333931 4006381333931
12345 (wrong length) empty
  • A GTIN has 8, 12, 13 or 14 digits, the last one being a check digit computed from the others.
  • Spaces and dashes are removed from the GTINs that are kept.
  • To leave out the products with a wrong GTIN instead of sending them without one, add Skip if empty after this rule.