You've already forked AstralRinth
forked from didirus/AstralRinth
Change ads provider, and add consent system for advertising (#155)
* Add GAM integration & base for GPDR consent * Moved consent to a specific page. * Added functionality to the privacy page, and desactivate tracking if consent is not given. * Added GeoEdge support, and fixed auth issues * Fix actions issue * Fix actions issue, attempt 2 * Added a module for analytics with consent support. * Remove unnecessary function * Add support for runtime config
This commit is contained in:
18
privacy-toggles.js
Normal file
18
privacy-toggles.js
Normal file
@@ -0,0 +1,18 @@
|
||||
export default {
|
||||
settings: {
|
||||
ads: {
|
||||
title: 'Allow personalized ads',
|
||||
description: `Marketing/target cookies are usually used to show you advertisements that meet your interests.
|
||||
When you visit another website, your browser's cookie is recognized and selected ads are displayed to you
|
||||
based on the information stored in this cookie.`,
|
||||
default: false,
|
||||
},
|
||||
analytics: {
|
||||
title: 'Analytics',
|
||||
description: `Modrinth uses in-house tools that allows us to get insights on how
|
||||
each user is using the platform, to improve the experience for
|
||||
everyone.`,
|
||||
default: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user