# URL 매개 변수

## **URL 매개 변수 설명**

사이트에서 트래킹을 위해 유지되는 매개변수를 온사이트 캠페인 메시지 링크를 클릭 후 페이지 이동에도 유지할 수 있습니다.

<figure><img src="https://files.helpdocs.io/p92xn84cjv/articles/d70dy0khmj/1709798760272/image.png" alt=""><figcaption></figcaption></figure>

1. 현재 URL : 그루비 온사이트 캠페인 메시지가 노출되는 페이지의 URL
2. 링크 URL : 온사이트 캠페인 메시지에 삽입할 링크 URL (방문자를 이동 시키고자할 페이지의 URL)

***

## **활용**

1. 온사이트 캠페인 만들기 진입
2. 캠페인 메시지를 설정 시 에디터의 링크 블록을 추가 후 이동할 URL을 작성
3. URL마지막에 ?\_grb\_param을 추가
4. 사이트에서 캠페인이 실행되고 노출 메시지에 설정한 링크를 클릭
5. 주소창 URL의 매개 변수를 가지고 해당 URL로 이동했는지 확인

***

## **입력 유의 사항**

{% hint style="info" %}
링크 URL에 이미 매개 변수가 있는 경우에는 그 매개 변수 추가를 위해 '?'가 이미 사용되어 맨 마지막에 & 을 사용하여 &\_grb\_param를 이어 줍니다.
{% endhint %}

1. 매개변수가 없는 경우 링크 설정 방법
2. <https://groobee.shop/product/list.html?\\_grb\\_param>
3. 매개변수가 있는 경우 링크 설정 방법
4. <https://groobee.shop/product/list.html?cate\\_no=46&\\_grb\\_param>
5. 링크 URL에 '?'가 두 번 사용되는 경우
6. URL 매개 변수를 추가하기 전에 링크에 이미 매개변수가 사용되었을 경우 트래킹이 정상 작동되지 않음
7. 오탈자 ex) utm\_content (ㅇ) → utm\_contents (x)

***

## **제외 사항**

아래 케이스 경우 매개 변수 체크 로직에서 제외됩니다.

1. 링크 URL에 'javascript:'가 포함된 경우
2. 링크 블록에 링크 URL이 없는 경우

<br>


---

# 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://docs.groobee.ai/old-admin/onsite/guide/url.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.
