Lets assume you have two apps in Marketplace
Free: Sold at 0.00 (so that its has additional visibility in Free section of Marketplace)
Paid / Trial: Sold at 0.99 and free to try.
Yesterday i talked about how to use single codebase to achieve above. Today lets about about the next step.
no one likes adverts… some might get a kindle for a couple of quid cheaper by opting to have ads dislayed but most people dont like ads otherwise all the PVRs would compete on which one could save your videos without adverts :).
Now each apps in Marketplace has its own unique application identifiers.
Microsoft provides a task that takes user to application details page allowing them to buy the app. However, by default each app will take you to its details page.
MarketplaceDetailTask mdt = new MarketplaceDetailTask(); mdt.Show();
This would show Free app details when opened from Free app and paid app details from Paid / Trial app.
Thats not exactly what we want. We want that Free app users will be shown Paid app details to entice them to buy Ad free version.
So what do I do, using method described yesterday to check if user is Free or Trial user, i enable a button called “Buy ad-free version”;
There is a property in MarketplaceDetailTask called ContentIdentifier. This is the application ID from Marketplace place. Go into your app hub and check details of application along with deep link etc. You will find it there… In the code you dont leave it blank.. you set it to Paid application’s identifier.
MarketplaceDetailTask mdt = new MarketplaceDetailTask(); mdt.ContentIdentifier = "yourapp-id-from-apphub-appdetails"; mdt.Show();
Vola… now the Free users will also be taken to Paid versions details page allowing them to buy Ad-Free version. This way you get your 99 cents and everyone’s happy 🙂