Comments (2)
I think that is a wider issue and not something particular to this template. I recommend you follow this issue to get updates on when it will be fixed. #22
For now what I ended up doing which might or might not be the right thing to do is to add a new script tag inside of the helmet component and put my analytics snippet there.
...
return (
<>
<Helmet>
<html lang={site.lang} />
<script async src="https://www.googletagmanager.com/gtag/js?id=YOUR-TAG-ID"></script>
<style type="text/css">{`${site.codeinjection_styles}`}</style>
<body className={bodyClass} />
</Helmet>
...
from gatsby-starter-ghost.
Closing as it's tracked w/ #22 and the cause of the issue.
from gatsby-starter-ghost.
Related Issues (20)
- Can't get the "Deploy to netlify" button to work HOT 2
- Favicon and title error HOT 1
- How to add tag conditions in gatsby ghost blog? HOT 1
- Action Required: Fix Renovate Configuration
- Ghost localhost image URLs pushed to live site via Gatsby. HOT 1
- When we will get an update version of Ghost 4? HOT 1
- Error: cheerio.load() expects a string HOT 1
- Broken install HOT 7
- Dependency Dashboard
- ValidationError: Invalid options object. Ignore Plugin has been initialized using an options object that does not match the API schema. HOT 2
- Deploy to netlify does not work HOT 2
- gatsby develop build fails with Invalid options object - Fresh Installation HOT 10
- Add Strapi/other CMS support
- Lint script fails due to parsing errors
- Unhandled Runtime Error: _gatsbyScript.PartytownContext is undefined HOT 6
- Can I run this at folder level? HOT 1
- Error in function PartytownProvider HOT 2
- 0.001 s 0/4 0% Building static HTML for pages
- X
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-starter-ghost.