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:
Redblueflame
2021-04-09 04:44:25 +02:00
committed by GitHub
parent 103ce44ba9
commit 03b2d02742
29 changed files with 1729 additions and 46 deletions

View File

@@ -63,7 +63,7 @@
></pagination>
</section>
<div class="results column-grow-4">
<Advertisement />
<Advertisement ad-unit="banner" size="728x90,468x60" />
<div v-if="results === null" class="no-results">
<p>Loading...</p>
</div>
@@ -279,7 +279,7 @@
@input="toggleLicense"
/>
</div>
<Advertisement format="rectangle" />
<Advertisement ad-unit="square" size="250x250,200x200" />
<m-footer class="footer" />
</section>
</div>
@@ -313,7 +313,7 @@ import FabricLoader from '~/assets/images/categories/fabric.svg?inline'
import SearchIcon from '~/assets/images/utils/search.svg?inline'
import ExitIcon from '~/assets/images/utils/exit.svg?inline'
import Advertisement from '~/components/Advertisement'
import Advertisement from '~/components/ads/Advertisement'
export default {
auth: false,