LINE

Help

Insert LINE Tags

About LINE tags toggle
To measure the effectiveness of your ads on LINE Ad Manager, you need to insert LINE tags on the pages you want to track. LINE tags consist of three codes: base codes, conversion codes, and custom event codes.


To get a LINE tag from LINE Ad Manager:
1. From the top page, click the Ad accounts tab > the ad account you want to track.
2. Click the menu icon at the top left of the ad manager screen > Tracking (LINE tag) under Shared library.

3. Check the codes.

Insert the codes that you need on the advertiser's site based on what you want to track. For information on how to insert tags, see the following Help articles:



See below for more information on the Tracking (LINE tag) screen:

Status
The tag status contains the following information:
• Name: The name of the tag. 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 with no issues. If a tag hasn't worked for seven days, it will show up as Inactive.
• Last contact: The last date the tag was called on.

Base code, Customer event code, and Conversion code
Copy the codes that you need and add them to a web page.

Custom audience
Follow the link to create custom audiences, including audiences for retargeting and lookalike audiences. LINE tags can be used to accumulate visitor data, which can be used to deliver ads for retargeting.

Tracking method
If you can't use third-party cookies, you can use first-party cookies and local storage for tracking.

Important:
- If you inserted a tag but the status shows up as Inactive, check again to make sure it was inserted correctly.
- For cross-domain tracking using first-party cookies, you need to make adjustments to the base code. For more information, see this Help article.


(Last updated: November 6, 2019)

Was this page helpful?

Yes No

Inserting tags (base codes) toggle
LINE tags need to be inserted into all of the pages that you want to track effectiveness for. We recommend inserting your tags inside <head>...</head>.
Note: We cannot guarantee a tag will work properly if it isn't inserted inside <head>...</head>.

To track conversions with LINE tags, you need to insert the LINE tag's base code into the website's header code. Either insert the base code in the <head>...</head> section of the website, or use the tag manager to insert it.
Note: Click Copy on the base code window to copy it exactly.


Cross-domain tracking
For cross-domain tracking with first-party cookies, you need to make adjustments to the base code, as shown in the image below.

Cross-domain tracking is only supported for different subdomains, and not for different domains.

Even if you adjust the code, you may not be able to track conversions in some cases, such as if the first-party cookies have expired.
Note: All of your inserted base codes need to be adjusted.
 
Different subdomains
This means only a part of the domain is different, as in the image below.

If the domains are completely different (for example, https://www.abc.com and https://www.def.com), cross-domain tracking is not supported.

However, tracking is possible if you use third-party cookies. See below for examples of the types of tracking available in different situations.



(Last updated: November 6, 2019)

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 make a conversion point.

We recommend inserting the conversion code directly below a base code; however, as long as the base code is set so that it loads first, tracking shouldn't be affected by inserting the codes apart from each other.

Important:
- The base code must be inserted so that it loads before the conversion code.
- 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 ad account within the same URL.
- Entering a line break or an extra blank space by mistake may cause a tag to work improperly, so be careful when copying tags.
​ ​


(Last updated: November 6, 2019)

Was this page helpful?

Yes No

Inserting tags (custom event codes) toggle
Use a custom event code if you want to create an audience or measure ad effectiveness based on events fired by visitors to a certain page.

When you enter a custom event code, it should be entered as a set together with a base code. We recommend inserting the custom event code directly below the base code; however, as long as the base code is set so that it loads first, tracking shouldn't be affected by inserting the codes apart from each other.

You can also add a base code, custom conversion code, and custom event code together.
Note: In this case, only insert a base code in one spot on one page.

The 'CustomEvent' part of a custom event code is the name that appears on the Ad manager screen. You can enter up to 20 half-width alphanumeric characters.


Important:
- 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 ad account within the same URL.
- Entering a line break or an extra blank space by mistake may cause a tag to work improperly. Keep this in mind when inserting tags (especially when copying and pasting them).


(Last updated: November 6, 2019)

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 <noscript>...</noscript>. Just swap out the existing image tag and insert your code.

If you want to track ad effectiveness, use a custom conversion. When you create one, be sure to indicate the URL for the page with your image tag.
Important: You can't track effectiveness using just an image tag.


(Last updated: November 6, 2019)

Was this page helpful?

Yes No

Help Center
TOP