# 타겟팅게이츠 (Targeting Gates)

### ♦ 타겟팅게이츠의 스크립트 연동

&#x20;

쇼핑몰 관리자에 접속 후 **마케팅 > 타게팅게이츠 설정/관리** 메뉴로 이동합니다.

<figure><img src="/files/spzLX24DH8Lb9YclLouC" alt=""><figcaption></figcaption></figure>

**1. 타게팅게이츠 사용설정에서 ‘사용함’을 체크합니다.**&#x20;

‘사용함’을 설정할 시 타게팅게이츠 스크립트가 자동 설치되며 활성화됩니다.

\* 타게팅게이츠 광고 사용함으로 설정할 경우 자동으로 설치되는 스크립트 외 수동 설치한 스크립트가 있다면 삭제 처리를 해주셔야 합니다. 스크립트 중복으로 인한 오류 발생할 가능성이 있습니다.

&#x20;

**2. 서비스 적용범위는 ‘PC+모바일’을 선택합니다.**&#x20;

‘PC+모바일’ 선택 시 PC와 모바일 쇼핑몰 모두에 스크립트가설치됩니다. 만약 특정 디바이스에만 태그 설치를 희망한다면 해당 디바이스만 선택해주시면 됩니다.

**3. 타게팅게이츠에서 발급받은 광고주 코드를 입력합니다.**

&#x20;\* 타게팅게이츠 혹은 광고 운영을 대행하는 에이전시 측으로 문의하시어 광고주 코드를 확인할 수 있습니다. 만약 해당 값을 입력하지 않은 상태에서 설정을 완료한다면, 상품 피드 생성 및 전환 태그 설치가 정상적으로 완료되지않습니다.

**4. ‘저장’ 버튼을 클릭하여 설정을 마무리합니다.**

**5. 설정을 완료했다면 타게팅게이츠 상품DB URL이 정상적으로 작동하는지 확인합니다.**&#x20;

‘미리보기’ 클릭 시 상품DB 페이지가 출력됩니다.

\* 타게팅게이츠 사용설정이 ‘사용안함’ 이거나 설정이 정상적으로 완료되지 않았을 경우 상품DB URL이 작동하지 않습니다.

\* 상점을 커스터마이징(튜닝)한 경우 스크립트가 정상적으로 작동하지 않을 수 있습니다. 이에 대한 대응 방안은 마련되어 있지 않습니다.

\* Npay 결제 방식을 사용하시는 경우 구매완료 이벤트에 한해 데이터 누락이 발생할 수 있습니다.&#x20;

### 타겟팅게이츠 스크립트 직접 삽입 가이드

#### 공통스크립트

아래 코드를 디자인관리 > 스킨 트리메뉴 > 전체레이아웃 디자인 > 하단 레이아웃 (/outline/\_footer.html) 에 추가

```
<!-- WIDERPLANET HOME SCRIPT START 2025.5.20 -->
<div id="wp_tg_cts" style="display:none;"></div>
<script type="text/javascript">
var wp_conf = 'ti=광고주코드&v=1&device=web';
</script>
<script type="text/javascript" defer src="//cdn-aitg.widerplanet.com/js/wp_astg_2.0_mall.js"></script>
<!-- // WIDERPLANET HOME SCRIPT END 2025.5.20 -->
```

#### 아이템 상세

디자인 > 스킨 트리메뉴 > 상품 > 상품 상세 내용 (/goods/goods\_view\.html) 소스의 { # footer } 윗줄에 추가

```
<!-- WIDERPLANET ITEM SCRIPT START 2025.5.20 -->
<span style="display: none;" name="wp_detection" tag="i">{goodsView}</span>
<span style="display: none;" name="wp_detection" tag="t">{goodsView}</span>
<span style="display: none;" name="wp_detection" tag="p">{=number_format(goodsView)}</span>
<script type='text/javascript'>var wp_page_type = 'Item';</script>
<!-- // WIDERPLANET ITEM SCRIPT END 2025.5.20 -->
```

#### 장바구니

디자인 > HTML 에디터 > 스킨 트리메뉴 > 스킨 > 현재 사용중인 default 디렉토리 > 주문 > 장바구니(/order/cart.html) 에서 \<!-{ @ .goods }-> 아랫줄에 추가

```
<!-- WIDERPLANET CART SCRIPT START 2025.5.20 -->
<span style="display: none;" name="wp_detection" tag="i">{..goods_seq}</span>
<script type='text/javascript'>var wp_page_type = 'Cart';</script>
<!-- // WIDERPLANET CART SCRIPT END 2025.5.20 -->
```

#### 구매완료

디자인 > HTML 에디터 > 스킨 트리메뉴 > 스킨 > 현재 사용중인 default 디렉토리 > 주문 > 주문 완료 (/order/complete.html) 에서 \<dl class="order\_thumb\_wrap"> 윗줄에 추가

```
<!-- WIDERPLANET PURCHASE SCRIPT START 2025.5.20 -->
<span style="display: none;" name="wp_detection" tag="i">{..goods_seq}</span>
<span style="display: none;" name="wp_detection" tag="t">{..goods_name}</span>
<span style="display: none;" name="wp_detection" tag="q">{..ea}</span>
<span style="display: none;" name="wp_detection" tag="p">{...tot_ori_price}</span>
<script type='text/javascript'>var wp_page_type = 'PurchaseComplete';</script>
<!-- // WIDERPLANET PURCHASE SCRIPT END 2025.5.20 -->
```

#### 회원가입

디자인 > 스킨 트리메뉴 > 회원 > 가입완료 (/member/join\_ok.php) 소스에서 { # footer } 윗줄에 추가

```
<!-- WIDERPLANET  SCRIPT START 2025.5.20 -->
<span style="display: none;" name="wp_detection" tag="i">회원가입</span>
<span style="display: none;" name="wp_detection" tag="t">회원가입</span>
<span style="display: none;" name="wp_detection" tag="p">1</span>
<span style="display: none;" name="wp_detection" tag="q">1</span>
<script type='text/javascript'>var wp_page_type = 'Join';</script>
<!-- // WIDERPLANET  SCRIPT END 2025.5.20 -->
```

#### 로그인

로그인 완료 후 동작할 수 있는 페이지에 설치합니다.

```
<!-- WIDERPLANET  SCRIPT START 2025.5.20 -->
<span style="display: none;" name="wp_detection" tag="i">로그인</span>
<span style="display: none;" name="wp_detection" tag="t">로그인</span>
<span style="display: none;" name="wp_detection" tag="p">1</span>
<span style="display: none;" name="wp_detection" tag="q">1</span>
<script type='text/javascript'>var wp_page_type = 'Login';</script>
<!-- // WIDERPLANET  SCRIPT END 2025.5.20 -->
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://marketing-help.nhn-commerce.com/conversion-tracking-setup/godomall-script-setup/targetinggates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
