Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Measurement protocolを利用したメルマガ開封測定

2875af51426a8a4b5371fd7491518794?s=47 akira_maru
August 22, 2019

Measurement protocolを利用したメルマガ開封測定

小規模においてメルマガの開封測定を行うためのMeasurement protocolの最低限の使い方を解説。パラメータの設定をHit Builderを利用する方法もざっくり説明してます。

2875af51426a8a4b5371fd7491518794?s=128

akira_maru

August 22, 2019
Tweet

More Decks by akira_maru

Other Decks in Business

Transcript

  1. Measurement protocolΛ
 ར༻ͨ͠ϝϧϚΨ։෧ଌఆ Hit BuilderͰϥΫϥΫઃఆ ؔ੢ECަྲྀձ vol.7

  2. • ؙࢁ ষ • Ԭࢁࢢग़਎ɺେࡕ෎ਧాࢢࡏॅ • ΩϯάϓϦϯλʔζ ϚʔέςΟϯά෦ॴଐ • ϚʔΫΞοϓΤϯδχΞ

    • Facebook https://www.facebook.com/MaruyamaAkira • Twitter https://twitter.com/akira_maru ࣗݾ঺հ
  3. • ϝϧϚΨ΍ͬͯ·͢
 https://kingprinters.com/user_guide/myaccount/magazine ͪΐͬͱ͚ͩએ఻ • ฐࣾͷҹ࡮αϯϓϧ͖࣋ͬͯ·ͨ͠ɻ
 ڵຯ͋Δํ͸ۘఄ͠·͢ɻͨͩ͠਺ྔݶఆɻ

  4. • Measurement Protocolͱ͸ʁ • ϝϧϚΨʹඞཁͳύϥϝʔλ • Hit Builderͷͬ͘͟Γͳ࢖͍ํ ຊ೔ͷΞδΣϯμ

  5. ϝϧϚΨ഑৴ͯ͠·͔͢ʁ

  6. ։෧ଌఆͯ͠·͔͢ʁ

  7. Google ΞφϦςΟΫεΛ࢖͍ͬͯΔͳΒ Measurement ProtocolΛ࢖ͬͯ
 HTMLϝʔϧͷ։෧ଌఆͰ͖·͢ʂ

  8. Measurement ProtocolͬͯԿʁ

  9. ৄࡉ͸GoogleͷެࣜυΩϡϝϯτΛࢀরɺ ·ͨ͸”Measurement Protocol”Ͱάάͬ ͯΈ͍ͯͩ͘͞ https://developers.google.com/analytics/devguides/collection/ protocol/v1/

  10. ϝϧϚΨͷ৔߹ɺimgλάΛϝϧϚΨͷ ʢҰ൪ԼʣʹຒΊࠐΉ͚ͩʂ <img src="https://www.google-analytics.com/collect?ύϥϝʔλ" border="0" width= "1" height=“1" alt="" >

  11. ͜ΕΛຒΊࠐΜͰϝʔϧΛ഑৴ɺड͚औͬ ͨਓ͕։෧͢ΔͱGoogleΞφϦςΟΫε ͷϦΞϧλΠϜͰܭଌͰ͖·͢ʂ

  12. Measurement Protocol ύϥϝʔλ ͍Ζ͍Ζ͋Γ·͕͢ɺ։෧ͷ֬ೝ༻ʹඞཁͳ࠷௿ݶͷઃఆͷΈ <img src="https://www.google-analytics.com/collect?ύϥϝʔ λ" border="0" width= "1"

    height=“1" alt="" > ύϥϝʔλ͸”&”Ͱͭͳ͙
  13. Measurement Protocol ύϥϝʔλ v: ϓϩτίϧͷόʔδϣϯ v=1 ͜Ε͸ݻఆ

  14. Measurement Protocol ύϥϝʔλ t: ώοτλΠϓ t=event ͍͔ܾͭ͘·ͬͨ஋͕͋Γ·͢ɻ
 ϝϧϚΨ։෧Ͱ͸eventΛ࢖༻ɻ

  15. Measurement Protocol ύϥϝʔλ tid: Google ΞφϦςΟΫεͷτϥοΩϯά ID exʣtid=UA-00000000000 ܭଌ͍ͨ͠ϓϩύςΟʔͷτϥοΩϯά ID

  16. ↑ ͜Εʂ

  17. Measurement Protocol ύϥϝʔλ cid: ΫϥΠΞϯτID exʣcid=35009a79-1a05-49d7-b876-2b884d0f825b ຊདྷ͸୺຤΍ϢʔβʔຖͷࣝผΛߦ͏ͨΊʹར༻ɻ
 খن໛Ͱϝʔϧͷ։෧֬ೝΛ൑அ͢Δ͚ͩͳΒಉ͡΋ͷͰ΋໰୊ͳ͍ ʢେखͷࣄۀऀ͸ଟ෼MA࢖͍ͬͯΔͱࢥ͍·͢…ʣ

  18. Measurement Protocol ύϥϝʔλ ec: ΠϕϯτΧςΰϦ ec=email t=eventͷ৔߹ඞਢɻ
 ϝʔϧ͔ΒͷτϥοΩϯά͸”email"Λࢦఆɻ

  19. Measurement Protocol ύϥϝʔλ ea: ΠϕϯτΞΫγϣϯ exʣea=open t=eventͷ৔߹ඞਢɻ൑ผͰ͖Ε͹ԿͰ΋ྑ͍ɻ
 ϝϧϚΨͷ৔߹ɺ։෧ΞΫγϣϯͳͷͰ”open”ɻ

  20. Measurement Protocol ύϥϝʔλ el: Πϕϯτϥϕϧ exʣel=ϝϧϚΨ201908 ϝϧϚΨͷ৔߹͍ͭ։෧͞ΕΔΘ͔Βͳ͍ɻ
 ഑৴߸ຖʹผͷϥϕϧʹ͓ͯ͘͠ɻ

  21. Measurement Protocol ύϥϝʔλ dp: υΩϡϝϯτ ύε exʣdp=%2Fmail201908 ඞਢͰ͸ͳ͍͕ɺԾ૝ϖʔδΛηοτ͓ͯ͘͠ͱଌఆָ͕ɻ
 ”/”Ͱ࢝·Δ͕URLΤϯίʔυͨ͠΋ͷΛೖΕΔɻ

  22. खଧͪ͸໘౗ͩΑͶ
 ಛʹcid…

  23. ͪΐͬͱָ͚ͩʹͳΔπʔϧΛ
 Google͕ఏڙ͍ͯ͠·͢ʂ

  24. ͪΐͬͱָ͚ͩʹͳΔπʔϧΛ
 Google͕ఏڙ͍ͯ͠·͢ʂ Hit Builder https://ga-dev-tools.appspot.com/hit-builder/

  25. ӳޠʹ఍߅͋Δ͔΋…
 ʮHit Builder ࢖͍ํʯͰάάΕ͹
 આ໌ͯ͘͠ΕΔαΠτ͕݁ߏ͋Γ·͢ɻ ChromeͳΒGoogle຋༁ೖΕΔͱָ͔΋ https://chrome.google.com/webstore/detail/google-translate/ aapbdbdomjkkjkaonfhkkikfgjllcleb?hl=ja

  26. Hit Builderͷ௒؆୯ͳ࢖͍ํ Hit BuilderʹΞΫηε ॳΊͯ৔߹͸GoogleΞΧ΢ϯτͱඥ෇͚Δඞཁ͕͋Γ·͢ɻ ↑ ͜ΕΛΫϦοΫ

  27. Hit Builderͷ௒؆୯ͳ࢖͍ํ Hit BuilderʹΞΫηε ॳΊͯ৔߹͸GoogleΞΧ΢ϯτͱ
 ඥ෇͚Δඞཁ͕͋Γ·͢ɻ ↑ ͜ΕΛΫϦοΫ

  28. Hit BuilderʹΞΫηε ඥ෇͘ͱ͜Μͳײ͡ͷը໘ʹɻ Hit Builderͷ௒؆୯ͳ࢖͍ํ

  29. Hit Builderͷ௒؆୯ͳ࢖͍ํ σϑΥϧτύϥϝʔλΛมߋ Hit parameter detailsͰύϥϝʔλ
 ೖྗɻv͸ͦͷ··ɺt͸”event”ɺ
 tid͸ΫϦοΫͰGoogleΞΧ΢ϯτ
 ʹඥ͍͍ͮͯΔҰཡ͕දࣔ͞ΕΔ
 ͷͰબ୒ɻ

  30. Hit Builderͷ௒؆୯ͳ࢖͍ํ σϑΥϧτύϥϝʔλΛมߋ cid͸ɹɹΛΫϦοΫͰࣗಈੜ੒ ΫϦοΫͰࣗಈੜ੒ˢ

  31. Hit Builderͷ௒؆୯ͳ࢖͍ํ ΧελϜύϥϝʔλΛ௥Ճ ɹɹɹɹɹɹΛΫϦοΫͰ
 ߦ͕ੜ੒͞ΕΔͷͰ௥Ճɻ
 ecɺeaɺelɺdpͷ஋Λೖྗɻ ←ΫϦοΫͰੜ੒ ௥Ճ͞ΕΔ

  32. Hit Builderͷ௒؆୯ͳ࢖͍ํ ೖྗ಺༰Λ֬ೝ Hit parameter detailsͰೖྗ
 ͨ͠಺༰͸Hit summaryͰ
 ࣗಈ൓ө͞Ε·͢ɻ
 ໰୊ͳ͚Ε͹ɹɹɹɹ

    Λ
 ΫϦοΫɻ ↓ೖྗͨ͠಺༰͕ࣗಈ൓ө
  33. Hit Builderͷ௒؆୯ͳ࢖͍ํ GoogleΞφϦςΟΫεʹςετૹ৴ ɹɹɹɹ ΫϦοΫͰ໰୊ͳ͚
 Ε͹ɺ”Hit is valid!”ͱදࣔɻ
 ɹɹɹɹɹɹɹ ΛΫϦοΫͰ


    GoogleΞφϦςΟΫεʹςε
 τώοτΛૹ৴ɻ
 ↑ΫϦοΫͰςετૹ৴
  34. Hit Builderͷ௒؆୯ͳ࢖͍ํ ϦΞϧλΠϜͰͷΞΫηε֬ೝ GoogleΞφϦςΟΫεͷϦΞϧ
 λΠϜ > ֓ཁͰdpͰೖྗͨ͠Ծ
 ૝ϖʔδ͕දࣔ͞ΕͨΒOKɻ ↑dpͰηοτͨ͠Ծ૝
 ϖʔδ͕දࣔ͞ΕͨΒOK

    ※͜͜Ͱώοτ͕͜ͳ͍৔߹ɺϑΟϧλʔ΍ϓϥά ΠϯͰআ֎Λ͍ٙͬͯͩ͘͞ɻ

  35. Hit Builderͷ௒؆୯ͳ࢖͍ํ ίʔυͷίϐʔ GoogleΞφϦςΟΫεͰͷ
 ΞΫηε͕֬ೝͰ͖ͨΒɺ
 ɹɹɹɹɹɹΫϦοΫͰ
 ίʔυΛίϐʔɻ ↑ΫϦοΫͰίʔυίϐʔ

  36. Hit Builderͷ௒؆୯ͳ࢖͍ํ ίʔυΛιʔεʹຒΊࠐΉ ίʔυΛimgλάʹຒΊࠐΉɻ <img src="https://www.google-analytics.com/collect? v=1&t=event&tid=UA-15660573-1&cid=c1c22d47-ee17-447b-b769- afe4bc8f1df4&ec=email&ea=open&el=%E3%83%A1%E3%83%AB% E3%83%9E%E3%82%AC201908&dp=%2Fmail201908" border="0"

    width= "1" height=“1" alt="" >
  37. Ҏ্ɺ͓͠·͍ʂ ࣭໰͕͋Ε͹ޙͰ