<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yubachiri</author_name>
  <author_url>https://blog.hatena.ne.jp/yubachiri/</author_url>
  <blog_title>もふもふ技術部</blog_title>
  <blog_url>https://www.mof-mof.co.jp/tech-blog/</blog_url>
  <categories>
    <anon>Nuxt.js</anon>
    <anon>TypeScript</anon>
    <anon>GoogleAnalytics</anon>
  </categories>
  <description>あるものがどれくらいクリックされたかを計測したかったんですが、多少詰まったのでポイントを置いておきます。 技術スタックは - Nuxt: 2.12.2 - TypeScript: 3.8.3 - @nuxtjs/google-analytics: 2.2.3 といった具合です。 詰まったのは、あちこちで紹介されている this.$ga.event() が落ちるという部分でした。 vue-class-componentはたぶんあまり関係なく、型指定の問題でした。 tl;dr まっさらな状態からイベント計測できるところまでを紹介しますが、取り急ぎ上記問題を解決したい方はこちら。 プロジェクトルート…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mof-mof.co.jp%2Ftech-blog%2Fga-with-nuxt-ts&quot; title=&quot;Google Analyticsのイベント計測を行う Nuxt + typescript (vue-class-component) - もふもふ技術部&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-13 13:00:00</published>
  <title>Google Analyticsのイベント計測を行う Nuxt + typescript (vue-class-component)</title>
  <type>rich</type>
  <url>https://www.mof-mof.co.jp/tech-blog/ga-with-nuxt-ts</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
