Comments (4)
Sorry, totally forgot about Hugo environments.
You should build with environment setting, e.g.:
HUGO_ENV=production hugo --minify
and deploy result on GH pages
from hugo-theme-anubis.
Hi @shalastra !
I don't think so. Theme uses Hugo internal template for GA, so your id in config should be enough.
Maybe some syntax mistake? Check this https://gohugo.io/templates/internal/#configure-google-analytics
And check your GA id in builded html pages. If page contains id, then problem with GA settings on GA side.
If it doesn't help, provide your config please.
from hugo-theme-anubis.
Hi,
After a short investigation I think the issue is that the HUGO_ENV is not set as production on my github page.
How to set it up when deploying on the GH pages?
from hugo-theme-anubis.
Thanks, now the Google Analytics is added.
from hugo-theme-anubis.
Related Issues (20)
- Inline preformatted text in dark mode has intense white background HOT 2
- Custom Social Image Broken HOT 2
- exampleSite menu in about page HOT 2
- markdown: Enabling line numbers causes text to appear outside scroll area HOT 4
- custom css: hugo exits with 'EXECUTE-AS-TEMPLATE: failed to transform "css/main.css"' HOT 2
- Changing the language doesn't change the lang="en-us" tag HOT 2
- Copy code button incorrect margin HOT 1
- tags with white spaces in them are rendered with empty hrefs HOT 1
- Layout adjustment with regard to hidden page content HOT 2
- Change light/dark mode button to a social icon HOT 3
- Optional Paragraph Indentation HOT 3
- Using baseURL breaks down website in production HOT 4
- How to set the size of the digest of the article displayed in the home page? HOT 4
- Is there any possibility to delete a dividing lines? HOT 1
- Hidden posts still appear in the sitemap HOT 1
- Inline preformatted text in light mode has intense dark background HOT 1
- Question: Markdown in title HOT 2
- [Feature Request]: add Giscus support for comment.
- Anubis is not compatiable with the latest Hugo HOT 2
- Surface ReadingTime in default template HOT 1
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 hugo-theme-anubis.