forked from organicmaps/organicmaps
[partners_api] Additional parameter for yandex deep link is added
This commit is contained in:
parent
7d2d5a8b51
commit
2e0f3c0d1e
1 changed files with 4 additions and 2 deletions
|
@ -120,10 +120,12 @@ RideRequestLinks Api::GetRideRequestLinks(std::string const & productId, ms::Lat
|
|||
#if defined(OMIM_OS_IPHONE)
|
||||
deepLink << "https://3.redirect.appmetrica.yandex.com/route?start-lat=" << from.lat
|
||||
<< "&start-lon=" << from.lon << "&end-lat=" << to.lat << "&end-lon=" << to.lon
|
||||
<< "&utm_source=mapsme&appmetrica_tracking_id=" << YANDEX_TRACKING_ID;
|
||||
<< "&utm_source=mapsme&appmetrica_tracking_id=" << YANDEX_TRACKING_ID
|
||||
<< "&ref=8d20bf0f9e4749c48822358cdaf6a6c7";
|
||||
#elif defined(OMIM_OS_ANDROID)
|
||||
deepLink << "https://redirect.appmetrica.yandex.com/serve/" << YANDEX_TRACKING_ID << "?startlat="
|
||||
<< from.lat << "&startlon=" << from.lon << "&endlat=" << to.lat << "&endlon=" << to.lon;
|
||||
<< from.lat << "&startlon=" << from.lon << "&endlat=" << to.lat << "&endlon=" << to.lon
|
||||
<< "&ref=8d20bf0f9e4749c48822358cdaf6a6c7";
|
||||
#endif
|
||||
|
||||
return {deepLink.str(), deepLink.str()};
|
||||
|
|
Loading…
Add table
Reference in a new issue