Basic operations and settings

Basic operations and settings

LINE流入経路を設定・分析する

  • Last updated:

LINE acquisition routes record where customers started linking their LINE account, such as a profile, product page, or campaign. You can compare the linking rate and automation start rate for each route. In addition to tracking existing routes, you can create custom routes for your own buttons.

Before you begin

  • Complete the connections between StoreCRM, Shopify, and your LINE Official Account.
  • Customers must be logged in to their Shopify account to link their LINE account.
  • To send a message after linking, first create a LINE message and a dedicated automation.

Create a message to send after LINE linking

  1. In StoreCRM, open [LINE] → [LINE messages].
  2. Create and save the message to send after linking is complete.

Create an automation for the LINE acquisition route

  1. Open [Automations] → [Add automation].
  2. Select "Send a message after LINE linking is complete."
  3. Confirm that the start condition is [LINE linking completed].
  4. Under [Delivery content], select the LINE message you created, then save the automation.
  5. Enable the automation from the automation list. Only enabled dedicated automations appear as options for acquisition routes.
Screen for selecting delivery content in an automation that sends a message after LINE linking is complete

Note:Regular LINE delivery automations cannot be selected. Create the automation from the "Send a message after LINE linking is complete" template and confirm that its start condition is [LINE linking completed].

Configure an existing LINE linking route

  1. Open [LINE] → [Acquisition routes].
  2. Open [Install / check] for the route you want to use, such as the profile, order list, or thank-you page.
  3. Place the block by following the installation guide or selecting [Install in Shopify], then confirm that it appears on your store.
  4. To send a message after linking, choose an enabled dedicated automation from [Set automation]. If you only want to track the route, leave the automation unspecified.
  5. Turn on the toggle to start tracking.
Placement, verification status, and tracking settings for existing LINE linking routes

Create a custom acquisition route

  1. Under [LINE] → [Acquisition routes], click [Add custom acquisition route].
  2. Enter an internal route name and route key. The route key can contain lowercase ASCII letters, numbers, underscores (_), and hyphens (-).
  3. To track the route only, select [LINE linking and acquisition tracking only]. To send a message after linking, select an enabled dedicated automation.
  4. Set the run frequency, then click [Create acquisition route].
Screen for configuring the route name, route key, and post-linking action of a custom LINE acquisition route

Note:The route key cannot be changed after creation. Use a name that identifies its placement, and make sure it exactly matches the value used in your code.

Set a custom route on your own button

To start LINE linking from a button in your theme or on a custom page, run the following JavaScript when the button is clicked. First create a custom route in the admin, then replacerouteKeywith that route key.

window.storecrm.doLineSubscribe({
  routeKey: 'product_page'
});

The following is an implementation example that includes a button.

<button type="button" id="storecrm-line-product">Connect with LINE</button>
<script>
document.getElementById('storecrm-line-product').addEventListener('click', function () {
  if (!window.storecrm || typeof window.storecrm.doLineSubscribe !== 'function') {
    console.error('Failed to load the StoreCRM LINE connection feature.');
    return;
  }
  window.storecrm.doLineSubscribe({ routeKey: 'product_page' });
});
</script>

routeKeyIf you omit it, only the standard LINE linking flow starts and the action is not tracked as a custom route. After installation, click the button as a test customer logged in to Shopify and confirm both LINE linking and the report results.

Select the run frequency

  • Once per customer:Starts the automation only the first time for each customer.
  • Every specified number of days:The automation can start again after the specified number of days (1–3650) has passed since the previous run.
  • Every click:Starts every time the route is clicked. Before using this option, make sure your operation will not result in duplicate messages.

If an automation does not start because of the frequency limit, the skipped result is still recorded in the acquisition history.

Review the LINE dashboard and acquisition route report

Under [LINE] → [LINE dashboard], you can review currently linked customers, new links, unlinks, net growth during the selected period, and daily trends.

LINE dashboard screen showing linking status and trends

Under [LINE] → [Acquisition route report], you can filter by period, acquisition route, and automation, then compare linking starts, LINE linking rates, automation start rates, and items that require review.

Table comparing LINE linking rates and automation start rates by acquisition route

Review processing results and customer-level history

You can review the proportions of results such as waiting for a friend addition, skips caused by frequency limits, and errors, as well as the processing result for each customer. Export comparison data and history as CSV files, then download generated files from [Data] → [Downloads].

Processing results and customer-level acquisition history in the LINE acquisition route report

If results or automations do not appear

  • Confirm that the target route appears on the storefront and route tracking is turned on.
  • For a custom route, confirm that the value in your coderouteKeyexactly matches the key of the route you created.
  • Confirm that the customer is logged in to their Shopify account.
  • Confirm that the automation was created from the dedicated template and is enabled.
  • Check the customer-level processing results to see whether the automation was skipped because of the run frequency.
  • Clear the report filters for period, route, and automation, then check again.
TOP
en_USEnglish