8단계 딥링크 연동하기
- Print
8단계 딥링크 연동하기
- Print
The content is currently unavailable in English. You are viewing the default Korean version.
Article summary
Did you find this summary helpful?
Thank you for your feedback!
여러 매체의 광고를 거치게 될때, 딥링크 또는 웹 링크 주소에 쿼리 파라미터를 추가하여 지속적으로 광고를 트래킹 할 수 있습니다.
아래 예제는 딥링크로 부터 유입된 https://xxxx/yyyy?ak={ACCESS_KEY}&ck={CAMPAIGN_KEY}&utm_source={SOURCE}&utm_medium={MEDIUM}&utm_campaign={CAMPAIGN}&utm_content={CONTENT} 를 가정합니다.
addParameter
플레이어를 실행하기 전에 커스텀 데이터를 추가할 수 있습니다.
late final _shopLivePlayerPlugin = ShopLivePlayer();
late final _shopLiveCommonPlugin = ShopLiveCommon();
void startLivePlayer() {
// 1. Access Key 설정
_shopLiveCommonPlugin.setAccessKey(accessKey: "your_access_key");
// 2. 커스텀 파라미터 추가 (플레이어 실행 전)
_shopLivePlayerPlugin.addParameter(key: "utm_source", value: "SOURCE");
_shopLivePlayerPlugin.addParameter(key: "utm_medium", value: "MEDIUM");
_shopLivePlayerPlugin.addParameter(key: "utm_campaign", value: "CAMPAIGN");
_shopLivePlayerPlugin.addParameter(key: "utm_content", value: "CONTENT");
_shopLivePlayerPlugin.addParameter(key: "custom_id", value: "user123");
// 3. 플레이어 실행
_shopLivePlayerPlugin.play(
data: ShopLivePlayerData(campaignKey: "your_campaign_key"),
);
}Parameter name | Type | Description |
|---|---|---|
key | String | 추가 적용할 커스텀 파라미터 key |
value | String | 추가 적용할 커스텀 파라미터 value |