<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Omnimind</title>
    <description>The latest articles on DEV Community by Omnimind (@omnimind).</description>
    <link>https://dev.to/omnimind</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1428209%2Ff865f554-85b2-40e6-8faf-410bc98925d0.png</url>
      <title>DEV Community: Omnimind</title>
      <link>https://dev.to/omnimind</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/omnimind"/>
    <language>en</language>
    <item>
      <title>Web-to-App Attribution Measurement Using Mogua</title>
      <dc:creator>Omnimind</dc:creator>
      <pubDate>Tue, 06 Aug 2024 09:59:37 +0000</pubDate>
      <link>https://dev.to/omnimind/web-to-app-attribution-measurement-using-mogua-1ahm</link>
      <guid>https://dev.to/omnimind/web-to-app-attribution-measurement-using-mogua-1ahm</guid>
      <description>&lt;p&gt;This article introduces how to quickly view the effectiveness of different marketing channels through the &lt;a href="https://www.mogua.io/" rel="noopener noreferrer"&gt;Mogua&lt;/a&gt; SDK and Dashboard statistics panel.&lt;/p&gt;

&lt;h1&gt;
  
  
  Mogua Web-to-App Deep Linking Solution
&lt;/h1&gt;

&lt;p&gt;Mogua is a lightweight deep linking solution designed for indie apps like mobile games and tool apps, used for web-to-app attribution statistics.&lt;/p&gt;

&lt;p&gt;Mogua collects device data from both web and app, matching them to enable parameter passing from the webpages to the app. This ensures app users are correctly attributed to different marketing channels. More details on how the SDK can refer to &lt;a href="https://dev.to/omnimind/mobile-deep-linking-solution-2024-2gpm"&gt;this article&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;To use Mogua's products, you need to first create an application and integrate the Mogua SDK into your hosted website and app. Detailed step-by-step guidance can be found in the &lt;a href="https://www.mogua.io/docs" rel="noopener noreferrer"&gt;integration documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;After completing the SDK integration, you can quickly view the statistics of different parameters through the Dashboard and use them to easily measure the number of users brought by different marketing channels.&lt;/p&gt;

&lt;h1&gt;
  
  
  Channel Measurement Using Mogua
&lt;/h1&gt;

&lt;p&gt;Through the parameter statistics of the Mogua Dashboard, you can quickly and easily filter to see the number of users brought by different channels.&lt;/p&gt;

&lt;h2&gt;
  
  
  All Events
&lt;/h2&gt;

&lt;p&gt;Parameter provides statistics of core events. The following examples explain how to use the Event counts.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ep-AEz4k--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://prod-files-secure.s3.us-west-2.amazonaws.com/736fa5d9-8e00-4fe5-9362-eab6ded7c54a/3d4799a3-f875-4736-8523-779669170bad/Untitled.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ep-AEz4k--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://prod-files-secure.s3.us-west-2.amazonaws.com/736fa5d9-8e00-4fe5-9362-eab6ded7c54a/3d4799a3-f875-4736-8523-779669170bad/Untitled.png" alt="Untitled" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Web Download Click Event&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This event is triggered when the &lt;em&gt;openOrDownload&lt;/em&gt; method runs. &lt;/p&gt;

&lt;p&gt;After you complete the SDK integration for the web, all URL parameters of the promotional page will be automatically transmitted to the server after this event is triggered, and matched when the app is opened. &lt;/p&gt;

&lt;p&gt;You can also manually define params to pass when you invoke the &lt;em&gt;init&lt;/em&gt; method as shown in the example below.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight kotlin"&gt;&lt;code&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;script&lt;/span&gt; &lt;span class="n"&gt;src&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"https://www.mogua.io/script/moguasdk/index.umd.js"&lt;/span&gt; &lt;span class="p"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class="n"&gt;script&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;script&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nc"&gt;Mogua&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;init&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
        &lt;span class="n"&gt;appKey&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="mi"&gt;43&lt;/span&gt;&lt;span class="n"&gt;ba757b8bc3&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;key1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;value1&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;key2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;value2&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;..&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="n"&gt;script&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;App Installation Event&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This event is for the statistics of new app users completing the app installation. &lt;/p&gt;

