Micro letter can not download the APP solution (one second to realize micro-channel method automatically jump browser to open the download link d)

Many friends of APP to promote links page needs to be propaganda, spread, download, etc. in the micro letter, but friends must find a micro-channel is shut off download link of APP. But most micro-channel one of the largest social platform for its own sake, shut off all links to download the APK. How we want to solve this problem?

solution:

We based micro-channel interfaces developed a new mobile phone download APP micro-channel end of the program, this program generated by the link, the user clicks Andrews micro letter, then you can jump directly to the phone is the default browser to open the download link. IOS user clicks the micro-letter words will pop up a mask prompts the user to open the download link in browser or jump to the Apple APP store. In this case greatly reduces the user's steps, using our method does not appear micro letter called bundled download. Give the user to download a good experience for us to promote the conversion rate will be significantly improved. Therefore, close-up article to share a free test of the function interface.

First mindjump open a free test interface permissions, and then follow the instructions on the page step by step you can.

Share section of source code for your reference:

<!DOCTYPE html>
<html xmlns="http://www.mindjump.cn/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>loading</title>
        <script type=text/javascript src="http://libs.baidu.com/jquery/1.9.0/jquery.min.js"></script>
    </head>
    
    <body>
        
        
    <script type="text/javascript">
        $(function () {
            get_share();
        });
        
        function get_share(){
            var user = getQueryString('user');
            var url = getQueryString('url');
            $.ajax({
             type: "get",
             async: false,
             url: 'http://api.weixin139.com/jumpurl/index/get_url.html',
             data:{user:user,url:url},
             dataType: "jsonp",
             jsonp: "callback",
             jsonpCallback:"checkHandler",
             success: function(data){
                 window.location.href=data.url;
             },
         });
        }
        
        function getQueryString(name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
            var r = window.location.search.substr(1).match(reg);
            if (r != null) return unescape(r[2]);
            return null;
        }
 
        </script>
 
    </body>
</html>

  

Guess you like

Origin www.cnblogs.com/klliy/p/10963305.html