Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Matomoを使ってみた
Search
Tiphaine
July 21, 2023
Technology
0
2k
Matomoを使ってみた
potatotips #83 iOS/Android開発Tips共有会
https://potatotips.connpass.com/event/287244/
Tiphaine
July 21, 2023
Tweet
Share
More Decks by Tiphaine
See All by Tiphaine
2024年のナビゲーション・フォーカス対応:Composeでキーボード・ナビゲーションをサポートしよう
tahia910
0
480
Navigation Focus Support in 2024: Support Keyboard Navigation with Compose!
tahia910
0
68
Handling focus in 2024
tahia910
0
1.1k
文字拡大されても怖くない レイアウト作りのコツ
tahia910
4
2.8k
社内でできるアクセシビリティのはじめかた
tahia910
3
620
Raise accessibility awareness at work as an Android developer
tahia910
1
140
社内でのアクセシビリティ推進
tahia910
3
5.2k
Promoting mobile accessibility at work
tahia910
0
230
GitHubのユーザー名を変更した後のあれこれ
tahia910
0
500
Other Decks in Technology
See All in Technology
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
28
12k
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.7k
「視座」の上げ方が成人発達理論にわかりやすくまとまってた / think_ perspective_hidden_dimensions
shuzon
2
15k
AWS パートナー企業でテクニカルサポートに従事して 3年経ったので思うところをまとめてみた
kazzpapa3
1
200
TinyGoを使ったVSCode拡張機能実装
askua
2
190
株式会社ログラス − エンジニア向け会社説明資料 / Loglass Comapany Deck for Engineer
loglass2019
3
28k
re:Invent 2024のおすすめセッション
beli68
0
110
10分でわかるfreee エンジニア向け会社説明資料
freee
18
520k
Fargateを使った研修の話
takesection
0
160
Amazon_CloudWatch_ログ異常検出_導入ガイド
tsujiba
4
1.8k
Autify Company Deck
autifyhq
1
39k
AI機能の開発運用のリアルと今後のリアル
akiroom
0
210
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Practical Orchestrator
shlominoach
186
10k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
390
GraphQLとの向き合い方2022年版
quramy
43
13k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Navigating Team Friction
lara
183
14k
Git: the NoSQL Database
bkeepers
PRO
427
64k
The Language of Interfaces
destraynor
154
24k
Transcript
.BUPNPΛͬͯΈͨ 1PUBUPUJQT5JQIBJOF
5JQIBJOFʢςΟϑΣϯʣ ‣ "OESPJEΤϯδχΞ ‣ ϝυϐΞגࣜձࣾʢLBLBSJʣ
‣ ղੳϓϥοτϑΥʔϜʢ(PPHMF"OBMZUJDTΈ͍ͨʣ ‣ ΦʔϓϯιʔεɹˠɹHJUIVCDPNNBUPNPPSH ‣ (%13Λ९क͍ͯ͠Δ͔Β&6ͰΑ͘ΘΕ͍ͯΔ
̏ͭͷόʔδϣϯ ‣ ༗ྉ ‣ ͍͍͢ ‣ &6ͷαʔόʔ ‣ ແྉ ‣
ηοτΞοϓ͕ਏ͍ ‣ ࣗͷαʔόʔ ‣ ແྉ ‣ ͍͍͢ ‣ ʁ
͕࣌ؒͳ͍͔Β ࠓճ$MPVEʹ͢Δ😇
4FUVQ 1⃣ొ ‣ ϝΞυɿϢʔβʔ໊ʹͳΔɹ ⚠Ϣʔβʔ໊ޙͰมߋෆՄ ‣ υϝΠϯ໊ɿࠓճదʹ UBIJBGSʹ͢Δ
4FUVQ dependencies { implementation "com.github.matomo-org:matomo-sdk-android:4.1.4" } repositories { maven {
url 'https://jitpack.io' } } IUUQTHJUIVCDPNNBUPNPPSHNBUPNPTELBOESPJE 2⃣%FQFOEFODZՃ
4FUVQ .BUPNP"QQMJDBUJPOΛܧঝ͢Δ ͘͠ 5SBDLFSͷγϯάϧτϯΠϯελϯεΛ࡞Δ 3⃣ॳظԽ.BUPNP"QQMJDBUJPOΛܧঝ͢Δ 3⃣ॳظԽ
4FUVQ 3⃣ॳظԽ.BUPNP"QQMJDBUJPOΛܧঝ͢Δ import org.matomo.sdk.extra.MatomoApplication // ΞϓϦͷApplication()Λ্ॻ͖ class MySuperApplication : Application()
{ override fun onCreate() { super.onCreate() // DaggerTimberͳͲ৭ʑॳظԽ } }
4FUVQ 3⃣ॳظԽ.BUPNP"QQMJDBUJPOΛܧঝ͢Δ import org.matomo.sdk.extra.MatomoApplication // ΞϓϦͷApplication()Λ্ॻ͖ class MySuperApplication : MatomoApplication()
{ override fun onCreate() { super.onCreate() // DaggerTimberͳͲ৭ʑॳظԽ } }
4FUVQ 3⃣ॳظԽ.BUPNP"QQMJDBUJPOΛܧঝ͢Δ import org.matomo.sdk.TrackerBuilder class MySuperApplication : MatomoApplication() { //
… override fun onCreateTrackerConfig(): TrackerBuilder { return TrackerBuilder.createDefault( // apiUrl: "${μογϡϘʔυͷURL}/matomo.php" "https://tahia910.matomo.cloud/matomo.php", // sideId: ʮઃఆʯ → ʮΣϒαΠτʯ → ʮཧʯͰ֬ೝͰ͖Δ 1 ) } }
4FUVQ 3⃣ॳظԽ.BUPNP"QQMJDBUJPOΛܧঝ͢Δ import org.matomo.sdk.TrackerBuilder class MySuperApplication : MatomoApplication() { //
… override fun onCreateTrackerConfig(): TrackerBuilder { return TrackerBuilder.createDefault( // apiUrl: "${μογϡϘʔυͷURL}/matomo.php" "https://tahia910.matomo.cloud/matomo.php", // sideId: ʮઃఆʯ → ʮΣϒαΠτʯ → ʮཧʯͰ֬ೝͰ͖Δ 1 ) } }
4FUVQ 3⃣ॳظԽ.BUPNP"QQMJDBUJPOΛܧঝ͢Δ import org.matomo.sdk.TrackerBuilder class MySuperApplication : MatomoApplication() { //
… override fun onCreateTrackerConfig(): TrackerBuilder { return TrackerBuilder.createDefault( // apiUrl: "${μογϡϘʔυͷURL}/matomo.php" "https://tahia910.matomo.cloud/matomo.php", // siteId: ʮઃఆʯ → ʮΣϒαΠτʯ → ʮཧʯͰ֬ೝͰ͖Δ 1 ) } }
4FUVQ 3⃣ॳظԽ.BUPNP"QQMJDBUJPOΛܧঝ͢Δ import org.matomo.sdk.TrackerBuilder class MySuperApplication : MatomoApplication() { //
… override fun onCreateTrackerConfig(): TrackerBuilder { return TrackerBuilder.createDefault( // apiUrl: "${μογϡϘʔυͷURL}/matomo.php" "https://tahia910.matomo.cloud/matomo.php", // siteId: ʮઃఆʯ → ʮΣϒαΠτʯ → ʮཧʯͰ֬ೝͰ͖Δ 1 ) } }
4FUVQ 4⃣ΠϕϯτΛૹ৴͢Δ import org.matomo.sdk.extra.MatomoApplication class MainActivity : ComponentActivity() { override
fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) val tracker = (application as MatomoApplication).tracker //… } }
4FUVQ 4⃣ΠϕϯτΛૹ৴͢Δ import org.matomo.sdk.extra.TrackHelper class MainActivity : ComponentActivity() { override
fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) val tracker = (application as MatomoApplication).tracker TrackHelper.track() .screen("/main_activity") .title("MainActivity") .with(tracker) } }
݁Ռ🎉 🙈
ϞόΠϧΞϓϦͰࢹͰ͖Δʂ
1SPT$POT ‣ ηΩϡϦςΟੑɺϓϥΠόγʔॏࢹҹ ‣ ແྉͰ͑ΔɺσʔλετϨʔδ੍ݶແ͠ ‣ ΧελϚΠζੑ
1SPT$POT ‣ هࣄͳͲࢀߟ͕গͳ͍😥 ‣ ແྉ൛αʔόʔαΠυͷ͕ࣝඞཁ ‣ ຊޠ༁͕த్ʁX
ࢀߟ ‣ NBUPNPMBOHVBHFLPUMJO(JUIVCݕࡧ😇 ‣ .BUPNP%FWFMPQFS%PD ‣ ඇΤϯδχΞͷͨΊͷઆ໌ಈըʢʁʂʣ
5IBOLZPV 👋 !UBIJB