&lt;p&gt;Some of our customers are mobile games, and the most common marketing channels are affiliates and ads. &lt;/p&gt;

&lt;p&gt;Below are examples explain how to use parameter statistics to quickly measure your marketing channels in these scenarios.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu5e0qbiecwwmqm6i9ius.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu5e0qbiecwwmqm6i9ius.png" alt="Photo by [Anton](https://www.pexels.com/photo/turned-on-iphone-displaying-pokemon-go-charizard-application-243698/)" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How To Measure New Users From Affiliates&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A main source of new users for mobile games comes from affiliates. To measure this channel, you can set up an invitation link for Affiliates on your website, such as &lt;a href="http://www.yoursite.com/?channel=affiliates&amp;amp;referrer=influencer1" rel="noopener noreferrer"&gt;http://www.yoursite.com/?channel=affiliates&amp;amp;referrer=influencer1&lt;/a&gt;. When a user downloads, installs, and opens the app through this link, the parameters &lt;strong&gt;&lt;em&gt;channel&lt;/em&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;em&gt;referrer&lt;/em&gt;&lt;/strong&gt; will automatically be passed to the app.&lt;/p&gt;

&lt;p&gt;By passing parameters from web-to-app, you can automatically associate this user with the referral source and use this parameter to calculate commissions in your program.&lt;/p&gt;

&lt;p&gt;In this scenario, in the dashboard, you can select &lt;strong&gt;App Installation&lt;/strong&gt; in All Events, choose the time period, enter &lt;strong&gt;&lt;em&gt;channel&lt;/em&gt;&lt;/strong&gt; in Params, and enter &lt;strong&gt;&lt;em&gt;affiliates&lt;/em&gt;&lt;/strong&gt; in Value to see the number of users brought by the referral.&lt;/p&gt;

&lt;p&gt;If you would like to quickly see the number of installations brought by a specific affiliate, you can also enter &lt;strong&gt;&lt;em&gt;referrer&lt;/em&gt;&lt;/strong&gt; in Params and enter a specific value for the affiliate in Value.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frogn9phvclvb1qgk3r2d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frogn9phvclvb1qgk3r2d.png" alt="Screenshot of Mogua" width="800" height="312"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How To Measure New Users From Ads&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Your users come from various ad channels, such as Facebook, Tik Tok, App Stores, etc. By setting params in your ad link, you can measure the ROI of different channels.&lt;/p&gt;

&lt;p&gt;For example, you can set up a app download link with params, such as &lt;a href="http://www.yoursite.com/?channel=tiktok&amp;amp;campaign_id=12345" rel="noopener noreferrer"&gt;http://www.yoursite.com/?channel=tiktok&amp;amp;campaign_id=12345&lt;/a&gt;. When a user clicks on your ad, their will be taken to this page. If they downloads, installs, and opens the app through this link, the parameters &lt;strong&gt;&lt;em&gt;channel&lt;/em&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;em&gt;campaign_id&lt;/em&gt;&lt;/strong&gt; will automatically be passed to the app.&lt;/p&gt;

&lt;p&gt;You can filter the parameters to identify which channel and which campaign bring in more users and improve your marketing strategy.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;App Opening From URL Event&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This event calculates the how many existing users open the app from your website. &lt;/p&gt;

&lt;p&gt;This can help you measure how direct deep-linking help you to interact with your users.&lt;/p&gt;

&lt;h2&gt;
  
  
  All Platforms
&lt;/h2&gt;

&lt;p&gt;On all platforms, you can view parameter statistics on iOS and Android devices to analyze the differences in promotion effects on different devices.&lt;/p&gt;

&lt;p&gt;For example, if you select iOS in Platforms and App Installation in All Events, you can see the number of installations on iOS during a specific time period.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4ub96v0inbqous00dzbj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4ub96v0inbqous00dzbj.png" alt="Screenshot of Mogua" width="800" height="386"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;For indie mobile games, quickly monitoring and optimizing the marketing channels effectively are vital to success.&lt;/p&gt;

&lt;p&gt;Mogua is designed for these teams and developers, we provide a solution that is easy to integrate, simple to use and adapt to most popular development frameworks such as Native, Flutter and Cocos2d.&lt;/p&gt;

&lt;p&gt;I hope this piece of information was helpful to you. Feel free to &lt;a href="https://www.mogua.io/" rel="noopener noreferrer"&gt;try our product&lt;/a&gt; and contact us!&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>ios</category>
      <category>androiddev</category>
      <category>mobile</category>
    </item>
    <item>
      <title>Build Deep Linking with Mogua’s Solutions</title>
      <dc:creator>Omnimind</dc:creator>
      <pubDate>Thu, 18 Jul 2024 11:36:10 +0000</pubDate>
      <link>https://dev.to/omnimind/build-deep-linking-with-moguas-solutions-5967</link>
      <guid>https://dev.to/omnimind/build-deep-linking-with-moguas-solutions-5967</guid>
      <description>&lt;p&gt;This article is a step-by-step guide on how to build a web-to-app deep linking using &lt;a href="https://www.mogua.io/" rel="noopener noreferrer"&gt;Mogua&lt;/a&gt;’s solution.&lt;/p&gt;

&lt;h1&gt;
  
  
  The use case: Mogua Demo app
&lt;/h1&gt;

&lt;p&gt;The Mogua demo app on our website is a simple use case of how to track the web referrals for app installs.&lt;/p&gt;

&lt;p&gt;The process of the Mogua Demo is as the image below.&lt;/p&gt;

&lt;p&gt;1.Collect web visitors’ device info.&lt;/p&gt;

&lt;p&gt;When a visitor enters your website, it triggers the web SDK to collect the params and the device’s info.&lt;/p&gt;

&lt;p&gt;This step can be tested on our live demo on the web:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enter a key-value pair on the demo. This step simulates how you (the developer) set tracking params for your webpages.&lt;/li&gt;
&lt;li&gt;If you visit this demo on PC, after you click “Go!” you’ll be able to scan the QR code to this demo on your mobile. The key-value pair will be passed to the mobile webpage. This step simulates how a visitor interacts on your website.&lt;/li&gt;
&lt;li&gt;The web SDK collects users' device information.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7dcc92ov4rl2nywb2yrm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7dcc92ov4rl2nywb2yrm.png" alt="Image description" width="800" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.Taking the visitors to the app&lt;/p&gt;

&lt;p&gt;When a visitor clicks on the download button on hosted webpage,  the SDK will use the &lt;code&gt;openOrDownload&lt;/code&gt;  method, and the &lt;strong&gt;web download click&lt;/strong&gt;  event on the web SDK will be triggered and counted. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fupswks6jw15zp1stmurx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fupswks6jw15zp1stmurx.png" alt="Image description" width="800" height="1731"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The SDK will identify whether your app is already installed on the visitors’ devices.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If installed, the app will be opened directly. An &lt;strong&gt;app opening&lt;/strong&gt; event will be triggered and counted.&lt;/li&gt;
&lt;li&gt;If not installed, the visitor will be taken to the download URL. When the user first opens the app after installation, an &lt;strong&gt;app installation&lt;/strong&gt; event will be triggered and counted.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Statistics of these events can be viewed in the dashboard.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjvsl4xfakmycniwupn9y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjvsl4xfakmycniwupn9y.png" alt="Image description" width="800" height="352"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.Matching app visitors’ device information&lt;/p&gt;

&lt;p&gt;When your app is opened on a device, Mogua SDK will collect the device's information and match it with that on the app server.&lt;/p&gt;

&lt;p&gt;If there’s a match, the parameters from the web will be retrieved. In this way, the users’ sources are identified.&lt;/p&gt;

&lt;p&gt;4.Taking the visitor to the deep link automatically&lt;/p&gt;

&lt;p&gt;If you have appointed a specific page in the app in your params, the SDK will open the page automatically after retrieving the params from the website.&lt;/p&gt;

&lt;h1&gt;
  
  
  Step to step guide
&lt;/h1&gt;

&lt;p&gt;Here is a step-by-step guide on how to deep link to an app with Mogua’s solution:&lt;/p&gt;

&lt;p&gt;1.Create a Mogua &lt;a href="https://www.mogua.io/" rel="noopener noreferrer"&gt;account&lt;/a&gt;.&lt;br&gt;
2.Create an app on Dashboard.&lt;br&gt;
3.Configuration your app: &lt;br&gt;
-Set up authentication&lt;br&gt;
-Set up app download links&lt;/p&gt;

&lt;p&gt;You can set up the download link in configuration or set it up in your code.&lt;/p&gt;

&lt;p&gt;For deferred deep linking to work, you need to set up your app’s download URL.&lt;/p&gt;

&lt;p&gt;For deep linking to work, you need to establish the link association between your app and its respective URL scheme (for iOS) or App Links (for Android). This involves defining the custom URL scheme or configuring the App Links metadata in your app’s configuration files.&lt;/p&gt;

&lt;p&gt;You can follow the guidelines to finish this configuration on Mogua’s app dashboard.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo615nacw3malo9hw0hdt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo615nacw3malo9hw0hdt.png" alt="Image description" width="800" height="352"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Integrate SDK into your app and hosted website&lt;/p&gt;

&lt;p&gt;Follow the document to integrate the SDK into your app and website.&lt;/p&gt;

&lt;p&gt;5.Passing params from web to app&lt;/p&gt;

&lt;p&gt;The SDK will pass the params in URLs automatically for you. &lt;/p&gt;

&lt;p&gt;For example, if your app download page URL is &lt;code&gt;https://testapp.com/&lt;/code&gt;, and you need a custom installation parameter such as &lt;code&gt;uid=12345678&lt;/code&gt;, the URL with the custom installation parameter would be: &lt;code&gt;https://testapp.com/?uid=12345678&lt;/code&gt;. Multiple parameters are concatenated with &amp;amp; like: &lt;code&gt;https://testapp.com/?uid=12345678&amp;amp;room=1&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The SDK will automatically fetch parameters from the &lt;strong&gt;current URL&lt;/strong&gt; and upload them to the Mogua server for later use in your app. You can also manually define parameters.&lt;/p&gt;

&lt;p&gt;You can define what params to pass from web to app in your code. You can see an example here.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;script &lt;/span&gt;&lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"https://www.mogua.io/script/moguasdk/index.umd.js"&lt;/span&gt; &lt;span class="nt"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;script&amp;gt;&lt;/span&gt;
    &lt;span class="nx"&gt;Mogua&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;init&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
        &lt;span class="na"&gt;appKey&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;43ba757b8bc3&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="na"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;key1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;value1&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;key2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;value2&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;6.Retrieve parameters from website on your app&lt;/p&gt;

&lt;p&gt;When users open your app, Mogua app SDK will start to retrieve params from the server. &lt;/p&gt;

&lt;p&gt;This is an example of retrieving data with &lt;strong&gt;&lt;code&gt;getInstallData&lt;/code&gt;&lt;/strong&gt;  method.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;
&lt;span class="nx"&gt;Mogua&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getInstallData&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;object&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;MoguaCallback&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

    &lt;span class="cm"&gt;/**
     * Callback when data fetch is completed.
     * @param data Key-value pair parameters passed to the app from webpage. If no parameters are provided, an empty HashMap object is returned.
     */&lt;/span&gt;
    &lt;span class="nx"&gt;override&lt;/span&gt; &lt;span class="nx"&gt;fun&lt;/span&gt; &lt;span class="nf"&gt;onData&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;HashMap&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nb"&gt;String&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;Any&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="c1"&gt;// Use data to retrieve the user's channel or referrer, etc.&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="cm"&gt;/**
     * Callback when an exception occurs.
     * @param e The exception.
     */&lt;/span&gt;
    &lt;span class="nx"&gt;override&lt;/span&gt; &lt;span class="nx"&gt;fun&lt;/span&gt; &lt;span class="nf"&gt;onError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;e&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;Exception&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="c1"&gt;// ...&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;})&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;7.Test deep-linking as developer and user&lt;/p&gt;

&lt;p&gt;Thoroughly test your deep links across different scenarios to ensure their accuracy and functionality. Test deep links from external sources, such as emails, websites, or social media, to ensure they correctly navigate users to the intended screens or actions within the app.&lt;/p&gt;

&lt;p&gt;By following these steps, you can effectively implement web-to-app deep linking with &lt;a href="https://www.mogua.io/" rel="noopener noreferrer"&gt;Mogua&lt;/a&gt;’s solution, ensuring a seamless transition for users from your website to your mobile app. For more detailed information, please refer to Mogua’s &lt;a href="https://www.mogua.io/docs" rel="noopener noreferrer"&gt;documentation&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>android</category>
      <category>androiddev</category>
      <category>mobile</category>
    </item>
    <item>
      <title>Mobile Deep Linking Solution 2024</title>
      <dc:creator>Omnimind</dc:creator>
      <pubDate>Fri, 05 Jul 2024 08:42:57 +0000</pubDate>
      <link>https://dev.to/omnimind/mobile-deep-linking-solution-2024-2gpm</link>
      <guid>https://dev.to/omnimind/mobile-deep-linking-solution-2024-2gpm</guid>
      <description>&lt;p&gt;This article introduces the mobile deep linking technology and &lt;a href="https://www.mogua.io/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=004"&gt;Mogua&lt;/a&gt;’s solution to it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is deep linking
&lt;/h2&gt;

&lt;p&gt;Mobile app deep linking is a technology that launches an app and opens a specific page when a user clicks a URL on a web page.&lt;/p&gt;

&lt;p&gt;Deferred — app not installed Deferred deep links can route users to specific content through an install. The link will first redirect to the App Store or Play Store, and once the app is downloaded and opened, the user will be taken to the content they expect.&lt;/p&gt;

&lt;p&gt;Direct — app already installed Traditional deep links route users to app content as long as the app is already installed when the link is opened.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmvg42yiru6gx5lcc2z64.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmvg42yiru6gx5lcc2z64.png" alt="Image description" width="800" height="251"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why is deep linking important for the success of mobile apps?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Deep linking for measuring marketing channels&lt;/strong&gt;&lt;br&gt;
By tracking the sessions of the web and app pages with deep linking, the app operators can track and measure the user’s source and engagements. Some common use cases of deep linking are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Referrals&lt;/strong&gt; 
Make your app shareable by letting users invite their friends and family. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;WEB-TO-APP&lt;/strong&gt; 
Acquire more app users from the web with seamless experiences that bridge the gap between platforms with the leading web-to-app measurement solution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Social Media&lt;/strong&gt; 
Engage your social media following and drive organic growth with contextual experiences provided by powerful deep links. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Paid Campaigns&lt;/strong&gt; 
Report on the impact of every link while giving your users the ideal ad experience, with powerful links that send users to the right place.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;EMails&lt;/strong&gt; 
Increase email-to-app conversion with powerful links that provide users contextual experiences.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SMS &amp;amp; PUSH&lt;/strong&gt; 
Re-engage users with timely offers or cross-promote your apps with short links delivered via SMS and Push Notifications.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Deep linking for delivering seamless mobile user experience&lt;/strong&gt;&lt;br&gt;
The real reason mobile app deep linking is considered so important and employed by every single successful app out there is because of the impact it makes on the user experience. No matter what your ultimate goal is, no developer wants to achieve it at the expense of the user experience.&lt;/p&gt;

&lt;p&gt;Here are 3 ways app deep links impact the user experience:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Personalizes app navigation&lt;/strong&gt;&lt;br&gt;
Deep linking enhances user experience by providing personalized app navigation. It enables direct access to specific app features, reducing manual navigation and saving time. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Uninterrupted transitions&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Deep linking provides a smooth transition between apps and websites, improving user experience. Universal deep links allow users to switch between web and app experiences. If they click a deep link for an app they don’t have, they’re redirected to the relevant web page.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Simplifies the process&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Deep linking facilitates the faster accomplishment of user goals within an app. By directing users to specific screens or features, deep links streamline the user journey and reduce the number of steps required to accomplish tasks. This helps users achieve their goals more efficiently, saving time and enhancing the overall user experience.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do deep links and deferred deep links work?&lt;/strong&gt;&lt;br&gt;
With deferred deep links, if a user clicks on a deep link and does not have the app installed, not only is the user directed to an app store, but the deep link parameters (i.e. what page or customized experience to show to the user) are kept intact. If the user later installs the app from the app store and opens it, the app accesses the deep link parameters and provides the user with a relevant experience.&lt;/p&gt;

&lt;p&gt;Below it’s an introduction to Mogua SDK which offers a comprehensive cross-platform solution for implementing Direct Deep Linking and Deferred Deep Linking, along with detailed data analytics capabilities.&lt;/p&gt;

&lt;h2&gt;
  
  
  How MoguaSDK Works?
&lt;/h2&gt;

&lt;p&gt;Collect Parameters on website: Parameters can be included in URL query strings, which the MoguaSDK-Web automatically recognizes and uploads to the Mogua server. Manual parameter upload is also supported.&lt;/p&gt;

&lt;p&gt;Direct Deep Linking: MoguaSDK-Web checks if the user has the app installed. If installed, it generates a URL with specific scheme, or an Universal Link, to open the app with the passed parameters.&lt;/p&gt;

&lt;p&gt;Deferred Deep Linking: If the app is not installed, the MoguaSDK-Web records the user’s device and directs them to download and install the app. Upon the first app launch, the MoguaSDK-App matches the device with the record on the server, retrieves the uploaded parameters, and completes the deferred deep linking process seamlessly without additional user actions.&lt;/p&gt;

&lt;p&gt;You can refer to &lt;a href="https://www.mogua.io/docs/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=004"&gt;Documents&lt;/a&gt; for more details.&lt;/p&gt;

&lt;h2&gt;
  
  
  Technical method of Mogua’s deep linking SDK
&lt;/h2&gt;

&lt;p&gt;Mogua’s developed a matching algorithm to identify the users who open the link with the users who use the app. Some of the methods we use:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Clipboard Scheme&lt;/strong&gt;: The web page automatically calls the clipboard to copy the current user’s channel ID, for example: #c8283923#, when the download button is clicked. The APP calls the clipboard content every time it is launched, if the content format matches, then it is considered that this user and the web user are the same;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Universal links&lt;/strong&gt; (supported after iOS 9.2): When the App is launched, the SDK retrieves the ID from Safari. If it is retrieved, it is considered the same user.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Device Fingerprint Fuzzy Matching&lt;/strong&gt;: The network, IP, operating system, resolution, language and other information opened by the browser and the information obtained by the App are fuzzily matched. If these info match within a certain period of time, they are considered the same user.&lt;/p&gt;

&lt;p&gt;If you are looking for a deep linking solution, feel free to try the demo on &lt;a href="https://www.mogua.io/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=004"&gt;Mogua&lt;/a&gt; website.&lt;/p&gt;

</description>
      <category>mobile</category>
      <category>deeplinking</category>
      <category>androiddev</category>
      <category>attribution</category>
    </item>
    <item>
      <title>Use Cases: Identify App User Sources (Deferred Deep Linking Solution)</title>
      <dc:creator>Omnimind</dc:creator>
      <pubDate>Fri, 14 Jun 2024 06:50:37 +0000</pubDate>
      <link>https://dev.to/omnimind/use-cases-identify-app-user-sources-deferred-deep-linking-solution-47ka</link>
      <guid>https://dev.to/omnimind/use-cases-identify-app-user-sources-deferred-deep-linking-solution-47ka</guid>
      <description>&lt;p&gt;Automatically tagging the promotional source of an app's new users is a key requirement. However, passing parameters from the web pages of multiple channels to the app does not have a direct technical solution. The following are two solutions using the Mogua SDK.&lt;/p&gt;

&lt;h1&gt;
  
  
  Use Case 1: Measure how many users an influencer invites to your app
&lt;/h1&gt;

&lt;p&gt;When you are running an affiliate program for your app, your affiliate partners will invite new users with a link you give them. Ideally, the invitation relationship can be immediately built, and the affiliate can see their invite number add up as soon as the new users are activated without needing them to fill in anything like an invitation code.&lt;/p&gt;

&lt;p&gt;To build this seamless experience for the user, the app developers need to pass the affiliate parameters from the link to the app, and the solution to it is not very direct. Here’s how we realize it: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;We embed the web SDK on our website and include parameters like affiliate ID in the link given to the affiliate partners. The new users will use this link to go to app stores to download the app. Also, we embed the app SDK on our app.&lt;/li&gt;
&lt;li&gt;When new visitors open the link, initialize the web SDK which will report a web event and send the affiliate parameters to Mogua and generate a web unique identifier for this visitor. You can see these parameters reported in the statistics module in the dashboard and the event type is Web.&lt;/li&gt;
&lt;li&gt;Optional: you place a download button in the link, when it is clicked, a download event will be reported.&lt;/li&gt;
&lt;li&gt;When a new user installs your app and opens it, the app SDK will report an event and generate an app unique identifier for this user.&lt;/li&gt;
&lt;li&gt;In Mogua server, the algorithm will match this app unique identifier with a web unique identifier. If there’s a match, the parameter values associated with the web identifier will pass to the app. In this case, the affiliate’s id can be linked with the new user immediately.&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Use Case 2: Ad network attribution for app installations
&lt;/h1&gt;

&lt;p&gt;Another traffic source for an app is ad networks. Since the app stores cannot attribute the accurate sources of all the ad networks, we need to have a solution to measure the downloads brought from ads.&lt;/p&gt;

&lt;p&gt;The solution is similar to use case one:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;When you set a link in your ad, don’t just use the app store link but use a hosted webpage with web SDK embedded and custom parameters that can identify the ad.&lt;/li&gt;
&lt;li&gt;When someone clicks the ad and opens the link, the web SDK generates a unique identifier and reports the event to Mogua server. The ad parameters are recorded at the same time. You can set an auto-redirect to app stores on your link, so visitors don't have to click again.&lt;/li&gt;
&lt;li&gt;If later this visitor installs the app, they will be identified. In this way, the app operators can measure how many downloads come from each ad.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh0zkw62vlhgbqmqp4jwd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh0zkw62vlhgbqmqp4jwd.png" alt="Image description" width="800" height="314"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A similar solution can be applied in email marketing and coupons. You can set some test parameters on our &lt;a href="https://www.mogua.io/products?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=002"&gt;live demo&lt;/a&gt; and try the app install process like a user.&lt;/p&gt;

</description>
      <category>mobile</category>
      <category>androiddev</category>
      <category>android</category>
    </item>
    <item>
      <title>Introducing Mogua SDK for Deferred Deep Link Tracking</title>
      <dc:creator>Omnimind</dc:creator>
      <pubDate>Wed, 29 May 2024 07:12:44 +0000</pubDate>
      <link>https://dev.to/omnimind/introducing-mogua-sdk-for-deferred-deep-link-tracking-47ik</link>
      <guid>https://dev.to/omnimind/introducing-mogua-sdk-for-deferred-deep-link-tracking-47ik</guid>
      <description>&lt;p&gt;We are glad to launch the brand new &lt;a href="https://www.mogua.io/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=003"&gt;Mogua Deep Link SDK&lt;/a&gt; which provides a concise solution for tracking deferred deep links for both Android and iOS apps. In this article, we’ll introduce you to Mogua, why we built it, and our hopes for the future.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does Mogua SDK do?
&lt;/h2&gt;

&lt;p&gt;Mogua SDK offers a simple yet efficient solution for implementing deferred deep linking in your apps. With this SDK, you can track referral parameters from a web page to a downloaded app, which is a common use case for referral programs, coupon systems, ad engagements, and more.&lt;/p&gt;

&lt;p&gt;For instance, say you have embedded a referral code in a mobile webpage. When a user clicks on this link, they are directed to the app store to download your app. Our SDK is designed to carry over and recognize the referral code when the app is installed and first opened, aiming to provide a seamless user experience and accurate tracking.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why choose Mogua SDK?
&lt;/h2&gt;

&lt;p&gt;The reasons of using our SDK for deferred deep link tracking are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Easy Implementation&lt;/strong&gt;: Our SDK is lightweight and easy to integrate into your existing app infrastructure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accurate Matching&lt;/strong&gt;: We've developed a matching algorithm that aims to improve accuracy in identifying the same user across different platforms, which could potentially reduce the likelihood of conversion attribution errors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Safe Tracking&lt;/strong&gt;: App stores have strict requirements on how apps obtain user information, and non-compliant apps may be restricted or removed. Our method will clearly identify the type of user information obtained, and for sensitive information, we will only attempt to collect it after obtaining the user's consent.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How does Mogua’s deferred deep linking work?
&lt;/h2&gt;

&lt;p&gt;This is our solution of tracking app installation from custom web pages.&lt;/p&gt;

&lt;p&gt;First, we create a unique identifier, or 'fingerprint', for the visitor's device when they click on your webpage link. When the visitor opens the app for the first time after downloading it from the app store, we generate another fingerprint of their device. We compare the fingerprints in our database using our smart algorithms, we match these fingerprints to identify the user and transmit the installation parameters. &lt;/p&gt;

&lt;p&gt;You can know more detail in our &lt;a href="https://www.mogua.io/"&gt;documents&lt;/a&gt;. &lt;/p&gt;

&lt;h2&gt;
  
  
  Try out our solution
&lt;/h2&gt;

&lt;p&gt;We would be happy if you try out our SDK. We're currently offering a 30-day free trial for users to thoroughly test and evaluate our solution. We believe it's a chance to discover if our solution could potentially improve your app's user experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why we build this product?
&lt;/h2&gt;

&lt;p&gt;The inception of Mogua SDK came from our need for an effective deferred deep link tracking solution. Unable to find an existing solution that met our needs, as they often contained unnecessary features and were therefore expensive, we decided to create our own. We believe that our SDK can meet the similar needs of other developers and we are excited to share this tool with you.&lt;/p&gt;

&lt;p&gt;Our mission at Mogua is to make app installation tracking easier and more efficient. We believe that by providing developers with the right tools, we can help create more engaging and user-friendly apps.&lt;/p&gt;

&lt;p&gt;Join us on our journey to redefine app user experience. To learn more about our SDK and start your &lt;a href="https://www.mogua.io/product/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=003"&gt;free trial&lt;/a&gt;, visit our website.&lt;/p&gt;

</description>
      <category>deeplink</category>
      <category>attribution</category>
      <category>androiddev</category>
      <category>mobile</category>
    </item>
  </channel>
</rss>
