|
6 | 6 | <meta charset="utf-8" /> |
7 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
8 | 8 | <base href="/" /> |
9 | | - <script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js"></script> |
10 | | - <script src="_content/BlazorServerCommon_NET8/interop.js" async></script> |
11 | 9 | <!-- Google Tag Manager --> |
| 10 | + <!-- Load GTM-P3WXFWCW immediately on page load --> |
12 | 11 | <script> |
13 | 12 | (function (w, d, s, l, i) { |
14 | 13 | w[l] = w[l] || []; w[l].push({ |
|
17 | 16 | }); var f = d.getElementsByTagName(s)[0], |
18 | 17 | j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = |
19 | 18 | 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); |
20 | | - })(window, document, 'script', 'dataLayer', 'GTM-WLQL39J');</script> |
21 | | - <!-- End Google Tag Manager --> |
| 19 | + })(window, document, 'script', 'dataLayer', 'GTM-P3WXFWCW'); |
| 20 | + </script> |
| 21 | + <!-- Load GTM-W8WD8WN on user interaction --> |
| 22 | + <script> |
| 23 | + document.addEventListener("DOMContentLoaded", function () { |
| 24 | + const events = ["mousemove", "scroll", "keydown", "touchstart"]; |
| 25 | + function loadGTM() { |
| 26 | + events.forEach(event => document.removeEventListener(event, loadGTM)); |
| 27 | + (function (w, d, s, l, i) { |
| 28 | + w[l] = w[l] || []; w[l].push({ |
| 29 | + 'gtm.start': |
| 30 | + new Date().getTime(), event: 'gtm.js' |
| 31 | + }); var f = d.getElementsByTagName(s)[0], |
| 32 | + j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = |
| 33 | + 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); |
| 34 | + })(window, document, 'script', 'dataLayer', 'GTM-W8WD8WN'); |
| 35 | + } |
| 36 | + events.forEach(event => document.addEventListener(event, loadGTM, { once: true })); |
| 37 | + }); |
| 38 | + </script> |
22 | 39 | <meta charset="UTF-8" /> |
23 | 40 | <title> |
24 | 41 | Floor Planner - Syncfusion Blazor Components Showcase App |
|
27 | 44 | <meta name="description" content="Floor Planner shapes are used to represent an entire building, one floor of a building, or a single room. It may also include measurements, furniture, appliances, or anything else necessary to the purpose of the plan."> |
28 | 45 | <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> |
29 | 46 | <link rel="icon" type="image/x-icon" href="favicon.ico"> |
30 | | - <!-- Used for Property panel --> |
31 | | - <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" /> |
32 | | - <!-- To include the need theme --> |
33 | 47 | <link href="_content/Syncfusion.Blazor/styles/fluent.css" rel="stylesheet" /> |
34 | 48 | <!-- To choose the proper font family --> |
35 | 49 | <link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'> |
36 | 50 | <!-- To refer the icons for the sample --> |
37 | 51 | <link href="_content/BlazorServerCommon_NET8/assets/db-icons1/style.css" rel="stylesheet" /> |
38 | 52 | <!-- Conatins the Css property used in the sample level --> |
39 | 53 | <link href="_content/BlazorServerCommon_NET8/assets/dbstyle/diagrambuilder.css" rel="stylesheet" /> |
| 54 | + <script src="_content/BlazorServerCommon_NET8/interop.js" async></script> |
| 55 | + <script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js"></script> |
| 56 | + <!-- Used for Property panel --> |
| 57 | + <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" /> |
| 58 | + <!-- To include the need theme --> |
| 59 | + |
| 60 | + |
40 | 61 | <HeadOutlet @rendermode="@InteractiveServer" /> |
41 | 62 | </head> |
42 | 63 |
|
43 | 64 | <body> |
44 | 65 | <Routes @rendermode="@InteractiveServer" /> |
| 66 | + <!-- Google Tag Manager (noscript) --> |
| 67 | + <!--Page Load--> |
| 68 | + <noscript> |
| 69 | + <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P3WXFWCW" height="0" width="0" style="display:none;visibility:hidden"></iframe> |
| 70 | + </noscript> |
| 71 | + <!--Interaction--> |
| 72 | + <noscript> |
| 73 | + <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W8WD8WN" height="0" width="0" style="display:none;visibility:hidden"></iframe> |
| 74 | + </noscript> |
| 75 | + <!-- End Google Tag Manager (noscript) --> |
45 | 76 | <div id="blazor-error-ui"> |
46 | 77 | <environment include="Staging,Production"> |
47 | 78 | An error has occurred. This application may no longer respond until reloaded. |
|
0 commit comments