champierre / tm2scratch

Connect Google Teachable Machine with Scratch
https://champierre.github.io/tm2scratch/
BSD 3-Clause "New" or "Revised" License
25 stars 28 forks source link

tm2scatch が読み込まれた回数を計測したい #16

Closed champierre closed 4 years ago

champierre commented 4 years ago

scratch-gui > src > lib > analytics.js

をいじるとできるのかもしれない。

champierre commented 4 years ago

index.html の head 内で ga タグを挿入、scratch-vm/src/extension-support/extension-manger.js#163 に以下を追加することで対応

            gtag('event', 'load_extension', {
              'event_category': extensionURL
            });
スクリーンショット 2020-03-08 18 09 19
champierre commented 4 years ago

@ukkari クローズしますね

ukkari commented 4 years ago

LGTM. Thanks!