Closed jpowell closed 3 years ago
Test new user experience, as well as existing app user experience
@gburgett one request from @mikezigster is for a link to download the app similar to what we did for CLC. Does that ring any bells?
https://app.contentful.com/spaces/7yx6ovlj39n5/entries/3b3m82tBwQDB4kLHkfRRjJ
Script in that section:
<script type="text/javascript">
/**
* Determine the mobile operating system.
* This function returns one of 'iOS', 'Android', 'Windows Phone', or 'unknown'.
*
* @returns {String}
*/
function getMobileOperatingSystem() {
var userAgent = navigator.userAgent || navigator.vendor || window.opera;
// Windows Phone must come first because its UA also contains "Android"
if (/windows phone/i.test(userAgent)) {
return "Windows Phone";
}
if (/android/i.test(userAgent)) {
return "Android";
}
// iOS detection from: http://stackoverflow.com/a/9039885/177710
if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {
return "iOS";
}
return "unknown";
}
if (getMobileOperatingSystem() == "Android") {
window.location = "https://play.google.com/store/apps/details?id=org.watermark.clc2"
} else if (getMobileOperatingSystem() == "iOS") {
window.location = "https://apps.apple.com/us/app/church-leaders-conference/id1453439661"
}
</script>
<div class="row">
<div class="col-6">
<a href="https://apps.apple.com/us/app/church-leaders-conference/id1453439661?itsct=apps_box&itscg=30200" style="display: flex; overflow: hidden; border-radius: 13px; width: 100%; height: 100%;"><img src="https://tools.applemediaservices.com/api/badges/download-on-the-app-store/black/en-us?size=250x83&releaseDate=1553385600&h=ea2b17f366134dce0f8c03c7ae7e26d4" alt="Download on the App Store" style="border-radius: 13px; margin: auto"></a>
</div>
<div class="col-6">
<a href='https://play.google.com/store/apps/details?id=org.watermark.clc2&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png' /></a>
</div>
</div>
Thanks dude!
App download slug: https://www.theporch.live/app-download
Final Load Testing