GTM code not showing in checkout page view source

Topic summary

Main issue: Google Tag Manager (GTM) code not appearing in the checkout page’s view source after adding it in the Additional Scripts section.

Key points:

  • Shopify’s checkout is a restricted area; custom scripts (including GTM) do not load there and won’t appear in view source.
  • The “Additional Scripts” setting connects GTM to the order status/thank-you page only, not the checkout steps.
  • A reference link was shared, but the limitation is platform-defined rather than page-specific.

Outcome:

  • Behavior is expected; there is no direct way to place GTM on the checkout via Additional Scripts.
  • Recommended approach is to rely on the thank-you page for tracking.

Status: Clarified and effectively resolved with platform constraints explained; no further action identified.

Summarized with AI on December 17. AI used: gpt-5.

Hello Krishnac_123,

Thanks for your query.

the checkout page is designed that way , you can not place any tracking script.

additional script tag connects the thank you page with GTM.

Thanks