<meta name="description"
content="WGS84と日本測地系のokyo Datumの混同により、橋梁E基礎杭いた50mずれて施工された建設事故のケーススタッ。測地系不一致のメカニズムと防止策を詳細に解説。>
<meta name="keywords"
content="測地系ミス, 建設事故, WGS84 日本測地系 違い, 座標変換エラー, 土木測釁E>
<!-- Mobile optimization meta tags -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="apple-mobile-web-app-title" content="Coordinate Converter">
<meta name="theme-color" content="#007bff">
<meta name="msapplication-TileColor" content="#007bff">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://coordinate-converter.com/">
<meta property="og:title"
content="座標事故調査ファイル02Eインフラ建設における測地系不一致の悲劁E>
<meta property="og:description"
content="WGS84と日本測地系のokyo Datumの混同により、橋梁E基礎杭いた50mずれて施工された建設事故のケーススタッ。測地系不一致のメカニズムと防止策を詳細に解説。>
<meta property="og:image" content="https://coordinate-converter.com/static/og-image.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://coordinate-converter.com/">
<meta property="twitter:title"
content="">
<meta property="twitter:description"
content="">
<meta property="twitter:image" content="https://coordinate-converter.com/static/og-image.jpg">
<!-- Canonical URL -->
<!-- Hreflang tags for multilingual SEO -->
<link rel="alternate" hreflang="en" href="https://coordinate-converter.com/datum-mismatch-engineering-case" />
<link rel="alternate" hreflang="ja" href="https://coordinate-converter.com/ja/datum-mismatch-engineering-case" />
<link rel="alternate" hreflang="x-default" href="https://coordinate-converter.com/datum-mismatch-engineering-case" />
<!-- Mobile-specific optimization tags -->
<meta name="format-detection" content="telephone=no">
<meta name="HandheldFriendly" content="true">
<!-- Favicon and app icons -->
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png">
<!-- CSS loaded synchronously to prevent style flashing -->
<link rel="stylesheet" href="/static/style.css?v=12">
<!-- Minimal inline CSS to prevent style flashing -->
<style>
/* Only essential styles to prevent FOUC (Flash of Unstyled Content) */
body {
margin: 0;
font-family: var(--font-body);
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
/* Mobile-first responsive design */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
/* Large screen optimization */
@media (min-width: 1200px) {
.container {
padding: 0 2rem;
}
}
<
<!-- Google Analytics with minimal impact -->
<script>
window.addEventListener('load', function () {
// Load Google Analytics after page load
const script = document.createElement('script');
script.src = 'https://www.googletagmanager.com/gtag/js?id=G-P781K8E4D8';
script.async = true;
document.head.appendChild(script);
script.onload = function () {
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-P781K8E4D8');
};
});
<
<!-- Smooth Navigation Script -->
<script>
// Enhanced mobile navigation
document.addEventListener('DOMContentLoaded', function () {
// Highlight current page in navigation
highlightCurrentPage();
// Mobile navigation enhancements
enhanceMobileNavigation();
});
// Function to highlight current page in navigation
function highlightCurrentPage() {
const currentPath = window.location.pathname;
const navLinks = document.querySelectorAll('.nav-link');
navLinks.forEach(function (link) {
const linkPath = link.getAttribute('href');
if (linkPath === currentPath || (currentPath === '/' && linkPath === '/')) {
link.classList.add('active');
}
});
}
// Function to enhance mobile navigation
function enhanceMobileNavigation() {
const nav = document.querySelector('nav');
const navList = nav.querySelector('ul');
// Add mobile menu toggle for very small screens
if (window.innerWidth <= 480) {
const mobileToggle = document.createElement('button');
mobileToggle.className = 'mobile-menu-toggle';
mobileToggle.innerHTML = '☰';
mobileToggle.setAttribute('aria-label', 'Toggle navigation menu');
mobileToggle.addEventListener('click', function () {
navList.classList.toggle('mobile-open');
mobileToggle.innerHTML = navList.classList.contains('mobile-open') ? 'x : '☰';
});
nav.insertBefore(mobileToggle, navList);
}
// Close mobile menu when clicking outside
document.addEventListener('click', function (event) {
if (!nav.contains(event.target)) {
navList.classList.remove('mobile-open');
const toggle = nav.querySelector('.mobile-menu-toggle');
if (toggle) toggle.innerHTML = '☰';
}
});
}
// Smooth navigation function
function smoothNavigation(event, url) {
// Prevent default behavior
event.preventDefault();
// Close mobile menu if open
const navList = document.querySelector('nav ul');
if (navList.classList.contains('mobile-open')) {
navList.classList.remove('mobile-open');
const toggle = document.querySelector('.mobile-menu-toggle');
if (toggle) toggle.innerHTML = '☰';
}
// Immediately navigate to prevent page overlap
window.location.href = url;
return false;
}
// Page load completion handler
window.addEventListener('load', function () {
// Highlight current page in navigation
highlightCurrentPage();
// Optimize for mobile performance
if ('serviceWorker' in navigator) {
// Consider adding service worker for offline functionality
// navigator.serviceWorker.register('/sw.js');
}
});
// Handle window resize for responsive navigation
window.addEventListener('resize', function () {
const nav = document.querySelector('nav');
const navList = nav.querySelector('ul');
const toggle = nav.querySelector('.mobile-menu-toggle');
if (window.innerWidth > 480) {
navList.classList.remove('mobile-open');
if (toggle) toggle.style.display = 'none';
} else {
if (toggle) toggle.style.display = 'block';
}
});
<
<!-- Structured Data for SEO -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "Coordinate Converter Tool",
"description": "Free online coordinate conversion tool. Convert between MGRS, Latitude/Longitude, UTM coordinates. CSVファイルのサポート, batch processing, and multiple coordinate formats. Perfect for GIS, surveying, and mapping professionals.",
"url": "https://coordinate-converter.com",
"applicationCategory": "UtilityApplication",
"operatingSystem": "Any",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"author": {
"@type": "Organization",
"name": "Coordinate Converter"
},
"featureList": [
"MGRSから緯度経度への変換",
"Latitude/Longitude to MGRS conversion",
"CSV file support",
"Batch processing",
"Free to use",
"Mobile responsive design"
],
"browserRequirements": "Requires JavaScript. Requires HTML5.",
"softwareVersion": "2.0",
"dateModified": "2026-01-11"
}
<
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "Coordinate Converter",
"description": "WGS84と日本測地系のokyo Datumの混同により、橋梁E基礎杭いた50mずれて施工された建設事故のケーススタッ。測地系不一致のメカニズムと防止策を詳細に解説。,
"url": "https://coordinate-converter.com",
"applicationCategory": "Utility",
"operatingSystem": "Web",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
}
}
<
<
<body>
<!-- Navigation Bar -->
<nav>
<div class="container">
<a href="/ja/index.html" class="nav-brand">座標変換ツール<
<ul class="nav-list">
<li><a href="/ja/index.html" class="nav-link">ホーム<<
<li><a href="/ja/mgrs/index.html" class="nav-link">ツール一覧<<
<li><a href="/ja/knowledge-hub/index.html" class="nav-link">ナレッジハブ<<
<li><a href="/ja/coordinate-error-cost-calculator/index.html" class="nav-link">ROI計算機<<
<li><a href="/ja/about/index.html" class="nav-link">概要<<
<li><a href="/ja/contact/index.html" class="nav-link">お問い合わせ<<
<
<button class="mobile-menu-toggle" aria-label="Toggle menu">☰<
<
<
<main class="container">
<h1>座標事故調査ファイル02Eインフラ建設における測地系不一致の悲劁E
<div class="case-study-content">
<style>
.case-section h2 {
border-bottom: 2px solid #d9534f;
padding-bottom: 10px;
margin-top: 30px;
}
.forensic-block,
.technical-block {
background: #f8f9fa;
padding: 15px;
border-radius: 5px;
border-left: 4px solid #d9534f;
}
.checklist-box {
background: #e8f5e9;
padding: 15px;
border-radius: 5px;
border-left: 4px solid #28a745;
}
.checklist-box ul {
list-style-type: none;
padding-left: 0;
}
.checklist-box li {
position: relative;
padding-left: 25px;
margin-bottom: 10px;
}
.checklist-box li:before {
content: "x;
position: absolute;
left: 0;
top: 0;
}
<
<!-- Incident Overview -->
<section class="case-section">
<h2>Incident Overview<
<p>ある大規模な橋梁建設プロジェクトにおいて、「測地系のatumE」に対する根本的な理不足から、基礎杭が設計位置から450メートルも離れた場所に打ち込まれるといた大事故が発生しました。この事例E、GPSデータのGS84Eと古いたE図・地図E日本測地系Eを安全に混ぜ合わせることがいかに危険かを示すE型的な教訓です。
<
<!-- What Went Wrong -->
<section class="case-section">
<h2>What Went Wrong<
<div class="forensic-block">
<p>プロジェクトでは、設計EベEスとして1980年代の古いたE図を使用していたした。これらの図面は<strong>日本測地系のokyo Datum / ベッセル楕円体!Eに基づいたいたした。
<p>一方、測量チームは最新のGNSSのPSE機器を使用して杭の位置出しを行いました。NSSは設計上。strong>WGS84E世界測地系ので動作します。
<p>作業員はCAD図面に記載された座標値を。strong>測地系変換を行うことないたそEままGPSコントローラーに入力しました。PS側は。力された数値をWGS84として処理てしまいたした。
<
<
<!-- Technical Breakdown -->
<section class="case-section">
<h2>Technical Breakdown<
<div class="technical-block">
<p><strong>認識Eズレ:< 座標値 <code>35°40'N, 139°45'E< は、日本測地系では「ある特定E地点A」を持Eます。
<p>しかしWGS84において。く同じ数値 <code>35°40'N, 139°45'E< は、地点Aから<strong>北西に約50メートル<離れた「地点B」を持Eます。
<p>数値の見た目E緯度経度の全く同じであるため、ソフトウェアはエラーをE転しません。単に機械を「数値通りのGS84としての地点BE」に誘導しただけでした。
<p><strong>規模:< 東京付近では、緯度が約12秒、経度が約12秒ずれます。これE地上距離で約50メートルに相当します。
<
<
<!-- Why It Was Missed -->
<section class="case-section">
<h2>Why It Was Missed<
<p>
<p>これは典型的な「サイレントEエラーE静かなる失敗)」でしたの
<ul>
<li><strong>エラー警告ないた< どちらE座標系でも数値自体E数学的な有効でした。
<li><strong>視覚確認E失敁E< 現場は特徴のないた川敷めE上であり、近くに交差点などの「位置ズレに気づけるランドEーク」がありませんでした。
<li><strong>技術への過信:< 「GPSはCM単位で正確だ」といた思い込みが、そもそも「基準(測地系Eが合っていたか?」といた根本的な疑念を排除してしまいたした。
<
<
<
<!-- Consequences -->
<section class="case-section">
<h2>Consequences<
<p>
<p>試験杭いた50メートルずれた位置に施工されました。遠くE山の頂に対するアライメント(見通しEがおかしいとベテラン技術老E気づいた時には、すでに手遅れでした。杭の撤去。測量、工期遅延による損害額E2儁のを趁E、設計会社と測量業老の間で責任を巡る法廷闘争に発展しました。
<
<
<!-- Observed Failure Patterns (Experience Signals) -->
<section class="case-section">
<h2 style="color: #2c3e50;">Observed Failure Patterns & Field Analysis<
<div style="background: #eef2f7; padding: 20px; border-radius: 8px; border: 1px solid #cfd8dc;">
<p style="font-weight: bold; color: #1e88e5; margin-top: 0;">替の的な書に基づく傾向と対筁E
<ul>
<li><strong>ソフトウェアの「暗黙E仮定。< 多くのGIS/CADソフトは、警告なしにインポEトされた数値をWGS84として処理ます。現場ッムは「ソフトがE動で変換してくれた」と思い込む傾向にあります。
<li><strong>検証の空白:< 作業開始時に既知の基準点E三角点等)を実測する「チェッ・ショッ」を義務付けていたいたEロジェクトでは、数日間にわたって系統的なズレが見過ごされる確玁E3倍高くなります。
<
<p
style="font-size: 0.85em; color: #607d8b; margin-top: 15px; border-top: 1px dotted #b0bec5; padding-top: 10px;">
※本替は。皁の野!EAA、JCAB、USCG、国土地理等)E事故速報および監査報告賁Eの幾何学皁の統計的解析に基づいたいます。
<
<
<
<!-- Financial & Operational Impact (Cost of Failure) -->
<section class="case-section">
<h2 style="color: #c0392b;">失敗Eコストと影響 (Cost of Failure)<
<div style="background: #fff5f5; padding: 20px; border-radius: 8px; border: 1px solid #fab1a0;">
<ul>
<li><strong>手戻りコステ< 3,000ドE 。2儁のE誤って配置された構造物の撤去、地理空間データベEスの再構築)。
<li><strong>スケジュールの遁E:< 2。ヶ月(法的レビューおよび構造監査中のプロジェクト停止E。
<li><strong>法的・賠償責任:< 専門職業賠償責任保険の適用外となるリスク、および測量士免許の停止。
<
<p style="font-size: 0.85em; color: #e74c3c; margin-top: 15px; font-style: italic;">
※上記Eコスト篁Eは。表された類似の行政処替訴訟記録、および業界E標準的な稼働コストに基づく保守的な推計です。
<
<
<
<!-- How It Should Have Been Done -->
<section class="case-section">
<h2>How It Should Have Been Done<
<p>
<p>プロジェクト開始時に、厳格な「座標参照系のRSE管理画」を策定する忁Eがあります。古いたータE日本測地系の、現場に配币EめEstrong>剁Eに、国土地理のパラメータのKY2JGDEを使用してプロジェクト測地系のGD2011/WGS84Eに変換しなければなりません。また、現場のGPS機器は、測地系メタデータのないた標E力を拒否するように設定すべきです。
<
<
<!-- Prevention Checklist -->
<section class="case-section">
<h2>Prevention Checklist<
<div class="checklist-box">
<ul>
<li>契約でプロジェクト測地系E例:JGD2011Eを明記する。
<li>古いた面の座標を、変換せずに手E力でGPSに入れないたE
<li>受け取ったCADファイルの測地系情報を忁E確認する。
<li>作業開始前に、忁E既知の基準点Eコントロールポイント)で「チェッ測量」を行う。
<li>「UnknownE不の」や「Local」設定Eまま機器を使用しないたE
<
<
<
<
<!-- Professional Escalation Signals -->
<!-- FAQ -->
<h2>FAQ<
<details>
<summary>Q: 測地系のatumEとは何ですか?の
<p>A: 地理E形を数学的などいた義するかといたモッです。モッが異なれE、地上に同じ場所でも座標E「数値」が変わります。
<
<details>
<summary>Q: ズレはどのくらいますかの
<p>A: WGS84と日本測地系E旧測地系の間では、南東方向に約00。50メートルずれます。これE目視で明らかにわかるレベルですが、海めEでは気づきにくいです。
<
<details>
<summary>Q: 地図をずらせば直りますかの
<p>A: いいえ。ズレ方は場所によって異なる(非線形Eため、単純な平行移動では修正できません。TKY2JGDなどの数学的な換が忁Eです。
<
<details>
<summary>Q: 常にWGS84を使えE良いたEですか?の
<p>A: GPS機器にとってはYesですが、日本の公共測量ではJGD2011のGS84とほぼ同じだが厳寁Eは異なる)が法的な正解です。
<
<!-- Recommended For -->
<!-- Common Mistakes -->
<!-- Excel Issues -->
<!-- Business Examples -->
<!-- Professional Verification Disclaimer -->
<div
style="margin-top: 50px; padding: 20px; border-top: 2px solid #dfe6e9; background-color: #f8f9fa; font-size: 0.9em; line-height: 1.6;">
<p style="font-weight: bold; color: #2d3436;">専門的な証に関する免責事項
<p style="color: #636e72;">
本サイトEコンッス、地理空間Eプロフェッショナル向けの意思決定支援および教育を目的なして提供されており、法的助言、測量、またE工学的な言を構EするもEではありません。
規定および公定規格は法域めのロジェクトE性質によって異なります。本情報は2026年1朁E1日現在の公開規格に基づいたいます。
重要なプロジェクトにおいては、忁E以下E賁Eを持つ専門家に相諁E、最新の要件を確認してくください。
<
<ul style="color: #636e72;">
<li>同域の免許を持つ測量士またE技術士<
<li>法的解釈についたは公認E弁護士<
<li>関係各省庁E国土交通省、国土地理、FAA、JCAB等)E最新ガイドライン<
<
<p style="font-size: 0.85em; color: #b2bec3;">参照E。a
href="/ja/professional-use-and-scope/index.html">専門的な用と篁E<。
<
<!-- Related ツール一覧 -->
<h2>Related Coordinate Conversion ツール一覧<
<ul>
<li><a href="/ja/professional-coordinate-review-process/index.html">座標QAプロセス<<<li><a href="/ja/convert-wgs84-to-tokyo/index.html">日本測地系変換<<
<
<!-- State Plane (SPCS) ツール一覧 -->
<section class="spcs-hubs" style="margin-top: 40px; padding: 20px; background: #f8f9fa; border-top: 3px solid #007bff; border-radius: 8px;">
<h2 style="margin-top: 0;">US State Plane (SPCS) Converters & Local Guides<
<p>Professional engineering and surveying transformations from state-specific conformal grids to GPS WGS84.<
<ul style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; list-style: none; padding: 0;">
<li><a href="/california-state-plane-coordinate-system/index.html" style="text-decoration: none; font-weight: bold; color: var(--accent);">📍 California SPCS Zones<<
<li><a href="/texas-state-plane-coordinate-system/index.html" style="text-decoration: none; font-weight: bold; color: var(--accent);">📍 Texas SPCS Zones<<
<li><a href="/florida-state-plane-coordinate-system/index.html" style="text-decoration: none; font-weight: bold; color: var(--accent);">📍 Florida SPCS Zones<<
<li><a href="/new-york-state-plane-coordinate-system/index.html" style="text-decoration: none; font-weight: bold; color: var(--accent);">📍 New York SPCS Zones<<
<li><a href="/illinois-state-plane-coordinate-system/index.html" style="text-decoration: none; font-weight: bold; color: var(--accent);">📍 Illinois SPCS Zones<<
<
<
<!-- Phase 13: Professional Funnel Risk Callout -->
<div class="p13-risk-callout" style="background:linear-gradient(135deg,#fff3cd,#fff8e1); border-left:5px solid #f39c12; border-radius:8px; padding:18px 20px; margin:25px 0; display:flex; align-items:flex-start; gap:14px;">
<div style="font-size:1.8em; flex-shrink:0;">⚠️
<div>
<div style="font-weight:800; color:#856404; font-size:1em; margin-bottom:5px;">Professional Risk Notice<
<p style="margin:0 0 10px; font-size:0.92em; color:#533f03; line-height:1.6;">Using the wrong datum or applying coordinates without grid-to-ground correction can cause <strong>1-400 metre positional errors< —a leading cause of surveying negligence claims and contract disputes.<
<div style="display:flex; gap:12px; flex-wrap:wrap;">
<a href="/datum-error-lawsuit-analysis/index.html" style="font-size:0.85em; font-weight:bold; color:#e74c3c; text-decoration:none; border-bottom:1px dashed #e74c3c;">📋 See Legal Cases ($25K—10M) <
<a href="/coordinate-system-contract-risk/index.html" style="font-size:0.85em; font-weight:bold; color:#8e44ad; text-decoration:none; border-bottom:1px dashed #8e44ad;">📝 Contract Datum Risk <
<a href="/survey-risk-simulator/index.html" style="font-size:0.85em; font-weight:bold; color:#0984e3; text-decoration:none; border-bottom:1px dashed #0984e3;">⚙️Calculate My Exposure <
<
<
<
<
<!-- Footer -->
<style>
/* Footer specific styles */
.footer-toggle {
color: #74b9ff;
border-bottom: 2px solid #74b9ff;
padding-bottom: 10px;
margin-bottom: 15px;
/* Add spacing so closed accordion looks good */
}
/* Mobile Accordion Styles */
@media (max-width: 768px) {
/* Mobile nav dropdown fix */
li.dropdown.active .dropdown-menu {
display: flex;
position: static;
box-shadow: none;
border: none;
background: transparent;
padding-left: 1rem;
}
.footer-toggle {
cursor: pointer;
position: relative;
border-bottom: 1px solid #636e72;
/* Subtle divider */
padding-bottom: 15px;
margin-bottom: 0;
color: #dfe6e9 !important;
/* Unified color on mobile */
}
.footer-toggle::after {
content: '+';
position: absolute;
right: 0;
font-weight: bold;
}
.footer-toggle.active::after {
content: '-';
}
.footer-links {
display: none;
padding-bottom: 20px !important;
}
.footer-links.active {
display: block;
}
}
<
<footer>
<div class="container" style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px;">
<div>
<h4>ツール<
<ul>
<li><a href="/ja/index.html">緯度経度・MGRS変換<<
<li><a href="/ja/mgrs/index.html">全ツール一覧<<
<li><a href="/ja/coordinate-error-cost-calculator/index.html">ROI計算機<<
<
<
<div>
<h4>プロフェッショナル<
<ul>
<li><a href="/ja/knowledge-hub/index.html">ナレッジハブ<<
<li><a href="/ja/reality-anchors/index.html">ケーススタディ<<
<li><a href="/ja/legal-exposure/index.html">法的リスクガイド<<
<
<
<div>
<h4>サポート<
<ul>
<li><a href="/ja/about/index.html">当サイトについて<<
<li><a href="/ja/contact/index.html">お問い合わせ<<
<li><a href="/ja/help/index.html">ヘルプセンター<<
<
<
<div>
<h4>法的情報<
<ul>
<li><a href="/ja/privacy/index.html">プライバシーポリシー<<
<li><a href="/ja/terms-of-service/index.html">利用規約<<
<
<
<
<div class="footer-bottom">
<p>© 2026 座標変換ツール。高精度ジオマティクス・ソリューション。All rights reserved.<
<
<
<script>
function toggleFooter(element) {
if (window.innerWidth <= 768) {
element.classList.toggle('active');
const nextUl = element.nextElementSibling;
if (nextUl) {
nextUl.classList.toggle('active');
}
}
}
<
<!-- Custom Telemetry Events -->
<script>
document.addEventListener('DOMContentLoaded', function() {
if (typeof gtag !== 'function') return;
// Track 50% Scroll Depth (High-Intent Indicator)
let scrollTracked = false;
window.addEventListener('scroll', function() {
if (!scrollTracked) {
let scrollPercent = (window.scrollY + window.innerHeight) / document.documentElement.scrollHeight;
if (scrollPercent >= 0.5) {
gtag('event', 'scroll_depth', {
'event_category': 'Engagement',
'event_label': '50_percent_reached',
'value': 1
});
scrollTracked = true;
}
}
});
// Track Smart CTA Clicks for Navigation Analytics
document.querySelectorAll('.smart-cta a, .action-card, .btn-primary').forEach(link => {
link.addEventListener('click', function(e) {
let href = this.getAttribute('href');
gtag('event', 'cta_click', {
'event_category': 'Navigation',
'event_label': href,
'value': 10
});
});
});
// Track FAQ Interactions
document.querySelectorAll('details summary').forEach(faq => {
faq.addEventListener('click', function() {
let questionText = this.textContent.trim().replace('▼', '');
gtag('event', 'faq_expansion', {
'event_category': 'Engagement',
'event_label': questionText,
'value': 2
});
});
});
});
<
<!-- Phase 13: Segment Analytics -->
<script>
(function() {
if (typeof gtag !== 'function') return;
gtag('event', 'segment_view', {
'page_category': 'tool',
'page_path': window.location.pathname
});
// Also fire on GA4 as a custom user property
gtag('set', 'user_properties', {'site_segment': 'tool'});
})();
<
<
<