{
    "api_version": "1",
    "kind": "dse_post",
    "self": "https://update.dsesecurity.com/api/v1/posts/dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags/",
    "item": {
        "id": "https://update.dsesecurity.com/updates/dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags/",
        "slug": "dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags",
        "url": "https://update.dsesecurity.com/updates/dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags/",
        "alternate_urls": {
            "markdown": "https://update.dsesecurity.com/updates/dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags.md",
            "json": "https://update.dsesecurity.com/api/v1/posts/dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags/"
        },
        "title": "Review application-wide click attribution when introducing parent tags",
        "summary": "Does adding a Click Analytics parentDataTag affect only the element where it first appears?",
        "format": {
            "slug": "guide",
            "name": "Guide"
        },
        "priority": {
            "slug": "info",
            "name": "Information"
        },
        "featured": false,
        "image": {
            "theme": "managed-it",
            "label": "Managed IT operations",
            "alt": "A controlled technology lifecycle progressing from assessment to approved production.",
            "card_url": "https://update.dsesecurity.com/assets/editorial/managed-it-card.webp?v=1.8.20",
            "hero_url": "https://update.dsesecurity.com/assets/editorial/managed-it-hero.webp?v=1.8.20",
            "social_url": "https://update.dsesecurity.com/assets/editorial/managed-it-social-v2.jpg?v=1.8.20",
            "width": 2400,
            "height": 1350
        },
        "topics": [
            {
                "slug": "it",
                "name": "IT",
                "url": "https://update.dsesecurity.com/topic/it/"
            }
        ],
        "author": {
            "name": "DSE Security Editorial Team",
            "url": "https://update.dsesecurity.com/#editorial-team",
            "type": "Organization"
        },
        "publisher": {
            "name": "Detection Systems & Engineering",
            "url": "https://dsesecurity.com/"
        },
        "published_at": "2026-09-10T00:23:40+00:00",
        "modified_at": "2026-09-10T02:08:05+00:00",
        "reviewed_on": "2026-09-09",
        "reading_minutes": 2,
        "word_count": 241,
        "potentially_affected": "Web applications using the Application Insights Click Analytics plug-in and parentDataTag attribution.",
        "dse_recommendation": "Treat the first parent-tag introduction as an application-wide instrumentation change and test attribution outside the edited component.",
        "primary_source": {
            "name": "Feature extensions for Application Insights JavaScript SDK (Click Analytics) - Azure Monitor | Microsoft Learn",
            "url": "https://learn.microsoft.com/en-us/azure/azure-monitor/app/javascript-feature-extensions",
            "published_on": null,
            "authority": "Microsoft Learn"
        },
        "publishing_principles": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
        "usage_info": "https://update.dsesecurity.com/usage/",
        "copyright_notice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
        "content_html": "<h2>Source facts</h2>\n<p>Microsoft cautions that introducing parentDataTag on an application&#8217;s HTML element makes the Click Analytics SDK look for parent tags throughout that application, not only at the edited element. An explicit data-parentid or prefixed parentid attribute takes precedence over parentDataTag. For the HEART workbook integration, the documentation says parentDataTag must be declared in the application&#8217;s other parts for HEART events to be logged or detected. <a href=\"https://learn.microsoft.com/en-us/azure/azure-monitor/app/javascript-feature-extensions\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Learn</a>.</p>\n<h2>Applicability</h2>\n<p>Use this scope review when adding parent attribution to existing click collection. Consider components that were not edited, shared navigation and dynamically rendered controls, rather than assessing only the first tagged button.</p>\n<h2>DSE recommendation</h2>\n<p>Treat the first parent-tag introduction as an application-wide instrumentation change and test attribution outside the edited component. Define the intended parent identifier for representative controls and identify explicit parentid overrides. If HEART is used, include its event requirements in that review. Keep parent identifiers stable and free of sensitive content through the application&#8217;s own telemetry design decisions.</p>\n<h2>Verification</h2>\n<p>Compare recorded parentId values before and after the approved change across both edited and unchanged components. Include a control with an explicit parentid and one that relies on parent discovery. Confirm the expected attribution and inspect missing or unexpected parents before using the data for comparisons. Preserve the tested component list so a later shared-layout change triggers a targeted review instead of silently changing the meaning of click groups.</p>\n<h2>Official references</h2>\n<p><a href=\"https://learn.microsoft.com/en-us/azure/azure-monitor/app/javascript-feature-extensions\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Learn: Click Analytics parent attribution</a>. Source reviewed September 9, 2026.</p>",
        "content_text": "Source facts\nMicrosoft cautions that introducing parentDataTag on an application’s HTML element makes the Click Analytics SDK look for parent tags throughout that application, not only at the edited element. An explicit data-parentid or prefixed parentid attribute takes precedence over parentDataTag. For the HEART workbook integration, the documentation says parentDataTag must be declared in the application’s other parts for HEART events to be logged or detected. Microsoft Learn.\nApplicability\nUse this scope review when adding parent attribution to existing click collection. Consider components that were not edited, shared navigation and dynamically rendered controls, rather than assessing only the first tagged button.\nDSE recommendation\nTreat the first parent-tag introduction as an application-wide instrumentation change and test attribution outside the edited component. Define the intended parent identifier for representative controls and identify explicit parentid overrides. If HEART is used, include its event requirements in that review. Keep parent identifiers stable and free of sensitive content through the application’s own telemetry design decisions.\nVerification\nCompare recorded parentId values before and after the approved change across both edited and unchanged components. Include a control with an explicit parentid and one that relies on parent discovery. Confirm the expected attribution and inspect missing or unexpected parents before using the data for comparisons. Preserve the tested component list so a later shared-layout change triggers a targeted review instead of silently changing the meaning of click groups.\nOfficial references\nMicrosoft Learn: Click Analytics parent attribution. Source reviewed September 9, 2026.",
        "content_markdown": "## Source facts\n\nMicrosoft cautions that introducing parentDataTag on an application’s HTML element makes the Click Analytics SDK look for parent tags throughout that application, not only at the edited element. An explicit data-parentid or prefixed parentid attribute takes precedence over parentDataTag. For the HEART workbook integration, the documentation says parentDataTag must be declared in the application’s other parts for HEART events to be logged or detected. [Microsoft Learn](https://learn.microsoft.com/en-us/azure/azure-monitor/app/javascript-feature-extensions).\n\n## Applicability\n\nUse this scope review when adding parent attribution to existing click collection. Consider components that were not edited, shared navigation and dynamically rendered controls, rather than assessing only the first tagged button.\n\n## DSE recommendation\n\nTreat the first parent-tag introduction as an application-wide instrumentation change and test attribution outside the edited component. Define the intended parent identifier for representative controls and identify explicit parentid overrides. If HEART is used, include its event requirements in that review. Keep parent identifiers stable and free of sensitive content through the application’s own telemetry design decisions.\n\n## Verification\n\nCompare recorded parentId values before and after the approved change across both edited and unchanged components. Include a control with an explicit parentid and one that relies on parent discovery. Confirm the expected attribution and inspect missing or unexpected parents before using the data for comparisons. Preserve the tested component list so a later shared-layout change triggers a targeted review instead of silently changing the meaning of click groups.\n\n## Official references\n\n[Microsoft Learn: Click Analytics parent attribution](https://learn.microsoft.com/en-us/azure/azure-monitor/app/javascript-feature-extensions). Source reviewed September 9, 2026."
    },
    "json_ld": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://dsesecurity.com/#organization",
                "name": "Detection Systems & Engineering",
                "alternateName": "DSE Security",
                "url": "https://dsesecurity.com/",
                "logo": {
                    "@type": "ImageObject",
                    "url": "https://update.dsesecurity.com/assets/dse-logo-20260812.png?v=1.8.20"
                }
            },
            {
                "@type": "Organization",
                "@id": "https://update.dsesecurity.com/#editorial-team",
                "name": "DSE Security Editorial Team",
                "url": "https://update.dsesecurity.com/",
                "parentOrganization": {
                    "@id": "https://dsesecurity.com/#organization"
                }
            },
            {
                "@type": "WebSite",
                "@id": "https://update.dsesecurity.com/#website",
                "name": "DSE Updates",
                "alternateName": "DSE Security Knowledge Hub",
                "url": "https://update.dsesecurity.com/",
                "inLanguage": "en-US",
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "potentialAction": {
                    "@type": "SearchAction",
                    "target": {
                        "@type": "EntryPoint",
                        "urlTemplate": "https://update.dsesecurity.com/?q={search_term_string}"
                    },
                    "query-input": "required name=search_term_string"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://update.dsesecurity.com/updates/dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags/",
                "url": "https://update.dsesecurity.com/updates/dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags/",
                "isPartOf": {
                    "@id": "https://update.dsesecurity.com/#website"
                },
                "lastReviewed": "2026-09-09"
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://update.dsesecurity.com/updates/dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags/#breadcrumbs",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "DSE Updates",
                        "item": "https://update.dsesecurity.com/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Review application-wide click attribution when introducing parent tags",
                        "item": "https://update.dsesecurity.com/updates/dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags/"
                    }
                ]
            },
            {
                "@type": [
                    "Article",
                    "TechArticle"
                ],
                "@id": "https://update.dsesecurity.com/updates/dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags/#article",
                "identifier": "https://update.dsesecurity.com/updates/dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags/",
                "url": "https://update.dsesecurity.com/updates/dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags/",
                "headline": "Review application-wide click attribution when introducing parent tags",
                "description": "Does adding a Click Analytics parentDataTag affect only the element where it first appears?",
                "abstract": "Does adding a Click Analytics parentDataTag affect only the element where it first appears?",
                "articleBody": "Source facts\nMicrosoft cautions that introducing parentDataTag on an application’s HTML element makes the Click Analytics SDK look for parent tags throughout that application, not only at the edited element. An explicit data-parentid or prefixed parentid attribute takes precedence over parentDataTag. For the HEART workbook integration, the documentation says parentDataTag must be declared in the application’s other parts for HEART events to be logged or detected. Microsoft Learn.\nApplicability\nUse this scope review when adding parent attribution to existing click collection. Consider components that were not edited, shared navigation and dynamically rendered controls, rather than assessing only the first tagged button.\nDSE recommendation\nTreat the first parent-tag introduction as an application-wide instrumentation change and test attribution outside the edited component. Define the intended parent identifier for representative controls and identify explicit parentid overrides. If HEART is used, include its event requirements in that review. Keep parent identifiers stable and free of sensitive content through the application’s own telemetry design decisions.\nVerification\nCompare recorded parentId values before and after the approved change across both edited and unchanged components. Include a control with an explicit parentid and one that relies on parent discovery. Confirm the expected attribution and inspect missing or unexpected parents before using the data for comparisons. Preserve the tested component list so a later shared-layout change triggers a targeted review instead of silently changing the meaning of click groups.\nOfficial references\nMicrosoft Learn: Click Analytics parent attribution. Source reviewed September 9, 2026.",
                "datePublished": "2026-09-10T00:23:40+00:00",
                "dateModified": "2026-09-10T02:08:05+00:00",
                "mainEntityOfPage": {
                    "@id": "https://update.dsesecurity.com/updates/dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags/"
                },
                "inLanguage": "en-US",
                "isAccessibleForFree": true,
                "author": {
                    "@type": "Organization",
                    "name": "DSE Security Editorial Team",
                    "url": "https://update.dsesecurity.com/#editorial-team"
                },
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "image": {
                    "@type": "ImageObject",
                    "@id": "https://update.dsesecurity.com/updates/dse-20260909-496-review-application-wide-click-attribution-when-introducing-parent-tags/#primaryimage",
                    "url": "https://update.dsesecurity.com/assets/editorial/managed-it-social-v2.jpg?v=1.8.20",
                    "contentUrl": "https://update.dsesecurity.com/assets/editorial/managed-it-social-v2.jpg?v=1.8.20",
                    "width": 1200,
                    "height": 630,
                    "caption": "Review application-wide click attribution when introducing parent tags"
                },
                "articleSection": [
                    "IT"
                ],
                "keywords": [
                    "IT",
                    "Guide",
                    "Information priority"
                ],
                "genre": "Guide",
                "about": [
                    {
                        "@type": "Thing",
                        "name": "IT",
                        "url": "https://update.dsesecurity.com/topic/it/"
                    }
                ],
                "wordCount": 241,
                "timeRequired": "PT2M",
                "publishingPrinciples": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
                "usageInfo": "https://update.dsesecurity.com/usage/",
                "copyrightHolder": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "copyrightNotice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
                "citation": {
                    "@type": "CreativeWork",
                    "name": "Feature extensions for Application Insights JavaScript SDK (Click Analytics) - Azure Monitor | Microsoft Learn",
                    "url": "https://learn.microsoft.com/en-us/azure/azure-monitor/app/javascript-feature-extensions"
                }
            }
        ]
    }
}