[{"data":1,"prerenderedAt":145},["ShallowReactive",2],{"tech-article":3},{"id":4,"title":5,"body":6,"date":132,"description":133,"extension":134,"meta":135,"navigation":136,"path":137,"seo":138,"stem":139,"tags":140,"__hash__":144},"tech/tech/gtm-custom-dimension-typescript.md","【GTM】TypeScriptでカスタムディメンションを取得する",{"type":7,"value":8,"toc":122},"minimark",[9,13,17,28,31,83,86,89,93],[10,11,12],"h2",{"id":12},"はじめに",[14,15,16],"p",{},"Universal AnalyticsからGA4への移行に伴い、Google Tag Manager（GTM）を活用してタグ管理を一元化し、TypeScriptでカスタムディメンションを取得する方法を解説しています。",[14,18,19,20,27],{},"本記事の詳細は ",[21,22,26],"a",{"href":23,"rel":24},"https://tech-blog.cloud-config.jp/2023-07-26-get-custom-dimension-in-typescript",[25],"nofollow","cloud-config tech blogの記事"," をご覧ください。",[10,29,30],{"id":30},"技術スタック",[32,33,34,47],"table",{},[35,36,37],"thead",{},[38,39,40,44],"tr",{},[41,42,43],"th",{},"項目",[41,45,46],{},"内容",[48,49,50,59,67,75],"tbody",{},[38,51,52,56],{},[53,54,55],"td",{},"言語",[53,57,58],{},"TypeScript",[38,60,61,64],{},[53,62,63],{},"フレームワーク",[53,65,66],{},"Nuxt.js",[38,68,69,72],{},[53,70,71],{},"タグ管理",[53,73,74],{},"Google Tag Manager（GTM）",[38,76,77,80],{},[53,78,79],{},"アナリティクス",[53,81,82],{},"Google Analytics 4（GA4）",[10,84,85],{"id":85},"概要",[14,87,88],{},"GTMの導入からカスタムディメンションの設定、データレイヤー連携、APIベースのデータ収集までを実践的に解説しています。",[90,91,92],"h3",{"id":92},"ポイント",[94,95,96,104,110,116],"ul",{},[97,98,99,103],"li",{},[100,101,102],"strong",{},"GTMの導入・設定",": インストールからタグの設定まで",[97,105,106,109],{},[100,107,108],{},"カスタムディメンションの設計",": GA4でのディメンション定義と設定",[97,111,112,115],{},[100,113,114],{},"データレイヤー連携",": GTMとアプリケーション間のデータ受け渡し",[97,117,118,121],{},[100,119,120],{},"APIによる動的データ収集",": 環境変数を活用した柔軟なデータ取得",{"title":123,"searchDepth":124,"depth":124,"links":125},"",2,[126,127,128],{"id":12,"depth":124,"text":12},{"id":30,"depth":124,"text":30},{"id":85,"depth":124,"text":85,"children":129},[130],{"id":92,"depth":131,"text":92},3,"2023-07-26","Google Tag ManagerとGA4を活用し、TypeScript（Nuxt.js）でカスタムディメンションを取得する方法を解説します","md",{},true,"/tech/gtm-custom-dimension-typescript",{"title":5,"description":133},"tech/gtm-custom-dimension-typescript",[58,141,142,143],"Google Tag Manager","GA4","Nuxt","po8707AAt9GGzD7fSmqHYG6QzfRpRXUKi9jsbq5cLBI",1774835869776]