Menu structure

Menu item ID

Every new item gets a unique 12-character ID that never changes. You need it when you want to target one item exactly, for example to track clicks.

1Open Edit item

On the Build Menu step, click the item you want. The Edit item form opens.

2Copy the ID in More

Scroll to the bottom of the form. The More section has an ID line. Hover over the ID, then click the copy icon. On touch screens, the copy button is always visible.

3Use the ID

On your store, the ID is added to the item as id="…". You can use it in three places:

  • Custom CSS: target one item with #ID.
  • Click-tracking tools (for example, Google Tag Manager): use the ID as a condition.
  • Analytics: paste the ID into the search box, or turn on Show IDs to see the ID after each item name.
#k3x9a2m7p4qd { font-weight: 700; }

For styling and custom CSS on one item, see Style one item and Custom CSS, reusable classes and fonts.

More to know

Does the ID change when I edit the item?

No. You can’t edit the ID, and it doesn’t change when you rename an item, change its link, or drag it within the same menu. An item loses its ID only when you delete it.

Older items and copied items
  • Items you created before this feature have an ID that starts with nav-…. These IDs are not printed on your store.
  • When you copy a menu or an item to another menu, the copy gets a new ID. CSS that targets the old ID is switched to the new ID in the copy.
I set my own id in the Attributes box

Navi+ keeps your id and doesn’t add an automatic ID to that item.

Do click reports group by ID?

Not yet. Analytics still matches clicks by item name, and the item_id column in the CSV file is empty. You can use the ID to find an item and in external tracking tools.

Did this page help?

Need a hand? Chat with us in the app or write to [email protected] — send your store URL and the menu name.