Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add UTMs #570

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lang/en/texts/open-food-facts-mobile-app.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ <h1 class="title-2 emphasized-title">
<span class="highlight-label blue rotate-right">planet</span>
</h1>
<p>The world's largest open food database at your fingertips!</p>
<a data-app-store="google" href="https://play.google.com/store/apps/details?id=org.openfoodfacts.scanner&hl=en" title="Open Food Facts on Google Play">
<a data-app-store="google" href="https://play.google.com/store/apps/details?id=org.openfoodfacts.scanner&hl=en?utm_source=off&utf_medium=web&utm_campaign=install_the_app_page_android_en" title="Open Food Facts on Google Play">
<img
src="/images/misc/playstore/img/en_get.svg"
alt="Available on Google Play"
width="120"
height="40"
></a>
<a data-app-store="apple" href="https://apps.apple.com/app/open-food-facts/id588797948" title="Open Food Facts on the Apple App Store">
<a data-app-store="apple" href="https://apps.apple.com/app/open-food-facts/id588797948?utm_source=off&utf_medium=web&utm_campaign=install_the_app_page_ios_en" title="Open Food Facts on the Apple App Store">
<img
src="/images/misc/appstore/black/appstore_US.svg"
alt="Available on the App Store"
Expand Down Expand Up @@ -229,7 +229,7 @@ <h1 class="title-2 emphasized-title">
</div>
<div class="row">
<div class="small-12 medium-7 medium-offset-5 column">
<a data-app-store="google" href="https://play.google.com/store/apps/details?id=org.openfoodfacts.scanner&hl=en" title="Open Food Facts on Google Play">
<a data-app-store="google" href="https://play.google.com/store/apps/details?id=org.openfoodfacts.scanner&hl=en?utm_source=off&utf_medium=web&utm_campaign=install_the_app_page_android_en" title="Open Food Facts on Google Play">
<img
src="/images/misc/playstore/img/en_get.svg"
loading="lazy"
Expand All @@ -253,7 +253,7 @@ <h1 class="title-2 emphasized-title">
height="40"
width="120"
></a>
<a data-app-store="apple" href="https://apps.apple.com/app/open-food-facts/id588797948" title="Open Food Facts on the Apple App Store">
<a data-app-store="apple" href="https://apps.apple.com/app/open-food-facts/id588797948?utm_source=off&utf_medium=web&utm_campaign=install_the_app_page_ios_en" title="Open Food Facts on the Apple App Store">
<img
src="/images/misc/appstore/black/appstore_US.svg"
loading="lazy"
Expand All @@ -278,4 +278,4 @@ <h1 class="title-2 emphasized-title">
document.querySelectorAll('[data-app-store="apple"]').forEach((item) => {
item.href = addUTMParameters(appleStoreURL);
});
</script>
</script>
Loading