[{"data":1,"prerenderedAt":298},["ShallowReactive",2],{"h3939305604":3,"h2132404697":192,"h4192508612":290},{"id":4,"title":5,"body":6,"description":182,"extension":183,"meta":184,"navigation":187,"path":188,"seo":189,"stem":190,"__hash__":191},"docs\u002Fja\u002Fdocs\u002Fpartner-docs\u002Fline-notification-messages\u002Fstatistics.md","LINE通知メッセージの統計情報を取得する",{"type":7,"value":8,"toc":160},"minimark",[9,16,19,36,41,44,52,56,64,80,84,87,101,105,115,125,128,131,142],[10,11,13],"h1",{"id":12},"",[14,15],"page-title",{},[17,18],"markdown-controls",{},[20,21,24],"admonition",{"title":22,"type":23},"オプション機能を利用するには手続きが必要です","note",[25,26,27,28,35],"p",{},"本ドキュメントに記載の機能は、所定の申請等を行った法人ユーザーのみがご利用いただけます。自社のLINE公式アカウントでご利用になりたいお客様は、担当営業までご連絡いただくか、",[29,30,34],"a",{"href":31,"rel":32},"https:\u002F\u002Fwww.lycbiz.com\u002Fjp\u002Fpartner\u002Fsales\u002F",[33],"nofollow","弊社パートナー","にお問い合わせください。",[37,38,40],"h2",{"id":39},"overview","概要",[25,42,43],{},"LINE通知メッセージ（テンプレート）とLINE通知メッセージ（フレキシブル）では、ユニット名を指定してメッセージを送信することで、統計情報をユニットごとに取得できます。",[25,45,46,47,51],{},"取得できる統計情報、ユニット名の制限、統計情報を取得する方法などについて詳しくは、『Messaging APIドキュメント』の「",[29,48,50],{"href":49},"\u002Fdocs\u002Fmessaging-api\u002Funit-based-statistics-aggregation\u002F","送信したメッセージの統計情報を取得する","」を参照してください。",[37,53,55],{"id":54},"specify-custom-aggregation-units","ユニット名を指定する",[25,57,58,59,63],{},"LINE通知メッセージを送信するときに、",[60,61,62],"code",{},"customAggregationUnits","プロパティにユニット名を指定します。指定方法について詳しくは、『LINE通知メッセージAPIリファレンス』の以下の項目を参照してください。",[65,66,67,74],"ul",{},[68,69,70],"li",{},[29,71,73],{"href":72},"\u002Freference\u002Fline-notification-messages\u002F#send-line-notification-message-template","LINE通知メッセージ（テンプレート）を送る",[68,75,76],{},[29,77,79],{"href":78},"\u002Freference\u002Fline-notification-messages\u002F#send-line-notification-message-flexible","LINE通知メッセージ（フレキシブル）を送る",[37,81,83],{"id":82},"notes","LINE通知メッセージでユニット名を指定する際の注意点",[25,85,86],{},"LINE通知メッセージでユニット名を指定する際は、次の2点に注意してください。",[65,88,89,95],{},[68,90,91],{},[29,92,94],{"href":93},"#use-the-same-unit-name-for-the-same-purpose","同じ用途のLINE通知メッセージに対して同じユニット名を継続的に使用する",[68,96,97],{},[29,98,100],{"href":99},"#statistics-are-aggregated-when-the-message-is-sent","統計情報は実際にメッセージが送信されてから更新される",[102,103,94],"h3",{"id":104},"use-the-same-unit-name-for-the-same-purpose",[25,106,107,108,111,112,114],{},"プライバシーを保護するため、集計された統計情報の値が20未満だった場合などは、個人の操作に関する統計情報の値は",[60,109,110],{},"null","になります。LINE通知メッセージは1人のユーザーに対して送信されるため、同じユニット名を付与してメッセージを送った対象のユーザー数が少ない場合、あるいは集計の対象期間が短い場合は統計情報が",[60,113,110],{},"になりやすくなります。",[25,116,117,118,120,121,51],{},"同じ用途のLINE通知メッセージに同じユニット名を継続して使用し、週次や月次など、より長い期間で統計情報を確認することを検討してください。統計情報が",[60,119,110],{},"になる条件について詳しくは、『Messaging APIドキュメント』の「",[29,122,124],{"href":123},"\u002Fdocs\u002Fmessaging-api\u002Funit-based-statistics-aggregation\u002F#notes-about-message-statistics","集計される統計情報についての注意点",[102,126,100],{"id":127},"statistics-are-aggregated-when-the-message-is-sent",[25,129,130],{},"LINE通知メッセージでは、APIで送信リクエストを行った時点ではなく、実際にメッセージがユーザーへ送信されたタイミングで、統計情報やユニット名に関する以下の更新が行われます。",[65,132,133,136,139],{},[68,134,135],{},"統計情報の更新が始まり、14日間（1,209,600秒間）継続する。",[68,137,138],{},"指定したユニット名が、当月中に付与したユニット名の種類数としてカウントされる。",[68,140,141],{},"指定したユニット名が、当月中に付与したユニット名の一覧に含まれる。",[25,143,144,145,149,150,154,155,159],{},"たとえば、ユーザーの",[29,146,148],{"href":147},"\u002Fdocs\u002Fpartner-docs\u002Fline-notification-messages\u002Fflow-when-receiving-message\u002F#user-consent-flow-for-receiving-line-notification-messages-1","LINE通知メッセージの受信設定が未設定","の場合は、ユーザーが受信に同意した後にメッセージが送信されます。この場合、メッセージが実際に送信されるまでは、「",[29,151,153],{"href":152},"\u002Freference\u002Fmessaging-api\u002F#get-the-number-of-unit-name-types-assigned-during-this-month","当月中に付与したユニット名の種類数を取得する","」および「",[29,156,158],{"href":157},"\u002Freference\u002Fmessaging-api\u002F#get-a-list-of-unit-names-assigned-during-this-month","当月中に付与したユニット名のリストを取得する","」エンドポイントの結果に反映されません。",{"title":12,"searchDepth":161,"depth":162,"links":163},4,5,[164,168,171],{"id":165,"depth":166,"text":167},"概要-overview",2,"概要 {#overview}",{"id":169,"depth":166,"text":170},"ユニット名を指定する-specify-custom-aggregation-units","ユニット名を指定する {#specify-custom-aggregation-units}",{"id":172,"depth":166,"text":173,"children":174},"line通知メッセージでユニット名を指定する際の注意点-notes","LINE通知メッセージでユニット名を指定する際の注意点 {#notes}",[175,179],{"id":176,"depth":177,"text":178},"同じ用途のline通知メッセージに対して同じユニット名を継続的に使用する-use-the-same-unit-name-for-the-same-purpose",3,"同じ用途のLINE通知メッセージに対して同じユニット名を継続的に使用する {#use-the-same-unit-name-for-the-same-purpose}",{"id":180,"depth":177,"text":181},"統計情報は実際にメッセージが送信されてから更新される-statistics-are-aggregated-when-the-message-is-sent","統計情報は実際にメッセージが送信されてから更新される {#statistics-are-aggregated-when-the-message-is-sent}","LINE通知メッセージの送信時にユニット名を指定して、ユニットごとの統計情報を取得する方法を説明します。","md",{"tags":185,"author":185,"last_updated":185,"source_language":186},null,"ja",true,"\u002Fja\u002Fdocs\u002Fpartner-docs\u002Fline-notification-messages\u002Fstatistics",{"title":5,"description":182},"ja\u002Fdocs\u002Fpartner-docs\u002Fline-notification-messages\u002Fstatistics","3bOpwLUITTEd6TWBT0Z849hSUIxYoqdeXTzJW6oF704",{"id":4,"title":5,"body":193,"description":182,"extension":183,"meta":288,"navigation":187,"path":188,"seo":289,"stem":190,"__hash__":191},{"type":7,"value":194,"toc":280},[195,199,201,208,210,212,216,218,222,232,234,236,246,248,254,260,262,264,272],[10,196,197],{"id":12},[14,198],{},[17,200],{},[20,202,203],{"title":22,"type":23},[25,204,27,205,35],{},[29,206,34],{"href":31,"rel":207},[33],[37,209,40],{"id":39},[25,211,43],{},[25,213,46,214,51],{},[29,215,50],{"href":49},[37,217,55],{"id":54},[25,219,58,220,63],{},[60,221,62],{},[65,223,224,228],{},[68,225,226],{},[29,227,73],{"href":72},[68,229,230],{},[29,231,79],{"href":78},[37,233,83],{"id":82},[25,235,86],{},[65,237,238,242],{},[68,239,240],{},[29,241,94],{"href":93},[68,243,244],{},[29,245,100],{"href":99},[102,247,94],{"id":104},[25,249,107,250,111,252,114],{},[60,251,110],{},[60,253,110],{},[25,255,117,256,120,258,51],{},[60,257,110],{},[29,259,124],{"href":123},[102,261,100],{"id":127},[25,263,130],{},[65,265,266,268,270],{},[68,267,135],{},[68,269,138],{},[68,271,141],{},[25,273,144,274,149,276,154,278,159],{},[29,275,148],{"href":147},[29,277,153],{"href":152},[29,279,158],{"href":157},{"title":12,"searchDepth":161,"depth":162,"links":281},[282,283,284],{"id":165,"depth":166,"text":167},{"id":169,"depth":166,"text":170},{"id":172,"depth":166,"text":173,"children":285},[286,287],{"id":176,"depth":177,"text":178},{"id":180,"depth":177,"text":181},{"tags":185,"author":185,"last_updated":185,"source_language":186},{"title":5,"description":182},{"toc":291,"fullToc":291},[292,293,294],{"id":39,"depth":166,"text":40},{"id":54,"depth":166,"text":55},{"id":82,"depth":166,"text":83,"children":295},[296,297],{"id":104,"depth":177,"text":94},{"id":127,"depth":177,"text":100},1790916631300]