Firebase动态链接UTM参数

时间:2019-09-09 05:39:18

标签: android firebase firebase-dynamic-links deeplink

我已经在Android中创建了firebase动态链接,我正在使用接收深层链接路径。

    FirebaseDynamicLinks.getInstance().getDynamicLink(getIntent()).addOnSuccessListener(this, new OnSuccessListener<PendingDynamicLinkData>() {
        @Override
        public void onSuccess(PendingDynamicLinkData pendingDynamicLinkData) {
            if (pendingDynamicLinkData==null)return;
            if (pendingDynamicLinkData.getExtensions() != null) {
                Bundle ext = pendingDynamicLinkData.getExtensions();
                PurplleTrace.i("Deeplink","keySet "+ext.keySet().isEmpty());
                for (String key : ext.keySet()) {
                    PurplleTrace.i("Deeplink", "Ket" + key + "value"
                            + ext.get(key).toString()); //To Implement
                }
            }
            PurplleTrace.i("Deeplink", pendingDynamicLinkData.getLink().toString());
            PurplleTrace.i("Deeplink", "" + pendingDynamicLinkData.getMinimumAppVersion());

        }
    });

如何从链接获取UTM参数的来源,媒介,广告系列参数

0 个答案:

没有答案