简体   繁体   English

通过itms-services跟踪企业iPhone / iPad应用程序的下载

[英]Tracking Download for enterprise iPhone/iPad application through itms-services

I am using itms-services to download enterprise iPhone/iPad application. 我正在使用itms-services下载企业iPhone / iPad应用程序。 We want to track who has downloaded what application when the user clicks Download button. 我们想跟踪当用户单击“下载”按钮时谁下载了什么应用程序。

As prompt to Cancel/ Download is coming from itms-services not by our application, we are finding difficulties to track that download click event. 由于取消/下载的提示不是来自我们的应用程序,而是来自itms-services,因此我们很难跟踪该下载单击事件。 Can anybody give any way out to solve this problem. 任何人都可以提供任何解决该问题的方法。

Can you check your web access log of .ipa? 您可以检查.ipa的网络访问日志吗? It'll give you rough idea of how many downloads. 它可以让您大致了解多少次下载。

You could write JavaScript code that: 您可以编写以下JavaScript代码:

  1. contacts google's tracking services, and then 与Google的跟踪服务联系,然后
  2. changes the window.location to your iTMS-services link. 将window.location更改为您的iTMS服务链接。

Had the same problem, here is my working solution. 遇到同样的问题,这是我的工作解决方案。 This logs the enterprise download click to google analytics. 这会将企业下载点击记录到Google Analytics(分析)。

<!-- Users click on this install link -->
<a href="#" onclick="trackOutboundLink('{{ download_url }}'); return false;">Install App</a>

<script>
    var trackOutboundLink = function (url) {
        ga('send', 'event', 'Download Page', 'User Clicked Install', url, {'hitCallback': function () {
            window.location.href = url;
        }
        });
    };
 </script>

As far as I know there is no way to intercept the Cancel/Download from this IOS prompt. 据我所知,没有办法拦截来自此IOS提示的“取消/下载”。 The only way to ensure that you know that a download has occurred would be to have the file server detect the download of the entire file. 确保您知道下载已发生的唯一方法是让文件服务器检测到整个文件的下载。 Even then, it is possible that a user could "cancel" the download near the end, or if the file was built incorrectly (ie, profile is invalid) that the load to springboard is incomplete. 即使那样,用户也有可能在接近尾声时“取消”下载,或者如果文件的构建不正确(即,配置文件无效),则跳板的加载不完整。

If you use a system like EASE (Enterprise App Services Environment) [http://www.apperian.com/ease], it provides this type of information based on the completion of file downloading and has reporting. 如果您使用诸如EASE(企业应用服务环境)[http://www.apperian.com/ease]之类的系统,则它会根据文件下载的完成情况提供此类信息,并具有报告功能。 EASE is free to developers using ad-hoc deployment so if you are trying to distribute apps this might be an option for you. 使用临时部署的开发人员可以免费使用EASE,因此,如果您要分发应用程序,则可以选择EASE。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM