I have highlighted a typo in red that should read incectstyle.php, not incectstyle.asp.
Add Google Analytics ecommerce code In version 7.4.5 we have updated to Google Analytics 4 and you enter the tracking ID (of the form G-AAAAAAAAAA) in the admin main settings page. Then if you have the incectstyle.asp file included in your site you don't need to do anything else as the tracking code is included automatically. Otherwise, place the following code in the head section of your template so it is included on all pages (replacing the two occurrences of G-AAAAAAAAAA)...
<script async src="https://www.googletagmanager.com/gtag/js?id=G-AAAAAAAAAA"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-AAAAAAAAAA'); </script>