get_custom_event_suggestions
Finds high-traffic elements on the store that are not yet tracked, and returns a suggested event name, a CSS selector and a ready-to-paste HTML snippet for each.
When to use it
The first step of any custom-event work. It reads real click volume, so its suggestions are things visitors actually use rather than things you assume they use.
Ask for it like this
You do not name the tool. These are questions that make an assistant reach for it:
How to read the result
- Each suggestion includes a data-cc-track snippet, so a merchant can add tracking with a theme attribute and no JavaScript.
- The alternative is a rule, which needs no theme edit at all — see create_custom_event_rule.
Parameters
Shared parameters it accepts
Documented in full on the tool reference index.
Date window — defaults to the last 30 days.
Every tool also accepts merchantId, which resolves from your connection. You never pass it.
What comes back
JSON. These are the top-level keys; date-scoped tools additionally carry a _meta block with the server date and the data coverage envelope.