{
    "exportFormatVersion": 2,
    "exportTime": "2025-08-24 21:36:39",
    "containerVersion": {
        "path": "accounts/6003760552/containers/61980878/versions/0",
        "accountId": "6003760552",
        "containerId": "61980878",
        "containerVersionId": "0",
        "container": {
            "path": "accounts/6003760552/containers/61980878",
            "accountId": "6003760552",
            "containerId": "61980878",
            "name": "DumbData GTM Test",
            "publicId": "GTM-JDPXMQT",
            "usageContext": [
                "WEB"
            ],
            "fingerprint": "1649153786518",
            "tagManagerUrl": "https://tagmanager.google.com/#/container/accounts/6003760552/containers/61980878/workspaces?apiLink=container",
            "features": {
                "supportUserPermissions": true,
                "supportEnvironments": true,
                "supportWorkspaces": true,
                "supportGtagConfigs": false,
                "supportBuiltInVariables": true,
                "supportClients": false,
                "supportFolders": true,
                "supportTags": true,
                "supportTemplates": true,
                "supportTriggers": true,
                "supportVariables": true,
                "supportVersions": true,
                "supportZones": true,
                "supportTransformations": false
            },
            "tagIds": [
                "GTM-JDPXMQT"
            ]
        },
        "tag": [
            {
                "accountId": "6003760552",
                "containerId": "61980878",
                "tagId": "14",
                "name": "cHTML - Text.com Event Listener",
                "type": "html",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "html",
                        "value": "<script>\n// Function to push data to dataLayer\nfunction pushToDataLayer(eventType, additionalData) {\n  // Get customer and chat data using the getters\n  var customerData = LiveChatWidget.get(\"customer_data\");\n  var chatData = LiveChatWidget.get(\"chat_data\");\n\n  // Prepare the event data\n  var eventData = {\n    event: \"text_chat_interactions\",\n    text_action_type: eventType,\n    customer_id: customerData.id,\n    customer_name: customerData.name,\n    customer_email: customerData.email,\n    customer_isReturning: customerData.isReturning,\n    customer_status: customerData.status,\n    session_variables: customerData.sessionVariables,\n    chat_id: chatData.chatId,\n    thread_id: chatData.threadId\n  };\n\n  // Merge additional data into eventData\n  if (additionalData) {\n    eventData = Object.assign(eventData, additionalData);\n  }\n\n  // Push to dataLayer\n  window.dataLayer = window.dataLayer || [];\n  window.dataLayer.push(eventData);\n}\n\n// Event listener for \"On visibility changed\"\nLiveChatWidget.on('visibility_changed', function(data) {\n  var additionalData = {\n    text_action_type: \"chat widget visibility changed\",\n    visibility: data.visibility\n  };\n  pushToDataLayer(\"chat visibility changed\", additionalData);\n});\n\n// Event listener for \"On customer status changed\"\nLiveChatWidget.on('customer_status_changed', function(data) {\n  var additionalData = {\n    text_action_type: \"chat customer status changed\",\n    customer_status: data.status\n  };\n  pushToDataLayer(\"chat customer status changed\", additionalData);\n});\n\n// Event listener for \"On new event\"\nLiveChatWidget.on('new_event', function(event) {\n  var additionalData = {\n    text_action_type: \"chat conversation event\",\n    event_type: event.type,\n    author_id: event.author.id,\n    author_type: event.author.type\n  };\n\n  // Check if the event is a greeting and add greeting data\n  if (event.greeting) {\n    additionalData.greeting_id = event.greeting.id;\n    additionalData.greeting_unique_id = event.greeting.uniqueId;\n  }\n\n  pushToDataLayer(\"chat conversation event\", additionalData);\n});\n\n// Event listener for \"On form submitted\"\nLiveChatWidget.on('form_submitted', function(data) {\n  var additionalData = {\n    text_action_type: \"chat form submitted\",\n    form_type: data.type\n  };\n  pushToDataLayer(\"chat form submitted\", additionalData);\n});\n\n// Event listener for \"On rating submitted\"\nLiveChatWidget.on('rating_submitted', function(value) {\n  var additionalData = {\n    text_action_type: \"chat rating submitted\",\n    rating_value: value\n  };\n  pushToDataLayer(\"chat rating submitted\", additionalData);\n});\n\n// Event listener for \"On greeting dismissed\"\nLiveChatWidget.on('greeting_hidden', function() {\n  var additionalData = {\n    text_action_type: \"chat greeting dismissed\"\n  };\n  pushToDataLayer(\"chat greeting dismissed\", additionalData);\n});\n\n// Event listener for \"On rich message button clicked\"\nLiveChatWidget.on('rich_message_button_clicked', function(data) {\n  var additionalData = {\n    text_action_type: \"chat rich message button clicked\",\n    event_id: data.eventId,\n    postback_id: data.postbackId\n  };\n\n  // Check if the clicked button belongs to a greeting event and add greeting data\n  if (data.greeting) {\n    additionalData.greeting_id = data.greeting.id;\n    additionalData.greeting_unique_id = data.greeting.uniqueId;\n  }\n\n  pushToDataLayer(\"chat rich message button clicked\", additionalData);\n});\n</script>"
                    },
                    {
                        "type": "BOOLEAN",
                        "key": "supportDocumentWrite",
                        "value": "false"
                    }
                ],
                "fingerprint": "1756071257851",
                "firingTriggerId": [
                    "25"
                ],
                "tagFiringOption": "ONCE_PER_EVENT",
                "monitoringMetadata": {
                    "type": "MAP"
                },
                "consentSettings": {
                    "consentStatus": "NOT_SET"
                }
            }
        ],
        "trigger": [
            {
                "accountId": "6003760552",
                "containerId": "61980878",
                "triggerId": "25",
                "name": "All Window Loaded",
                "type": "WINDOW_LOADED",
                "fingerprint": "1649164203174"
            },
            {
                "accountId": "6003760552",
                "containerId": "61980878",
                "triggerId": "93",
                "name": "CE - text_chat_interactions",
                "type": "CUSTOM_EVENT",
                "customEventFilter": [
                    {
                        "type": "EQUALS",
                        "parameter": [
                            {
                                "type": "TEMPLATE",
                                "key": "arg0",
                                "value": "{{_event}}"
                            },
                            {
                                "type": "TEMPLATE",
                                "key": "arg1",
                                "value": "text_chat_interactions"
                            }
                        ]
                    }
                ],
                "fingerprint": "1756068892924"
            }
        ],
        "variable": [
            {
                "accountId": "6003760552",
                "containerId": "61980878",
                "variableId": "76",
                "name": "DLV - text_action_type",
                "type": "v",
                "parameter": [
                    {
                        "type": "INTEGER",
                        "key": "dataLayerVersion",
                        "value": "2"
                    },
                    {
                        "type": "BOOLEAN",
                        "key": "setDefaultValue",
                        "value": "false"
                    },
                    {
                        "type": "TEMPLATE",
                        "key": "name",
                        "value": "text_action_type"
                    }
                ],
                "fingerprint": "1756069008528",
                "formatValue": {}
            },
            {
                "accountId": "6003760552",
                "containerId": "61980878",
                "variableId": "94",
                "name": "DLV - text - chat_id",
                "type": "v",
                "parameter": [
                    {
                        "type": "INTEGER",
                        "key": "dataLayerVersion",
                        "value": "2"
                    },
                    {
                        "type": "BOOLEAN",
                        "key": "setDefaultValue",
                        "value": "false"
                    },
                    {
                        "type": "TEMPLATE",
                        "key": "name",
                        "value": "chat_id"
                    }
                ],
                "fingerprint": "1756069100245",
                "formatValue": {}
            }
        ],
        "fingerprint": "1756071399256",
        "tagManagerUrl": "https://tagmanager.google.com/#/versions/accounts/6003760552/containers/61980878/versions/0?apiLink=version"
    }
}