Modrinth/modules/gpt-ads/lib/constants.js
Redblueflame 03b2d02742
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
2021-04-08 19:44:25 -07:00

16 lines
498 B
JavaScript

export const DEFAULT_OPTIONS = {
networkCode: null,
debug: false,
ghostMode: false,
componentName: 'GptAd',
individualRefresh: false,
responsive: false,
collapseEmptyDivs: false,
emptyClass: 'is-empty',
geoEdgeId: ''
};
export const GPT_LIB_SCRIPT_ID = 'google-publisher-tag-lib-script';
export const GPT_INIT_SCRIPT_ID = 'google-publisher-tag-init-script';
export const GEOEDGE_CONF_SCRIPT_ID = 'geoedge-config-script';
export const GEOEDGE_LIB_SCRIPT_ID = 'geoedge-lib-script';