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