<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>theialye</author_name>
  <author_url>https://blog.hatena.ne.jp/theialye/</author_url>
  <blog_title>エキサイト TechBlog.</blog_title>
  <blog_url>https://tech.excite.co.jp/</blog_url>
  <categories>
  </categories>
  <description>こんにちは。エキサイトでエンジニアをしている奥川です。今回はGoogle Tag Managerでクリックイベントの計測を行う際のテクニックをご紹介します。 Google Tag でクリックイベントを計測する際は要素の指定をさまざま方法で行います。詳細はGoogleのドキュメントをご覧ください。 support.google.com 今回は組み込み変数 Click ID を用いて、クリックされた要素のIDが特定の値の場合にイベントを発火させる場合のテクニックを紹介します。IDを用いる場合は次のようにDOM要素にIDを指定することで、どの要素がクリックされたかを判別します。 &lt;div id=&quot;t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2024%2F12%2F17%2F110936&quot; title=&quot;IDを付与した要素の子要素がクリックされた際にもGoogle Tagでクリックイベントを測定できるようにする - エキサイト TechBlog.&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/theialye/20241003/20241003161225.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-12-17 11:09:36</published>
  <title>IDを付与した要素の子要素がクリックされた際にもGoogle Tagでクリックイベントを測定できるようにする</title>
  <type>rich</type>
  <url>https://tech.excite.co.jp/entry/2024/12/17/110936</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
