Mobile/Distribution Files: Difference between revisions

no edit summary
No edit summary
Line 259: Line 259:
; <code>utm_medium</code>: Campaign medium. E.g., <code>email</code>. Not used by Firefox.
; <code>utm_medium</code>: Campaign medium. E.g., <code>email</code>. Not used by Firefox.
; <code>utm_term</code>: Search terms. E.g., <code>web+browser</code>. Not used by Firefox.
; <code>utm_term</code>: Search terms. E.g., <code>web+browser</code>. Not used by Firefox.
== Distribution bundles ==
Firefox for Android 46.0 introduced support for distribution bundles based on the '''MCC''' (mobile country code, [https://en.wikipedia.org/wiki/Mobile_country_code]) and '''MNC''' (mobile network code) codes of the inserted SIM card. Instead of the default distribution directory Firefox will search a distribution in the following sub directories first:
* (distribution directory)/''<MCC>''/''<MNC>'' - For bundled distributions for specific network providers
* (distribution directory)/''<MCC>'' - For bundled distributions for specific countries
* (distribution directory)/''default'' - For bundled distributions with no matching mcc/mnc
=== Example distribution bundle ===
  distribution
  ├── 208                          // 208 = Country code of France
  │   └── bookmarks.json            // Bookmarks just for users with a SIM card of a French operator
  ├── 262                          // 262 = Country code of Germany
  │   └── 01                        // 01 = Network code of "Deutsche Telekom"
  │      ├── bookmarks.json        // Bookmarks..
  │      └── preferences.json      // ... and preferences just for users of a SIM card of "Deutsche Telekom"
  └── default                      // Default folder
      └── preferences.json          // Preferences for all users with different SIM cards.
118

edits