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.
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.
The following events are delivered in real time and can be stored in Treasure Data CDP:
| Event Type | Description |
|---|---|
follow | User followed the LINE Official Account |
unfollow | User unfollowed or blocked the LINE Official Account |
message | User sent a message to the LINE Official Account |
postback | User tapped a postback action button (Flex or Template messages) |
videoViewingComplete | User finished watching a video message (1-on-1 only) |
beacon | User entered a beacon-equipped physical location |
accountLink | User linked their account via the account link feature |
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.
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.
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.
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:
| Parameter | Default Value |
|---|---|
utm_source | line |
utm_medium | social |
utm_campaign | Campaign name |
utm_content | (optional, configurable per campaign) |
utm_term | (optional, configurable per campaign) |
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=bannerDelivered URL after UTM injection:
https://example.com/product?ref=banner&utm_source=line&utm_medium=social&utm_campaign=spring_sale_2026| Message Type | UTM Applied To |
|---|---|
| Text (v2) | All URLs in the text body |
| Imagemap | uri action URLs in tap areas |
| Flex Message (future) | All action button URLs |
Delivery results are written at send time to the line_events table in the delivery_line_{system_identifier} database. This log records the outcome of every LINE Messaging API request Engage Studio makes per profile, but does not include open or click events, as these are not available from LINE.
The table has 24 columns. The ones you will use most:
| Column | Type | Description |
|---|---|---|
time | bigint | Unix timestamp of the record |
campaign_id | varchar | Engage Studio campaign ID |
campaign_name | varchar | Engage Studio campaign name |
line_user_id | varchar | Recipient LINE User ID. Stored as the raw ID (U followed by 32 hexadecimal characters), not hashed |
delivered | varchar | true when the LINE API accepted the request |
status | bigint | HTTP status code returned by the LINE Messaging API — 200 on a successful send |
response_status_code | bigint | HTTP status code of the LINE API response |
error | varchar | Error detail returned by the LINE API |
will_retry | varchar | true when Engage Studio will retry the request |
retry_count | bigint | Number of retries already attempted for this record |
api_endpoint | varchar | LINE Messaging API endpoint called, for example https://api.line.me/v2/bot/message/push |
line_request_id | varchar | Request ID returned by the LINE API |
sent_message_ids | varchar | Message IDs the LINE API returned for the messages it accepted |
test_mode | varchar | true when the record was created by Send Test, false for a normal campaign send. Records created before August 10, 2026 have a null value, so use test_mode IS NOT TRUE rather than test_mode = false when filtering historical data for campaign sends |
The delivery log does not identify which message type was sent. Text, Imagemap, and Flex sends write the same columns, and no column carries the message type. To compare results per message type, send each type from its own campaign and distinguish them by campaign_id or campaign_name.
Creating a LINE OA configuration does not create the table. The delivery_line_{system_identifier} database stays empty until the first send, which creates line_events.
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'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.