352 react ga pageviews #353
1 changed files with 0 additions and 10 deletions
|
@ -63,16 +63,6 @@ module.exports = {
|
||||||
const headerBoilerplate = `<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>${site.title}</title><link rel="stylesheet" href="/assets/css/reset.css" type="text/css"><link rel="stylesheet" href="/assets/css/general.css" type="text/css"><link rel="stylesheet" href="/assets/css/mediaQueries.css" type="text/css">`;
|
const headerBoilerplate = `<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>${site.title}</title><link rel="stylesheet" href="/assets/css/reset.css" type="text/css"><link rel="stylesheet" href="/assets/css/general.css" type="text/css"><link rel="stylesheet" href="/assets/css/mediaQueries.css" type="text/css">`;
|
||||||
return new Handlebars.SafeString(headerBoilerplate);
|
return new Handlebars.SafeString(headerBoilerplate);
|
||||||
},
|
},
|
||||||
// googleAnalytics () {
|
|
||||||
// const googleApiKey = analytics.googleId;
|
|
||||||
// const gaCode = `<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
||||||
// (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
||||||
// m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
||||||
// })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
|
||||||
// ga('create', '${googleApiKey}', 'auto');
|
|
||||||
// ga('send', 'pageview');</script>`;
|
|
||||||
// return new Handlebars.SafeString(gaCode);
|
|
||||||
// },
|
|
||||||
addOpenGraph (claim) {
|
addOpenGraph (claim) {
|
||||||
const { ogTitle, ogDescription, showUrl, source, ogThumbnailContentType } = createOpenGraphDataFromClaim(claim, claimDefaults.defaultTitle, claimDefaults.defaultDescription);
|
const { ogTitle, ogDescription, showUrl, source, ogThumbnailContentType } = createOpenGraphDataFromClaim(claim, claimDefaults.defaultTitle, claimDefaults.defaultDescription);
|
||||||
const thumbnail = claim.thumbnail;
|
const thumbnail = claim.thumbnail;
|
||||||
|
|
Loading…
Reference in a new issue