moxystudio / next-with-moxy

MOXY's boilerplate to accelerate the setup of new Next.js based web applications
https://next-with.moxy.tech
MIT License
101 stars 11 forks source link

GTM integration and Cookie Banner #73

Closed ruimonteiro93 closed 4 years ago

ruimonteiro93 commented 4 years ago

Adds a GTM module with react-gtm for an easy integration and with GTM.

Also adds a Cookie Banner so that the user can consent to the data collection.

Updated docs.

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with ZEIT Now (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/moxystudio/next-with-moxy/pga7pcl6r ✅ Preview: https://next-with-moxy-git-featgtm-integration.moxystudio.now.sh

acostalima commented 4 years ago

@ruimonteiro93 when your PR is still WIP, you should create a draft PR instead. 😉

codecov[bot] commented 4 years ago

Codecov Report

Merging #73 into master will not change coverage by %. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #73   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        14    +2     
  Lines           51        75   +24     
  Branches         7         9    +2     
=========================================
+ Hits            51        75   +24     
Impacted Files Coverage Δ
www/app/App.js 100.00% <100.00%> (ø)
www/pages/terms/Terms.js 100.00% <100.00%> (ø)
...ww/shared/components/cookie-banner/CookieBanner.js 100.00% <100.00%> (ø)
...w/shared/test-utils/components/app-tree/AppTree.js 100.00% <100.00%> (ø)
...red/utils/google-tag-manager/google-tag-manager.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5c4b5a7...102ec5e. Read the comment docs.