Skip to content

Event Tracking for LINE Campaigns

This page explains what user interaction data is available from LINE, the technical constraints of LINE's Webhook API, and how Engage Studio combines multiple data sources to provide campaign reporting.


What LINE Webhook Can and Cannot Collect

LINE's Messaging API Webhook delivers events to Treasure Data via the Streaming Ingress Connector (LINE Messaging API Webhook). However, LINE does not include per-user open or click events in Webhook payloads by design.

Events Available via Webhook

The following events are delivered in real time and can be stored in Treasure Data CDP:

Event TypeDescription
followUser followed the LINE Official Account
unfollowUser unfollowed or blocked the LINE Official Account
messageUser sent a message to the LINE Official Account
postbackUser tapped a postback action button (Flex or Template messages)
videoViewingCompleteUser finished watching a video message (1-on-1 only)
beaconUser entered a beacon-equipped physical location
accountLinkUser linked their account via the account link feature

What Is Not Available

LINE does not expose the following events through its Webhook or Messaging API:

  • Message opens — Whether an individual user opened a delivered message
  • Link clicks — Whether an individual user clicked a URL in a Text or Imagemap message
  • Read receipts — Per-user read status

These limitations are by design in LINE's platform. Per-user engagement data of this type is not provided through any LINE API endpoint.

Aggregate stats via LINE OA Insights

While per-user open and click events are unavailable, LINE provides aggregate statistics per broadcast (total opens, total clicks, etc.) through its Insights API. Use the LINE OA Insights Import Integration to import these aggregate metrics into Treasure Data. See LINE Campaign Reporting for details.


UTM Tracking

Despite the limitations above, you can measure link-level engagement by appending UTM parameters to all URLs in your LINE messages. When recipients tap a link and load the destination page, the UTM parameters are captured by your web analytics platform (e.g., Google Analytics), giving you URL-level traffic attribution per campaign.

How UTM Parameters Are Applied

UTM parameters configured on the UTM Tracking tab are automatically appended to every URL in the campaign messages at delivery time.

Default UTM parameters for LINE campaigns:

ParameterDefault Value
utm_sourceline
utm_mediumsocial
utm_campaignCampaign name
utm_content(optional, configurable per campaign)
utm_term(optional, configurable per campaign)

URL Merge Policy

When a URL already contains query parameters, UTM parameters are appended without overwriting existing values unless the same key already exists, in which case the campaign-level value takes precedence.

Example:

Original URL in Imagemap tap area:

https://example.com/product?ref=banner

Delivered URL after UTM injection:

https://example.com/product?ref=banner&utm_source=line&utm_medium=social&utm_campaign=spring_sale_2026

Scope of UTM Application

Message TypeUTM Applied To
Text (v2)All URLs in the text body
Imagemapuri action URLs in tap areas
Flex Message (future)All action button URLs

Delivery Log Schema

Delivery and error events are written at send time to the delivery_line_{system_identifier} database. This log records per-profile delivery outcomes (success or failure) but does not include open or click events, as these are not available from LINE.

ColumnDescription
eventdelivery or error
timeUnix timestamp of the event
channel_typeLINE
campaign_idEngage Studio campaign ID
line_channel_nameLINE Sender Account name
line_user_idRecipient LINE User ID (hashed)
message_typeMessage object type: textV2, imagemap
statussuccess or failed
error_codeLINE API error code (error events only)

Constraints and Considerations

External Redirects and URL Shorteners

If you use a URL shortener or intermediate redirect:

  • UTM parameters are appended to the URL before delivery.
  • If the redirect strips query parameters, UTM data will not reach your analytics platform. Verify your redirect configuration preserves query parameters.

LINE Privacy Policy

LINE's platform design intentionally restricts per-user behavioral data (opens, clicks) from being accessible to LINE Official Account operators. This applies regardless of account tier or API plan.

In addition, LINE's development guidelines explicitly prohibit the following:

  • Do not attempt to identify the attributes of specific users by their user ID.
  • Do not use the audience management API or send narrowcast messages for the purpose of identifying user attributes.

Refer to the LINE Messaging API development guidelines for current policies.