{"id":5767,"date":"2026-08-24T14:30:48","date_gmt":"2026-08-24T05:30:48","guid":{"rendered":"https:\/\/storecrm.com\/help\/?p=5767"},"modified":"2026-09-03T20:39:52","modified_gmt":"2026-09-03T11:39:52","slug":"line-routes","status":"publish","type":"post","link":"https:\/\/storecrm.com\/help\/en\/setting\/line-routes\/","title":{"rendered":"LINE\u6d41\u5165\u7d4c\u8def\u3092\u8a2d\u5b9a\u30fb\u5206\u6790\u3059\u308b"},"content":{"rendered":"<p>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.<\/p>\n<h2>Before you begin<\/h2>\n<ul>\n<li>Complete the connections between StoreCRM, Shopify, and your LINE Official Account.<\/li>\n<li>Customers must be logged in to their Shopify account to link their LINE account.<\/li>\n<li>To send a message after linking, first create a LINE message and a dedicated automation.<\/li>\n<\/ul>\n<h2>Create a message to send after LINE linking<\/h2>\n<ol>\n<li>In StoreCRM, open [LINE] \u2192 [LINE messages].<\/li>\n<li>Create and save the message to send after linking is complete.<\/li>\n<\/ol>\n<h2>Create an automation for the LINE acquisition route<\/h2>\n<ol>\n<li>Open [Automations] \u2192 [Add automation].<\/li>\n<li>Select \"Send a message after LINE linking is complete.\"<\/li>\n<li>Confirm that the start condition is [LINE linking completed].<\/li>\n<li>Under [Delivery content], select the LINE message you created, then save the automation.<\/li>\n<li>Enable the automation from the automation list. Only enabled dedicated automations appear as options for acquisition routes.<\/li>\n<\/ol>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-line-route-dedicated-scenario-20260903.png' alt='Screen for selecting delivery content in an automation that sends a message after LINE linking is complete' class=\"wp-image-5986\"\/><\/figure>\n<p><strong>Note:<\/strong>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].<\/p>\n<h2>Configure an existing LINE linking route<\/h2>\n<ol>\n<li>Open [LINE] \u2192 [Acquisition routes].<\/li>\n<li>Open [Install \/ check] for the route you want to use, such as the profile, order list, or thank-you page.<\/li>\n<li>Place the block by following the installation guide or selecting [Install in Shopify], then confirm that it appears on your store.<\/li>\n<li>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.<\/li>\n<li>Turn on the toggle to start tracking.<\/li>\n<\/ol>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-line-routes-existing-20260903.png' alt='Placement, verification status, and tracking settings for existing LINE linking routes' class=\"wp-image-5988\"\/><\/figure>\n<h2>Create a custom acquisition route<\/h2>\n<ol>\n<li>Under [LINE] \u2192 [Acquisition routes], click [Add custom acquisition route].<\/li>\n<li>Enter an internal route name and route key. The route key can contain lowercase ASCII letters, numbers, underscores (_), and hyphens (-).<\/li>\n<li>To track the route only, select [LINE linking and acquisition tracking only]. To send a message after linking, select an enabled dedicated automation.<\/li>\n<li>Set the run frequency, then click [Create acquisition route].<\/li>\n<\/ol>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-line-routes-custom-form-20260903.png' alt='Screen for configuring the route name, route key, and post-linking action of a custom LINE acquisition route' class=\"wp-image-5990\"\/><\/figure>\n<p><strong>Note:<\/strong>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.<\/p>\n<h2>Set a custom route on your own button<\/h2>\n<p>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 replace<code>routeKey<\/code>with that route key.<\/p>\n<pre class='wp-block-code'><code>window.storecrm.doLineSubscribe({\n  routeKey: 'product_page'\n});<\/code><\/pre>\n<p>The following is an implementation example that includes a button.<\/p>\n<pre class='wp-block-code'><code>&lt;button type=\"button\" id=\"storecrm-line-product\"&gt;Connect with LINE&lt;\/button&gt;\n&lt;script&gt;\ndocument.getElementById('storecrm-line-product').addEventListener('click', function () {\n  if (!window.storecrm || typeof window.storecrm.doLineSubscribe !== 'function') {\n    console.error('Failed to load the StoreCRM LINE connection feature.');\n    return;\n  }\n  window.storecrm.doLineSubscribe({ routeKey: 'product_page' });\n});\n&lt;\/script&gt;<\/code><\/pre>\n<p><code>routeKey<\/code>If 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.<\/p>\n<h2>Select the run frequency<\/h2>\n<ul>\n<li><strong>Once per customer:<\/strong>Starts the automation only the first time for each customer.<\/li>\n<li><strong>Every specified number of days:<\/strong>The automation can start again after the specified number of days (1\u20133650) has passed since the previous run.<\/li>\n<li><strong>Every click:<\/strong>Starts every time the route is clicked. Before using this option, make sure your operation will not result in duplicate messages.<\/li>\n<\/ul>\n<p>If an automation does not start because of the frequency limit, the skipped result is still recorded in the acquisition history.<\/p>\n<h2>Review the LINE dashboard and acquisition route report<\/h2>\n<p>Under [LINE] \u2192 [LINE dashboard], you can review currently linked customers, new links, unlinks, net growth during the selected period, and daily trends.<\/p>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-line-routes-dashboard-20260903.png' alt='LINE dashboard screen showing linking status and trends' class=\"wp-image-5992\"\/><\/figure>\n<p>Under [LINE] \u2192 [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.<\/p>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-line-route-report-comparison-20260903.png' alt='Table comparing LINE linking rates and automation start rates by acquisition route' class=\"wp-image-5994\"\/><\/figure>\n<h3>Review processing results and customer-level history<\/h3>\n<p>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] \u2192 [Downloads].<\/p>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-line-route-report-history-20260903.png' alt='Processing results and customer-level acquisition history in the LINE acquisition route report' class=\"wp-image-5996\"\/><\/figure>\n<h2>If results or automations do not appear<\/h2>\n<ul>\n<li>Confirm that the target route appears on the storefront and route tracking is turned on.<\/li>\n<li>For a custom route, confirm that the value in your code<code>routeKey<\/code>exactly matches the key of the route you created.<\/li>\n<li>Confirm that the customer is logged in to their Shopify account.<\/li>\n<li>Confirm that the automation was created from the dedicated template and is enabled.<\/li>\n<li>Check the customer-level processing results to see whether the automation was skipped because of the run frequency.<\/li>\n<li>Clear the report filters for period, route, and automation, then check again.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"LINE\u6d41\u5165\u7d4c\u8def\u3067\u306f\u3001\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3001\u5546\u54c1\u30da\u30fc\u30b8\u3001\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u306a\u3069\u3001\u3069\u306e\u5c0e\u7dda\u304b\u3089LINE\u9023\u643a\u304c\u59cb\u307e\u3063\u305f\u304b\u3092\u8a18\u9332\u3057 [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,76],"tags":[],"class_list":["post-5767","post","type-post","status-publish","format-standard","hentry","category-setting","category-setting-setting"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/posts\/5767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/comments?post=5767"}],"version-history":[{"count":6,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/posts\/5767\/revisions"}],"predecessor-version":[{"id":5999,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/posts\/5767\/revisions\/5999"}],"wp:attachment":[{"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/media?parent=5767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/categories?post=5767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/tags?post=5767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}