Common documentation available on AppMetrica official site. Documentation for this plugin will be published soon.
Sample project to use is available at sample/.
cordova plugin add https://github.com/Burundug/metrica-plugin-cordova.git
Link to ecommerce documentation
- Page opening
window.appMetrica.showScreen({ "screenName": screenName, "searchQuery": searchQuery, })
- Add to cart
window.appMetrica.addToCart({ "screenName": screenName, "searchQuery": searchQuery, "name": productName, "price": productPrice, "currency": currentCurrency, "sku": productSku, "quantity": productQuantity })
- Remove from cart
window.appMetrica.removeFromCart({ "screenName": screenName, "searchQuery": searchQuery, "name": productName, "price": productPrice, "currency": currentCurrency, "sku": productSku, "quantity": productQuantity })
- View product card
window.appMetrica.showProductCard({ "screenName": screenName, "searchQuery": searchQuery, "name": productName, "price": productPrice, "currency": currentCurrency, "sku": productSku, "quantity": productQuantity })
- Begin checkout
window.appMetrica.beginCheckout({ "identifier": string, "products": [productsObject] })
- Finish checkout
window.appMetrica.finishCheckout({ "identifier": string, "products": [productsObject] })
Starting from version 1.6.0 Yandex AppMetrica became also a tracking instrument and uses Apple idfa to attribute installs. Because of that during submitting your application to the AppStore you will be prompted with three checkboxes to state your intentions for idfa usage. As Yandex AppMetrica uses idfa for attributing app installations you need to select Attribute this app installation to a previously served advertisement.
- Added ios ecommerce support.
- Updated versions of the AppMetrica SDK (Android 4.2.0).
- Added android ecommerce support.
- Updated versions of the AppMetrica SDK (iOS 3.7.1 and Android 3.6.4).
- Changed API methods.
- Updated iOS version of the AppMetrica SDK (iOS 2.9.8).
- Changed the SDK to meet the requirements of the Apple App Store Review Team. Update the AppMetrica SDK to avoid any issues during the App Store moderation process.
- Support cordova-android@7.0.0
- Updated versions of the AppMetrica SDK (iOS 2.9.4 and Android 2.78)
- Added a method for getting the configuration of the AppMetrica Push Cordova plugin.
- Fixed installation of iOS part from NPM (#1).
- Implemented plugin for AppMetrica iOS (v2.8.0) and AppMetrica Android (v2.62).
- Provided sample.
License agreement on use of Yandex AppMetrica is available at EULA site