mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-01-03 18:35:00 +01:00
remove Google Analytics
This commit is contained in:
parent
54914369a3
commit
8d3d2c3bfb
@ -26,6 +26,5 @@ addressbook: /matthias-kretschmann.vcf
|
|||||||
typekitID: dtg3zui
|
typekitID: dtg3zui
|
||||||
|
|
||||||
# Analytics tools
|
# Analytics tools
|
||||||
googleanalytics: UA-1441794-4
|
|
||||||
matomoUrl: https://analytics.kremalicious.com
|
matomoUrl: https://analytics.kremalicious.com
|
||||||
matomoSite: 2
|
matomoSite: 2
|
||||||
|
@ -2,7 +2,7 @@ const path = require('path')
|
|||||||
const fs = require('fs')
|
const fs = require('fs')
|
||||||
const yaml = require('js-yaml')
|
const yaml = require('js-yaml')
|
||||||
const meta = yaml.load(fs.readFileSync('./data/meta.yml', 'utf8'))
|
const meta = yaml.load(fs.readFileSync('./data/meta.yml', 'utf8'))
|
||||||
const { url, googleanalytics, matomoUrl, matomoSite } = meta
|
const { url, matomoUrl, matomoSite } = meta
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
siteMetadata: {
|
siteMetadata: {
|
||||||
@ -50,15 +50,6 @@ module.exports = {
|
|||||||
path: path.join(__dirname, 'src', 'images')
|
path: path.join(__dirname, 'src', 'images')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
resolve: 'gatsby-plugin-google-analytics',
|
|
||||||
options: {
|
|
||||||
trackingId: `${googleanalytics}`,
|
|
||||||
head: false,
|
|
||||||
anonymize: true,
|
|
||||||
respectDNT: true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
resolve: 'gatsby-plugin-matomo',
|
resolve: 'gatsby-plugin-matomo',
|
||||||
options: {
|
options: {
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
"gatsby-image": "^1.0.52",
|
"gatsby-image": "^1.0.52",
|
||||||
"gatsby-link": "^1.6.44",
|
"gatsby-link": "^1.6.44",
|
||||||
"gatsby-plugin-favicon": "^2.1.1",
|
"gatsby-plugin-favicon": "^2.1.1",
|
||||||
"gatsby-plugin-google-analytics": "^1.0.31",
|
|
||||||
"gatsby-plugin-matomo": "^0.3.2",
|
"gatsby-plugin-matomo": "^0.3.2",
|
||||||
"gatsby-plugin-offline": "^1.0.18",
|
"gatsby-plugin-offline": "^1.0.18",
|
||||||
"gatsby-plugin-react-helmet": "^2.0.11",
|
"gatsby-plugin-react-helmet": "^2.0.11",
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import React, { PureComponent } from 'react'
|
import React, { PureComponent } from 'react'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { OutboundLink } from 'gatsby-plugin-google-analytics'
|
|
||||||
import { FadeIn } from '../atoms/Animations'
|
import { FadeIn } from '../atoms/Animations'
|
||||||
|
|
||||||
import { ReactComponent as Email } from '../../images/email.svg'
|
import { ReactComponent as Email } from '../../images/email.svg'
|
||||||
@ -60,14 +59,14 @@ class Network extends PureComponent {
|
|||||||
<FadeIn>
|
<FadeIn>
|
||||||
<aside className={this.state.classes}>
|
<aside className={this.state.classes}>
|
||||||
{Object.keys(this.props.meta.social).map((key, i) => (
|
{Object.keys(this.props.meta.social).map((key, i) => (
|
||||||
<OutboundLink
|
<a
|
||||||
className={styles.link}
|
className={styles.link}
|
||||||
href={this.props.meta.social[key]}
|
href={this.props.meta.social[key]}
|
||||||
key={i}
|
key={i}
|
||||||
>
|
>
|
||||||
<NetworkIcon title={key} className={icons.icon} />
|
<NetworkIcon title={key} className={icons.icon} />
|
||||||
<span className={styles.title}>{key}</span>
|
<span className={styles.title}>{key}</span>
|
||||||
</OutboundLink>
|
</a>
|
||||||
))}
|
))}
|
||||||
</aside>
|
</aside>
|
||||||
</FadeIn>
|
</FadeIn>
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { OutboundLink } from 'gatsby-plugin-google-analytics'
|
|
||||||
|
|
||||||
import { ReactComponent as Link } from '../../images/link.svg'
|
import { ReactComponent as Link } from '../../images/link.svg'
|
||||||
import { ReactComponent as Download } from '../../images/download.svg'
|
import { ReactComponent as Download } from '../../images/download.svg'
|
||||||
@ -43,10 +42,10 @@ const ProjectLinks = ({ links }) => (
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<li key={title}>
|
<li key={title}>
|
||||||
<OutboundLink href={url}>
|
<a href={url}>
|
||||||
<LinkIcon title={title} className={icons.icon} />
|
<LinkIcon title={title} className={icons.icon} />
|
||||||
{title}
|
{title}
|
||||||
</OutboundLink>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
Loading…
Reference in New Issue
Block a user