> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-google-analytics-4-with-gtm/frontend-view-of-google-tag-manager.md).

# Frontend view of Google Tag Manager

To enable debugger on frontend set URL as following

{{base\_url}}?debug=gtm

**View item list**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FEBZX3cBrWIDiyP1mBDdr%2FFrontend%20-%20View%20item%20list.png?alt=media&amp;token=ca4591f7-a153-4878-ad89-80654cf59e46" alt=""><figcaption></figcaption></figure>

**View cart item**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2F0HHooCRn4Jm3MWDLtCcq%2FFrontend%20-%20View%20cart%20item.png?alt=media&amp;token=38a8c179-38cb-4bf8-bf18-e3766ae36854" alt=""><figcaption></figcaption></figure>

**View checkout**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2F88s2jXi7o77k6PjXEfVw%2FFrontend%20-%20View%20checkout.png?alt=media&amp;token=26a7ab6d-74d8-4201-bd62-69d3a0b0ff19" alt=""><figcaption></figcaption></figure>

**View purchase**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2Fbo5NF6cgJxPkV63IIvro%2FFrontend%20-%20View%20purchase.png?alt=media&amp;token=fd28b3a6-f442-4d8b-95e2-391d6bcfaf02" alt=""><figcaption></figcaption></figure>

If anything goes wrong, please contact us at <support@magecomp.com>
