LINE

Help center

LINE Tag

Inserting LINE tags

Getting LINE tags toggle
If you want to check the effectiveness of messages sent from your LINE official account, you need to insert LINE tags in the page you want to track.

LINE tags consist of three code types: base codes, conversion codes, and custom event codes.

You can get LINE tags on LINE Official Account Manager for web browsers by following the steps below.

1. Click Home > Tracking (LINE tags).
2. Read the warning message, then click Start tracking with LINE tags to display each code.

Insert the base code, conversion code, and custom event code on the pages you want to track according to your goals. For information on how to insert LINE tags, see the following Help articles.


Statuses on the Tracking (LINE tags) screen:
• Tag name: Displays the tag's name. For event codes, the name you set will appear once the tag starts working.

• Status: Shows if the tag is currently Active or Inactive. A tag will appear as Active if it was inserted correctly and is working properly. If a tag hasn't worked within seven days, it will show up as Inactive.

• Last triggered: The last date the tag was called on.

Was this page helpful?

Yes No

Inserting tags (base codes) toggle
To track conversions with LINE tags, you need to insert the LINE tag's base code into the website's head element.

Either insert the base code in the <head>...</head> element of the website, or use the tag manager to insert it.

Note:
- There is no limit to the number of tags you can insert in the same URL, but be sure to insert only one base code generated for the same account within the same URL.
- Entering a line break or an extra blank space may cause a tag to work improperly. Keep this in mind when inserting tags (especially when copying and pasting them).

Was this page helpful?

Yes No

Inserting tags (conversion codes) toggle
Insert a conversion code together with a base code on the page that you want to track.

The conversion code should be inserted directly after the base code.

Note: Entering a line break or an extra blank space may cause a tag to work improperly. Keep this in mind when inserting tags (especially when copying and pasting them).

Was this page helpful?

Yes No

Inserting tags (custom event codes) toggle
You can categorize and freely track web pages using custom events. When you enter a custom event code, it should be inserted together as a set with a base code.

By changing the "CustomEvent" tag to any custom event name and inserting it in your website, you'll be able to select the custom event when creating a custom audience.

Note:
- Custom event names should be within 20 half-width alphanumeric characters.
- Entering a line break or an extra blank space may cause a tag to work improperly. Keep this in mind when inserting tags (especially when copying and pasting them).

Was this page helpful?

Yes No

Inserting image tags toggle
When it's difficult to insert a JavaScript tag in a page, use an image tag.

The image tag goes inside the <noscript>...</noscript> element. Just swap out the existing image tag and insert your code.

If you want to track how effective your messages are, use a custom conversion.
Important: You can't track effectiveness using just an image tag.

Was this page helpful?

Yes No

Tracking conversions

Conversion tracking toggle
Conversion tracking lets you check how effective your sent messages were. (Conversions are caused when users access your website by clicking on messages sent by your LINE official account.)

Was this page helpful?

Yes No

Tracking website conversions toggle
To track conversions on a website, you need to insert LINE tags. You can track and measure conversions by using a conversion code or a custom conversion.

For information on how to insert LINE tags, see the following Help articles.


Conversion codes
You need to insert the conversion code at the conversion point. A conversion occurs when a user clicks on a message sent from a LINE official account and is taken to a website with a conversion code, after which a LINE tag is triggered.

Custom conversions
There are other methods of tracking conversions besides using a conversion code. You can use custom conversions to enable tracking under specific conditions, allowing for more detailed message analysis and optimization.

To create a custom conversion:
1. Click Insight > Broadcasts.
2. On the Custom conversions page, click Create new.
3. Configure each item and click Save.
Note: You can set an attribution period of one to 180 days.

Matching methods:
• URL
Specify a single URL/keyword, or use OR/AND rules to add multiple values.
Note: URLs/keywords including asterisks or wildcards cannot be used.

<Tracking with conversion rules>
Examples using "URL A" and "URL B"
- Using OR: You can track users who visited either URL A or URL B.
- Using AND: You cannot track users (e.g. those who visited URL A and URL B).

Examples using "Keyword A" and "Keyword B"
- Using OR: You can track users who visited a URL that contains either Keyword A or Keyword B.
- Using AND: You can track users who visited a URL that contains both Keyword A and Keyword B.

• Conversion events
The names of any active event codes will appear in the drop-down menu. Event rules will only appear for custom event codes that have already been inserted. Select the event that you want to use as a conversion point.
Note: The event rule "Conversion" refers to your conversion code.

Important:
- You can see the tracking results for custom conversions in your performance report.
- Conversion codes are valid for 30 days by default. You can set an expiration date of your choice from one to 180 days when you select Conversion.
- You can create up to 100 custom conversions; however, after a conversion has been created you can only edit/delete the name and description. If you don't want to use a custom conversion, change the status to Pause.
- When you pause a custom conversion, its status will not change to Paused immediately, and it may still show up as Active immediately after.

Was this page helpful?

Yes No

Checking tracking results

Checking tracking results toggle
Tracking results can be checked from Insight.

To check tracking results:
1. Click Insight > Broadcasts.
2. Set the time range you want to check.
3. In Show metrics, select the items that appear in the results and set Apply metrics.
4. Click Search or Download.

Was this page helpful?

Yes No

Other

LINE tags aren't firing toggle
If LINE tags aren't firing, make sure that:
• The tag entered properly.
A tag won't be tracked properly if its details have been modified.

• Your tag manager is configured correctly (if you're using one).
Note: For information about adding tags and configuring tag firing options with a tag manager, please contact the service provider directly.

• You're not using a URL shortening service.
Your website may not be tracked properly if you use a URL shortening service.

Was this page helpful?

Yes No

Checking a LINE tag's status toggle
To check a tag's status from LINE Official Account Manager for web browsers:
1. Click Tracking (LINE tags).
2. Check the codes under Status.

Was this page helpful?

Yes No

Can I insert more than one base code in the same page? toggle
You can insert a number of base codes from different accounts in a single URL, but we recommend that you do not use the same account's base code more than once.

Please be aware that adding the same base code multiple times in a URL may affect tracking.

Was this page helpful?

Yes No

Conversions were counted even though none occurred toggle
A conversion code may have been inserted in a page without a conversion point. Make sure that your conversion codes are inserted in the appropriate pages.

Was this page helpful?

Yes No

Changing the tracking point for separate messages toggle
You can check the results for each message you send by setting a custom conversion for each message you want to track.

Was this page helpful?

Yes No

Are LINE tags the same tags used in LINE Ads? toggle
LINE tags have the same specifications as the tags used with LINE Ads.

If you've already set tags in LINE Ads, you can measure conversions with events from LINE Ads.

Was this page helpful?

Yes No

Help center
TOP