[{"data":1,"prerenderedAt":298},["ShallowReactive",2],{"h4201270508":3,"h2394369601":192,"h159506220":290},{"id":4,"title":5,"body":6,"description":182,"extension":183,"meta":184,"navigation":187,"path":188,"seo":189,"stem":190,"__hash__":191},"docs\u002Fen\u002Fdocs\u002Fpartner-docs\u002Fline-notification-messages\u002Fstatistics.md","Get statistics of LINE notification messages",{"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},"Use of optional functions requires an application","note",[25,26,27,28,35],"p",{},"Only corporate users who have submitted the required applications can use the functions described in this document. To use these functions with your LINE Official Account, contact your sales representative or contact ",[29,30,34],"a",{"href":31,"rel":32},"https:\u002F\u002Fwww.lycbiz.com\u002Fjp\u002Fpartner\u002Fsales\u002F",[33],"nofollow","our Sales partners",".",[37,38,40],"h2",{"id":39},"overview","Overview",[25,42,43],{},"With LINE notification messages (template) and LINE notification messages (flexible), you can get statistics per unit by specifying a unit name when sending a message.",[25,45,46,47,51],{},"For more information about the statistics you can get, unit name limits, and how to get statistics, see ",[29,48,50],{"href":49},"\u002Fdocs\u002Fmessaging-api\u002Funit-based-statistics-aggregation\u002F","Get statistics of sent messages"," in the Messaging API documentation.",[37,53,55],{"id":54},"specify-custom-aggregation-units","Specify a unit name",[25,57,58,59,63],{},"When sending a LINE notification message, specify a unit name in the ",[60,61,62],"code",{},"customAggregationUnits"," property. For more information about how to specify a unit name, see the following sections in the LINE notification messages API reference:",[65,66,67,74],"ul",{},[68,69,70],"li",{},[29,71,73],{"href":72},"\u002Freference\u002Fline-notification-messages\u002F#send-line-notification-message-template","Send a LINE notification message (template)",[68,75,76],{},[29,77,79],{"href":78},"\u002Freference\u002Fline-notification-messages\u002F#send-line-notification-message-flexible","Send a LINE notification message (flexible)",[37,81,83],{"id":82},"notes","Notes on specifying a unit name for LINE notification messages",[25,85,86],{},"When specifying a unit name for LINE notification messages, note the following two points:",[65,88,89,95],{},[68,90,91],{},[29,92,94],{"href":93},"#use-the-same-unit-name-for-the-same-purpose","Use the same unit name consistently for LINE notification messages with the same purpose",[68,96,97],{},[29,98,100],{"href":99},"#statistics-are-aggregated-when-the-message-is-sent","Statistics are updated after the message is actually sent",[102,103,94],"h3",{"id":104},"use-the-same-unit-name-for-the-same-purpose",[25,106,107,108,111,112,114],{},"To protect user privacy, statistics on individual user interactions are ",[60,109,110],{},"null"," in cases such as when the aggregated statistical value is less than 20. Because each LINE notification message is sent to one user, statistics are more likely to be ",[60,113,110],{}," when messages with the same unit name are sent to only a small number of users or when the aggregation period is short.",[25,116,117,118,120,121,51],{},"Consider consistently using the same unit name for LINE notification messages with the same purpose and checking statistics over a longer period, such as weekly or monthly. For more information about the conditions under which statistics are ",[60,119,110],{},", see ",[29,122,124],{"href":123},"\u002Fdocs\u002Fmessaging-api\u002Funit-based-statistics-aggregation\u002F#notes-about-message-statistics","Notes on aggregated statistics",[102,126,100],{"id":127},"statistics-are-aggregated-when-the-message-is-sent",[25,129,130],{},"For LINE notification messages, statistics and unit name information are updated as follows when the message is actually sent to the user, rather than when the request to send the message is made using the API:",[65,132,133,136,139],{},[68,134,135],{},"Updates to statistics begin and continue for 14 days (1,209,600 seconds).",[68,137,138],{},"The specified unit name is counted toward the number of unit name types assigned during the current month.",[68,140,141],{},"The specified unit name is included in the list of unit names assigned during the current month.",[25,143,144,145,149,150,154,155,159],{},"For example, if the user's ",[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 notification message reception settings are \"not set\"",", the message is sent after the user agrees to receive LINE notification messages. In this case, the specified unit name isn't reflected in the results of the ",[29,151,153],{"href":152},"\u002Freference\u002Fmessaging-api\u002F#get-the-number-of-unit-name-types-assigned-during-this-month","Get the number of unit name types assigned during this month"," and ",[29,156,158],{"href":157},"\u002Freference\u002Fmessaging-api\u002F#get-a-list-of-unit-names-assigned-during-this-month","Get a list of unit names assigned during this month"," endpoints until the message is actually sent.",{"title":12,"searchDepth":161,"depth":162,"links":163},4,5,[164,168,171],{"id":165,"depth":166,"text":167},"overview-overview",2,"Overview {#overview}",{"id":169,"depth":166,"text":170},"specify-a-unit-name-specify-custom-aggregation-units","Specify a unit name {#specify-custom-aggregation-units}",{"id":172,"depth":166,"text":173,"children":174},"notes-on-specifying-a-unit-name-for-line-notification-messages-notes","Notes on specifying a unit name for LINE notification messages {#notes}",[175,179],{"id":176,"depth":177,"text":178},"use-the-same-unit-name-consistently-for-line-notification-messages-with-the-same-purpose-use-the-same-unit-name-for-the-same-purpose",3,"Use the same unit name consistently for LINE notification messages with the same purpose {#use-the-same-unit-name-for-the-same-purpose}",{"id":180,"depth":177,"text":181},"statistics-are-updated-after-the-message-is-actually-sent-statistics-are-aggregated-when-the-message-is-sent","Statistics are updated after the message is actually sent {#statistics-are-aggregated-when-the-message-is-sent}","Learn how to get statistics for LINE notification messages by assigning a unit name when sending a message.","md",{"tags":185,"author":185,"last_updated":185,"source_language":186},null,"en",true,"\u002Fen\u002Fdocs\u002Fpartner-docs\u002Fline-notification-messages\u002Fstatistics",{"title":5,"description":182},"en\u002Fdocs\u002Fpartner-docs\u002Fline-notification-messages\u002Fstatistics","uHaiFMsHDao4Q2YFv81kxo1VveW5IYH0EbKMtLXd0FI",{"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},1789620287854]