友盟數(shù)據(jù)分析
U-DOP數(shù)據(jù)開放平臺是友盟+為開發(fā)者提供的數(shù)據(jù)開放和私域數(shù)據(jù)融合的平臺,通過一鍵訂閱分析模板、拖拽式自助分析報表來快速完成數(shù)據(jù)分析工作。U-DOP數(shù)據(jù)開放平臺不僅僅為您提供了U-App的統(tǒng)計明細(xì)數(shù)據(jù),同時包含了多主題的分析模板和可訂閱的數(shù)據(jù)包,通過任務(wù)引導(dǎo)式教您深度挖掘數(shù)據(jù)中的業(yè)務(wù)信息。您可以通過阿里云數(shù)據(jù)湖分析DLA的數(shù)據(jù)訂閱功能對原始明細(xì)log數(shù)據(jù)進(jìn)行查詢和分析。
開通友盟+DLA的組合方案
登錄友盟+數(shù)據(jù)銀行控制臺,在未開通服務(wù)頁面的Data Lake Analytics區(qū)域,單擊立即開通。
輸入需要訂閱數(shù)據(jù)的友盟賬號和密碼,單擊確認(rèn)授權(quán),進(jìn)行阿里云賬號三方登錄的確認(rèn)授權(quán)。
綁定友盟賬號和阿里云賬號。
如果沒有阿里云賬號可以快速注冊阿里云賬號,并和友盟賬號進(jìn)行綁定;如果已經(jīng)有阿里云賬號可以直接輸入阿里云賬號和密碼進(jìn)行綁定。
在云資源訪問授權(quán)頁面,單擊同意授權(quán),授權(quán)U-DOP使用子賬號角色來訪問數(shù)據(jù)湖分析服務(wù)DLA。
您需要購買數(shù)據(jù)湖分析流量包并完成支付,通過阿里云數(shù)據(jù)湖分析DLA產(chǎn)品來進(jìn)行數(shù)據(jù)的查詢和投遞。
支付完成后請您不要關(guān)閉瀏覽器,等待開通成功的提示窗口。
友盟賬號和阿里云賬號綁定后,可以通過友盟賬號登錄到阿里云賬號(第三方登錄),請謹(jǐn)慎綁定,綁定后不支持更換賬號操作。
綁定成功后,系統(tǒng)會提示您綁定電子郵箱,您可以根據(jù)實際情況選擇立即綁定或者下次再說。
查詢數(shù)據(jù)
服務(wù)開通成功之后,等待一段時間您就可以看到友盟自動為您的阿里云賬號創(chuàng)建了一個名為 integration_biz_ump_databank的數(shù)據(jù)庫, 這個數(shù)據(jù)庫下面會有各種不同的數(shù)據(jù)明細(xì)表。您可以在DLA的SQL執(zhí)行頁面進(jìn)行數(shù)據(jù)查詢了。如果您要查詢某個App在2021年1月18日的相關(guān)日志明細(xì),請參考以下SQL:
select
umid, install_channel, app_version, app_key, is_new_install, install_datetime, app_channel,
install_app_version, carrier, os, os_version, resolution, network_access, device_ip,
country, province, city, session_start, session_end, session_id, session_duration,
activity_cnt, is_new_upgrd, pre_channel, pre_app_version, is_new_device, imei, idfa,
mac, android_id, idfv, open_udid, reg_app_name, device_model, std_device_model, device_brand,
std_device_brand, provider, puid, is_new_reg, reg_channel, sdk_version, umid_from,
cli_timestamp, svr_timestamp, log_date_time, oaid
from
(select
umid, install_channel, app_version, app_key, is_new_install, install_datetime, app_channel,
install_app_version, carrier, os, os_version, resolution, network_access, device_ip,
country, province, city, session_start, session_end, session_id, session_duration,
activity_cnt, is_new_upgrd, pre_channel, pre_app_version, is_new_device, imei, idfa,
mac, android_id, idfv, open_udid, reg_app_name, device_model, std_device_model, device_brand,
std_device_brand, provider, puid, is_new_reg, reg_channel, sdk_version, umid_from,
cli_timestamp, svr_timestamp, log_date_time, oaid
from dwd_ump_log_uapp_launch_di
where ds = '20210118'
and app_key = 'xxxxxx'
and is_new_install = 1
order by cli_timestamp desc) a
group by install_channel,install_app_version,umid;