Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cozycodegh/cordova-plugin-ads-donottrack
Cordova plugin to add ads to an app (when tracking has been disabled)
https://github.com/cozycodegh/cordova-plugin-ads-donottrack
Last synced: 1 day ago
JSON representation
Cordova plugin to add ads to an app (when tracking has been disabled)
- Host: GitHub
- URL: https://github.com/cozycodegh/cordova-plugin-ads-donottrack
- Owner: cozycodegh
- License: mit
- Created: 2023-02-18T08:39:23.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-31T14:43:44.000Z (9 months ago)
- Last Synced: 2024-12-20T17:36:37.775Z (20 days ago)
- Language: Java
- Size: 1.15 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cordova-Plugin-Ads-DoNotTrack
jump to: [PLUGIN USAGE](#plugin-usage) | [ADD ADS](#add-ads) | [cozycode.ca](#more-cozycode) | [Open Source License](#license)
Updated __2023__ for [Cordova](https://cordova.apache.org/) with no tracking consent requested
Make sure to turn off `"user metrics"` in advertising settings to disable tracking
To include ads with tracking, see: [cordova-plugin-ads](https://github.com/cozycodegh/cordova-plugin-ads)***Cordova*** plugin to add ***ads*** (by Google AdMob) into an app.
Use JavaScript to include ads in your app.If you notice any issues, submit here: [github issues](https://github.com/cozycodegh/cordova-plugin-ads-donottrack/issues)
Have a good one!
[see cordova-plugin-ads for full documentation](https://github.com/cozycodegh/cordova-plugin-ads#plugin-usage)
banner ads
[`adMob.banner(bannerId)`](docs/banner.md)
[`adMob.removeBanner()`](docs/banner.md#remove-banner)1. Add the plugin
```properties
cordova plugin add cordova-plugin-ads-donottrack
```2. Turn off `user metrics` while creating AdMob apps with ad units
3. Add calls to the plugin to load ads
```js
adMob.banner("test").catch(function(err){});
```[see cordova-plugin-ads documentation](https://github.com/cozycodegh/cordova-plugin-ads#add-ads)
# More from [cozycode.ca](https://cozycode.ca)
* [make apps with JavaScript](https://cozycode.ca/post?pon=make-an-app-with-cordova)
* [how to make an in-app purchases with Cordova](https://cozycode.ca/post?pon=cordova-plugin-inapppurchases)
* [a testing app for in-app purchases](https://cozycode.ca/post?pon=cordova-plugin-inapppurchases-TEST-APP)
* [a demo app for in-app purchases](https://cozycode.ca/post?pon=cordova-plugin-inapppurchases-DEMO-APP)MIT Licensed (MIT)
Copyright © 2023 [cozycode.ca](https://cozycode.ca)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.