Set up friend-add tracking (see which ads brought new friends)
Add tracking links to ads or landing pages to track each new friend's source ad and record them as leads linked to ads.
Author: Cascade
Set up Friend-add tracking to track which person became a friend through which ad. Configure it from the LINE Official Account row under Settings > Integrations in the left menu. New friends are recorded as Cascade leads and linked to an ad platform and campaign.
You can add this later. This setting is optional. You can add it any time after connecting, without repeating the steps in Connect your LINE Official Account to analyze friend growth.
How it works
Cascade automatically generates a "tracking link". Add this link to your ads or landing page buttons. People who tap it see the Add us on LINE page and proceed with Add friend. After adding you, they tap Tap after adding to record which ad brought them.
Only friend adds through the tracking link are tracked. Other sources and existing friends are excluded.
Friend adds are not included in conversion counts, CPL, or ROAS. They appear separately under the Gain Friends lead type.
If someone opens the tracking link but does not add you as a friend, their information is automatically deleted within 30 days.
Requirements
Available on the Business plan.
Owners and Admins can configure these settings.
Complete the steps in Connect your LINE Official Account to analyze friend growth.
A LINE Login channel in LINE Developers (creation steps follow)
Steps
1. Create a LINE Login channel
Open the LINE Developers console. On the page for the same provider as your Messaging API channel, select Create a new channel.

Select LINE Login as the channel type and follow the on-screen instructions to create it.
App types: Web app
You can choose values for the other fields, such as the channel name.

Select the same provider. If you create the channel under a different provider from your official account (Messaging API channel), you cannot link them in the next step.
2. Link your official account to the channel
Scroll down in Basic settings for the LINE Login channel you created. Under Add friend option, click Edit for Linked LINE Official Account and select your official account.

3. Set the channel status to Published
At the top of the channel screen, change the status from Developing to Published. No review is required. If it stays on Developing, only users with channel permissions can open the tracking link.
4. Find the channel ID and channel secret
In the same Basic settings tab, note the Channel ID (numeric) and Channel secret.


5. Set up tracking in Cascade
After you connect your LINE Official Account, the Friend-add tracking step appears on the same screen. Paste the values from step 4 into Login channel ID and Login channel secret, then click Set up tracking. Setup is complete when "Friend-add tracking has been set up." appears.
If you selected Set up later when connecting, open Settings > Integrations. Click the LINE integration settings gear icon on the connected LINE Official Account row. Follow the same steps in the Friend-add tracking section.
6. Copy the tracking link
A Tracking Link is generated when setup is complete. Open Customer Management > Measurement Tag in the left menu, then view and copy it on the LINE friend adds tab. You can also open it from View tracking link on the setup completion screen. Only Owners and Admins see this tab. The link stays the same even if you repeat setup.
7. Add the tracking link to your ads
Use either of the following methods to add the tracking link to the path from your ads.
Method A: Use it directly as the ad destination (recommended)
Set the tracking link as the ad's final URL (destination URL). People who tap the ad go directly to the friend add page. The ad platform automatically adds information identifying the ad.
Method B: Add it to a landing page button (to explain before people add you)
Set the tracking link as the destination of the Gain Friends button on your landing page. Also configure the page to pass along which ad brought the visitor. On pages with the measurement tag installed, add liff.line.me to the CTA tracking target hosts (data-cascade-cta-hosts). Contact support if you are unsure how to configure this.
8. Verify tracking
When someone adds you as a friend through the tracking link, they appear as Gain Friends in the lead list under Customer Management > Attribution. The ad platform and campaign are linked automatically. View friend add trends and Friend add bid in LINE friends in CRM Analytics.
Send friend adds to ad platforms as conversions
You can send friend adds from tracking links to connected ad platforms as conversions. The platforms' automated bidding learns from friend acquisition. These results are kept separate from closed order and purchase data metrics.
Open Ad Settings > Audience Management in the left menu and select the Conversion feedback tab. Under Sending results to ad platforms > LINE friend adds, review the data and destinations, then click Agree and start.

The data sent includes the friend add completion time, ad click ID, browser information from the tracking page visit, and the URL of the ad landing page visited. Personal information such as email addresses is not sent.
Cascade automatically creates a dedicated conversion on connected ad platforms and sends the data to it. If an existing conversion definition appears to be related to friend adds, automatic creation is put on hold. Select a destination from What is sent & destinations.
Whether a sent friend add counts as a conversion in the ad platform's dashboard depends on the platform's conditions, such as the number of days since the click.
Troubleshooting
Symptom | Cause | Solution |
|---|---|---|
"Could not verify the login channel ID or secret" appears | The values were pasted incorrectly, or they are from the Messaging API channel. | Paste the values again from the LINE Login channel's Basic settings. |
"This ID differs from the configured login channel" appears | You cannot register a different login channel from the one already configured. | To change it, disconnect your LINE Official Account and set it up again. |
You reissued the login channel secret | Tracking does not work with the old secret. | In the Friend-add tracking section under the LINE integration settings gear icon, enter the new value and click Update tracking settings. The tracking link stays the same. |
No one else can open the tracking link | The login channel status is still Developing. | Change it to Published as described in step 3. |
The LINE friend adds tab is missing from Measurement Tag | You are signed in with a role other than Owner or Admin. | Have an Owner or Admin copy and share the tracking link. |
You cannot start LINE friend adds in Conversion feedback | Friend-add tracking (the tracking link) is not configured. | Complete step 5 first. |
Next steps
You can send different message text to friends acquired through tracking links based on the ad that brought them. See Use LINE Delivery (step messages and broadcasts).
Related articles
More articles in this category

