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
【関モバ#12】Google Tag ManagerでモバイルアプリのABテストをする
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
takuaraki
March 30, 2016
Programming
680
1
Share
【関モバ#12】Google Tag ManagerでモバイルアプリのABテストをする
関西モバイルアプリ研究会#12の発表資料です。Google Tag Manager を利用したモバイルアプリのABテストについて、ズンドコしてます。
takuaraki
March 30, 2016
More Decks by takuaraki
See All by takuaraki
2021/02/03 発覚の COCOA Android版 不具合について
takuaraki
0
64
Androidアプリ内課金のテスト
takuaraki
0
490
GASでSlackBot
takuaraki
1
560
Material Design Guideline: Dialogs, Dividers
takuaraki
0
440
Material Design Guideline: Bottom components
takuaraki
0
530
App Shortcuts
takuaraki
0
390
[関モバ#18] SQLBrite&SQLDelight
takuaraki
0
490
A/B testing GTM&GA vs Firebase
takuaraki
1
3k
Other Decks in Programming
See All in Programming
mruby on C#: From VM Implementation to Game Scripting (RubyKaigi 2026)
hadashia
2
1.7k
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
3
380
HTML-Aware ERB: The Path to Reactive Rendering @ RubyKaigi 2026, Hakodate, Japan
marcoroth
0
690
Surviving Black Friday: 329 billion requests with Falcon!
ioquatix
0
3k
Agentic Elixir
whatyouhide
0
450
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
350
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5.1k
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
1.2k
空間オーディオの活用
objectiveaudio
0
150
継続的な負荷検証を目指して
pyama86
3
1.1k
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
270
AI-DLC Deep Dive
yuukiyo
9
5.7k
Featured
See All Featured
WENDY [Excerpt]
tessaabrams
10
37k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
690
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
4 Signs Your Business is Dying
shpigford
187
22k
The Invisible Side of Design
smashingmag
302
52k
The SEO identity crisis: Don't let AI make you average
varn
0
460
Navigating Weather and Climate Data
rabernat
0
190
Thoughts on Productivity
jonyablonski
76
5.1k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
910
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
170
Transcript
Google Tag Manager ͰABςετ͢Δ 2016/03/30 @ara_tack
@ara_tack
@ara_tack ϝΨωΛ͔͚͍ͯΔ එໟ͕ೱ͍ ࠷ۙɺࡒΛམͱͨ͠ ࣾձਓ͏͙̎͢ Bܕ ژग़ ࣗసं͖ AndroidͬͯΔ
͢͜ͱ • Google Tag Manager ͰίϯςφΛ࡞Δ • ίϯςφͰABςετ༻ͷมΛ࡞Δ • ΞϓϦͰABΛग़͚ͯ͠ΈΔ
ͨͱ͑ɺ͜ΜͳΞϓϦ
None
ʮͣΜʯʮͲ͜ʯ ↓ ʮζϯʯʮυίʯ ͷํ͕͍͍ͷͰʁ
None
ΞΧϯτͱίϯςφΛ࡞Δ
ABςετ༻ͷมΛ৽ن࡞
มʹύλʔϯΛઃఆ ͻΒ͕ͳ ΧλΧφ
ίϯςφΛެ։
όΠφϦϑΝΠϧΛอଘ
όΠφϦϑΝΠϧΛอଘ
GTM for Android ಋೖ ʙύʔϛογϣϯʙ <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"
/> ʙgradleͷઃఆʙ compile 'com.google.android.gms:play-services-analytics:8.4.0'
GTM for Android ॳظԽ TagManager tagManager = TagManager.getInstance(this); PendingResult<ContainerHolder> pending
= tagManager.loadContainerPreferNonDefault( CONTAINER_ID, R.raw.gtm_default_container); pending.setResultCallback(new ResultCallback<ContainerHolder>() { @Override public void onResult(ContainerHolder containerHolder) { ContainerHolderSingleton.setContainerHolder(containerHolder); startMainActivity(); } }, 2, TimeUnit.SECONDS);
GTM for Android ͷར༻ // ίϯςφΛऔಘ Container container = ContainerHolderSingleton.getContainerHolder().getContainer();
// ʮͣΜʯʮͲ͜ʯorʮζϯʯʮυίʯ String zun = container.getString(“zun”); String doko = container.getString(“doko”); zunButton.setText(zun); dokoButton.setText(doko);
݁Ռ
݁Ռ
ΦɾϫɾϦʂ