@@ -11,6 +11,37 @@ module.exports = {
11
11
siteBanner : config . siteBanner ,
12
12
} ,
13
13
plugins : [
14
+ // DSGVO
15
+ {
16
+ resolve : `gatsby-plugin-gdpr-cookies` ,
17
+ options : {
18
+ googleAnalytics : {
19
+ trackingId : 'dummy_id' , // leave empty if you want to disable the tracker
20
+ cookieName : 'gatsby-gdpr-google-analytics' , // default
21
+ anonymize : true , // default
22
+ allowAdFeatures : false // default
23
+ } ,
24
+ googleTagManager : {
25
+ trackingId : 'dummy_thing' , // leave empty if you want to disable the tracker
26
+ cookieName : 'gatsby-gdpr-google-tagmanager' , // default
27
+ dataLayerName : 'dataLayer' , // default
28
+ } ,
29
+ facebookPixel : {
30
+ pixelId : 'no_id' , // leave empty if you want to disable the tracker
31
+ cookieName : 'gatsby-gdpr-facebook-pixel' , // default
32
+ } ,
33
+ tikTokPixel : {
34
+ pixelId : 'nothing' , // leave empty if you want to disable the tracker
35
+ cookieName : 'gatsby-gdpr-tiktok-pixel' , // default
36
+ } ,
37
+ linkedin : {
38
+ trackingId : 'no_linkedin' , // leave empty if you want to disable the tracker
39
+ cookieName : 'gatsby-gdpr-linked-in' , // default
40
+ } ,
41
+ // defines the environments where the tracking should be available - default is ["production"]
42
+ environments : [ 'production' , 'development' ]
43
+ } ,
44
+ } ,
14
45
// MARKDOWN
15
46
{
16
47
resolve : `gatsby-transformer-remark` ,
0 commit comments