Canonical actions define the event-tracking contract between the frontend and your connector app. When you build a tracking connector, you implement an action handler for the track action so the frontend can send analytics events (page views, add-to-cart, checkout) to your tracking backend.
Import these from @laioutr-core/canonical-types/tracking.