{
  "exportFormatVersion": 2,
  "exportTime": "2026-10-19 09:00:00",
  "containerVersion": {
    "path": "accounts/0/containers/0/versions/0",
    "accountId": "0",
    "containerId": "0",
    "containerVersionId": "0",
    "container": {
      "path": "accounts/0/containers/0",
      "accountId": "0",
      "containerId": "0",
      "name": "Shero bot blocker",
      "publicId": "GTM-SHEROBOT",
      "usageContext": [
        "WEB"
      ]
    },
    "variable": [
      {
        "accountId": "0",
        "containerId": "0",
        "variableId": "901",
        "name": "JS - Automated browser (Shero)",
        "type": "jsm",
        "parameter": [
          {
            "type": "TEMPLATE",
            "key": "javascript",
            "value": "function() {\n  // Shero bot traffic study, October 2026: true for automated browsers.\n  try {\n    var w = screen.width, h = screen.height;\n    var ua = navigator.userAgent || '', p = navigator.platform || '';\n    if (navigator.webdriver === true) return true;\n    if (w === h) return true;\n    if (w === 800 && h === 600) return true;\n    // Desktop Chrome dressed up as a phone keeps its desktop platform (seen Oct 17: 375x812 \"iPhone X\").\n    if (/iPhone|iPod/.test(ua) && !/iPhone|iPod/.test(p)) return true;\n    if (/Android/.test(ua) && /Win|Mac|x86_64|i686/.test(p)) return true;\n    return false;\n  } catch (e) { return false; }\n}"
          }
        ]
      }
    ],
    "trigger": [
      {
        "accountId": "0",
        "containerId": "0",
        "triggerId": "902",
        "name": "Block - Automated browser (Shero)",
        "type": "CUSTOM_EVENT",
        "customEventFilter": [
          {
            "type": "MATCH_REGEX",
            "parameter": [
              {
                "type": "TEMPLATE",
                "key": "arg0",
                "value": "{{_event}}"
              },
              {
                "type": "TEMPLATE",
                "key": "arg1",
                "value": ".*"
              }
            ]
          }
        ],
        "filter": [
          {
            "type": "EQUALS",
            "parameter": [
              {
                "type": "TEMPLATE",
                "key": "arg0",
                "value": "{{JS - Automated browser (Shero)}}"
              },
              {
                "type": "TEMPLATE",
                "key": "arg1",
                "value": "true"
              }
            ]
          }
        ]
      }
    ]
  }
}