[object Object]

← back to Ga Allsites

GTM fleet tracking container template (GA4 + Meta Pixel + Pinterest, per DTD hybrid verdict) + spec

6bf60b1d7ac1b64bfa5afd9f4f9b36a4767446ea · 2026-08-17 12:38:51 -0700 · Steve Abrams

Files touched

Diff

commit 6bf60b1d7ac1b64bfa5afd9f4f9b36a4767446ea
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Aug 17 12:38:51 2026 -0700

    GTM fleet tracking container template (GA4 + Meta Pixel + Pinterest, per DTD hybrid verdict) + spec
---
 gtm/dw-tracking-container.json | 420 +++++++++++++++++++++++++++++++++++++++++
 gtm/dw-tracking-spec.json      |  16 ++
 2 files changed, 436 insertions(+)

diff --git a/gtm/dw-tracking-container.json b/gtm/dw-tracking-container.json
new file mode 100644
index 0000000..44d7c22
--- /dev/null
+++ b/gtm/dw-tracking-container.json
@@ -0,0 +1,420 @@
+{
+  "exportFormatVersion": 2,
+  "exportTime": "1970-01-01 00:00:00",
+  "containerVersion": {
+    "path": "accounts/000000000/containers/000000000/versions/0",
+    "accountId": "000000000",
+    "containerId": "000000000",
+    "containerVersionId": "0",
+    "container": {
+      "accountId": "000000000",
+      "containerId": "000000000",
+      "name": "DW/Abrams \u2014 Web Tracking (fleet template)",
+      "publicId": "GTM-XXXXXXX",
+      "usageContext": [
+        "WEB"
+      ],
+      "fingerprint": "0",
+      "tagManagerUrl": "https://tagmanager.google.com/"
+    },
+    "fingerprint": "0",
+    "tag": [
+      {
+        "accountId": "000000000",
+        "containerId": "000000000",
+        "tagId": "1",
+        "name": "GA4 Configuration",
+        "type": "gaawc",
+        "fingerprint": "0",
+        "tagFiringOption": "ONCE_PER_EVENT",
+        "parameter": [
+          {
+            "type": "BOOLEAN",
+            "key": "sendPageView",
+            "value": "true"
+          },
+          {
+            "type": "BOOLEAN",
+            "key": "enableSendToServerContainer",
+            "value": "false"
+          },
+          {
+            "type": "TEMPLATE",
+            "key": "measurementId",
+            "value": "G-XXXXXXX"
+          }
+        ],
+        "firingTriggerId": [
+          "1"
+        ]
+      },
+      {
+        "accountId": "000000000",
+        "containerId": "000000000",
+        "tagId": "2",
+        "name": "GA4 Event - sample_request",
+        "type": "gaawe",
+        "fingerprint": "0",
+        "tagFiringOption": "ONCE_PER_EVENT",
+        "parameter": [
+          {
+            "type": "TEMPLATE",
+            "key": "eventName",
+            "value": "sample_request"
+          },
+          {
+            "type": "TAG_REFERENCE",
+            "key": "measurementIdOverride",
+            "value": "GA4 Configuration"
+          },
+          {
+            "type": "LIST",
+            "key": "eventParameters",
+            "list": [
+              {
+                "type": "MAP",
+                "map": [
+                  {
+                    "type": "TEMPLATE",
+                    "key": "name",
+                    "value": "sku"
+                  },
+                  {
+                    "type": "TEMPLATE",
+                    "key": "value",
+                    "value": "{{dlv.sku}}"
+                  }
+                ]
+              },
+              {
+                "type": "MAP",
+                "map": [
+                  {
+                    "type": "TEMPLATE",
+                    "key": "name",
+                    "value": "collection"
+                  },
+                  {
+                    "type": "TEMPLATE",
+                    "key": "value",
+                    "value": "{{dlv.collection}}"
+                  }
+                ]
+              }
+            ]
+          }
+        ],
+        "firingTriggerId": [
+          "2"
+        ]
+      },
+      {
+        "accountId": "000000000",
+        "containerId": "000000000",
+        "tagId": "3",
+        "name": "GA4 Event - quote_form",
+        "type": "gaawe",
+        "fingerprint": "0",
+        "tagFiringOption": "ONCE_PER_EVENT",
+        "parameter": [
+          {
+            "type": "TEMPLATE",
+            "key": "eventName",
+            "value": "generate_lead"
+          },
+          {
+            "type": "TAG_REFERENCE",
+            "key": "measurementIdOverride",
+            "value": "GA4 Configuration"
+          }
+        ],
+        "firingTriggerId": [
+          "3"
+        ]
+      },
+      {
+        "accountId": "000000000",
+        "containerId": "000000000",
+        "tagId": "4",
+        "name": "GA4 Event - add_to_cart",
+        "type": "gaawe",
+        "fingerprint": "0",
+        "tagFiringOption": "ONCE_PER_EVENT",
+        "parameter": [
+          {
+            "type": "TEMPLATE",
+            "key": "eventName",
+            "value": "add_to_cart"
+          },
+          {
+            "type": "TAG_REFERENCE",
+            "key": "measurementIdOverride",
+            "value": "GA4 Configuration"
+          },
+          {
+            "type": "LIST",
+            "key": "eventParameters",
+            "list": [
+              {
+                "type": "MAP",
+                "map": [
+                  {
+                    "type": "TEMPLATE",
+                    "key": "name",
+                    "value": "sku"
+                  },
+                  {
+                    "type": "TEMPLATE",
+                    "key": "value",
+                    "value": "{{dlv.sku}}"
+                  }
+                ]
+              },
+              {
+                "type": "MAP",
+                "map": [
+                  {
+                    "type": "TEMPLATE",
+                    "key": "name",
+                    "value": "value"
+                  },
+                  {
+                    "type": "TEMPLATE",
+                    "key": "value",
+                    "value": "{{dlv.price}}"
+                  }
+                ]
+              }
+            ]
+          }
+        ],
+        "firingTriggerId": [
+          "4"
+        ]
+      },
+      {
+        "accountId": "000000000",
+        "containerId": "000000000",
+        "tagId": "5",
+        "name": "Meta Pixel (base)",
+        "type": "html",
+        "fingerprint": "0",
+        "tagFiringOption": "ONCE_PER_EVENT",
+        "parameter": [
+          {
+            "type": "TEMPLATE",
+            "key": "html",
+            "value": "<!-- Meta Pixel \u2014 replace META_PIXEL_ID before publishing (gated ad asset) --><script>!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');fbq('init','META_PIXEL_ID');fbq('track','PageView');</script>"
+          },
+          {
+            "type": "BOOLEAN",
+            "key": "supportDocumentWrite",
+            "value": "false"
+          }
+        ],
+        "firingTriggerId": [
+          "1"
+        ]
+      },
+      {
+        "accountId": "000000000",
+        "containerId": "000000000",
+        "tagId": "6",
+        "name": "Pinterest tag (base)",
+        "type": "html",
+        "fingerprint": "0",
+        "tagFiringOption": "ONCE_PER_EVENT",
+        "parameter": [
+          {
+            "type": "TEMPLATE",
+            "key": "html",
+            "value": "<!-- Pinterest tag \u2014 replace PINTEREST_TAG_ID before publishing (gated ad asset) --><script>!function(e){if(!window.pintrk){window.pintrk=function(){window.pintrk.queue.push(Array.prototype.slice.call(arguments))};var n=window.pintrk;n.queue=[],n.version='3.0';var t=document.createElement('script');t.async=!0,t.src=e;var r=document.getElementsByTagName('script')[0];r.parentNode.insertBefore(t,r)}}('https://s.pinimg.com/ct/core.js');pintrk('load','PINTEREST_TAG_ID');pintrk('page');</script>"
+          },
+          {
+            "type": "BOOLEAN",
+            "key": "supportDocumentWrite",
+            "value": "false"
+          }
+        ],
+        "firingTriggerId": [
+          "1"
+        ]
+      }
+    ],
+    "trigger": [
+      {
+        "accountId": "000000000",
+        "containerId": "000000000",
+        "triggerId": "1",
+        "fingerprint": "0",
+        "name": "All Pages",
+        "type": "PAGEVIEW"
+      },
+      {
+        "accountId": "000000000",
+        "containerId": "000000000",
+        "triggerId": "2",
+        "fingerprint": "0",
+        "name": "CE - sample_request",
+        "type": "CUSTOM_EVENT",
+        "customEventFilter": [
+          {
+            "type": "EQUALS",
+            "parameter": [
+              {
+                "type": "TEMPLATE",
+                "key": "arg0",
+                "value": "{{_event}}"
+              },
+              {
+                "type": "TEMPLATE",
+                "key": "arg1",
+                "value": "sample_request"
+              }
+            ]
+          }
+        ]
+      },
+      {
+        "accountId": "000000000",
+        "containerId": "000000000",
+        "triggerId": "3",
+        "fingerprint": "0",
+        "name": "Form Submit",
+        "type": "FORM_SUBMISSION",
+        "waitForTags": [
+          {
+            "type": "BOOLEAN",
+            "key": "waitForTags",
+            "value": "false"
+          }
+        ],
+        "checkValidation": [
+          {
+            "type": "BOOLEAN",
+            "key": "checkValidation",
+            "value": "false"
+          }
+        ]
+      },
+      {
+        "accountId": "000000000",
+        "containerId": "000000000",
+        "triggerId": "4",
+        "fingerprint": "0",
+        "name": "Click - .add-to-cart",
+        "type": "CLICK",
+        "filter": [
+          {
+            "type": "CONTAINS",
+            "parameter": [
+              {
+                "type": "TEMPLATE",
+                "key": "arg0",
+                "value": "{{Click Classes}}"
+              },
+              {
+                "type": "TEMPLATE",
+                "key": "arg1",
+                "value": "add-to-cart"
+              }
+            ]
+          }
+        ],
+        "autoEventFilter": []
+      }
+    ],
+    "variable": [
+      {
+        "accountId": "000000000",
+        "containerId": "000000000",
+        "variableId": "1",
+        "name": "dlv.sku",
+        "type": "v",
+        "fingerprint": "0",
+        "parameter": [
+          {
+            "type": "INTEGER",
+            "key": "dataLayerVersion",
+            "value": "2"
+          },
+          {
+            "type": "BOOLEAN",
+            "key": "setDefaultValue",
+            "value": "false"
+          },
+          {
+            "type": "TEMPLATE",
+            "key": "name",
+            "value": "sku"
+          }
+        ]
+      },
+      {
+        "accountId": "000000000",
+        "containerId": "000000000",
+        "variableId": "2",
+        "name": "dlv.collection",
+        "type": "v",
+        "fingerprint": "0",
+        "parameter": [
+          {
+            "type": "INTEGER",
+            "key": "dataLayerVersion",
+            "value": "2"
+          },
+          {
+            "type": "BOOLEAN",
+            "key": "setDefaultValue",
+            "value": "false"
+          },
+          {
+            "type": "TEMPLATE",
+            "key": "name",
+            "value": "collection"
+          }
+        ]
+      },
+      {
+        "accountId": "000000000",
+        "containerId": "000000000",
+        "variableId": "3",
+        "name": "dlv.price",
+        "type": "v",
+        "fingerprint": "0",
+        "parameter": [
+          {
+            "type": "INTEGER",
+            "key": "dataLayerVersion",
+            "value": "2"
+          },
+          {
+            "type": "BOOLEAN",
+            "key": "setDefaultValue",
+            "value": "false"
+          },
+          {
+            "type": "TEMPLATE",
+            "key": "name",
+            "value": "price"
+          }
+        ]
+      },
+      {
+        "accountId": "000000000",
+        "containerId": "000000000",
+        "variableId": "4",
+        "name": "const.brand",
+        "type": "c",
+        "fingerprint": "0",
+        "parameter": [
+          {
+            "type": "TEMPLATE",
+            "key": "value",
+            "value": "Designer Wallcoverings"
+          }
+        ]
+      }
+    ]
+  }
+}
\ No newline at end of file
diff --git a/gtm/dw-tracking-spec.json b/gtm/dw-tracking-spec.json
new file mode 100644
index 0000000..e205b3e
--- /dev/null
+++ b/gtm/dw-tracking-spec.json
@@ -0,0 +1,16 @@
+{
+  "container_name": "DW/Abrams — Web Tracking (fleet template)",
+  "public_id": "GTM-XXXXXXX",
+  "ga4_measurement_id": "G-XXXXXXX",
+  "datalayer_variables": ["sku", "collection", "price"],
+  "constants": { "brand": "Designer Wallcoverings" },
+  "events": [
+    { "name": "sample_request", "event_name": "sample_request", "trigger": "custom_event", "dl_event": "sample_request", "params": { "sku": "{{dlv.sku}}", "collection": "{{dlv.collection}}" } },
+    { "name": "quote_form", "event_name": "generate_lead", "trigger": "form_submit" },
+    { "name": "add_to_cart", "event_name": "add_to_cart", "trigger": "click", "click_class": "add-to-cart", "params": { "sku": "{{dlv.sku}}", "value": "{{dlv.price}}" } }
+  ],
+  "custom_html": [
+    { "name": "Meta Pixel (base)", "trigger": "all_pages", "html": "<!-- Meta Pixel — replace META_PIXEL_ID before publishing (gated ad asset) --><script>!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');fbq('init','META_PIXEL_ID');fbq('track','PageView');</script>" },
+    { "name": "Pinterest tag (base)", "trigger": "all_pages", "html": "<!-- Pinterest tag — replace PINTEREST_TAG_ID before publishing (gated ad asset) --><script>!function(e){if(!window.pintrk){window.pintrk=function(){window.pintrk.queue.push(Array.prototype.slice.call(arguments))};var n=window.pintrk;n.queue=[],n.version='3.0';var t=document.createElement('script');t.async=!0,t.src=e;var r=document.getElementsByTagName('script')[0];r.parentNode.insertBefore(t,r)}}('https://s.pinimg.com/ct/core.js');pintrk('load','PINTEREST_TAG_ID');pintrk('page');</script>" }
+  ]
+}

← a3f1524 auto-data-snapshot: 2026-08-17T11:27:07 (1 data files) — cac  ·  back to Ga Allsites  ·  tracking coverage matrix ($0 local: parallel curl+grep, no L 3228dbd →