No, shopify cannot track events on its own. You have to track it manually using gtag.js or Google Tag Manager.