Comments (10)
could you be more specific? What do you mean by tracking code? If I search for tracking code in conjunction with Google Analytics I get this, and that's what's basically implemented:
https://support.google.com/analytics/answer/1008080?hl=en
Best regards,
Martin
from mkdocs-material.
Thanks for your quick response. To set up Google Analytics I usually copy this snippet into my website.
It requires an ID like UA-XXXXX-Y
that you need to generate and insert into the snippet.
from mkdocs-material.
This is already implemented. Just add your ID to your mkdocs.yml
:
google_analytics:
- UA-XXXXXXXX-Y
- auto
Is this what you meant? If so, maybe we should mention it in the documentation.
from mkdocs-material.
Thank you for the clarification. It just confused me that Google Analytics was implemented but the documentation didn't mentioned a word about the ID or any other steps for the setup.
It would be great if you could mention this in the documentation. It felt a bit weird that GA works out of the box.
from mkdocs-material.
It's mentioned in the official MkDocs documentation and Material basically implemented all of the MkDocs features, but yes, you're right - I will add it to the docs!
from mkdocs-material.
Currently, I only experimented a bit with MkDocs since I'm porting your theme to Hugo. In a nutshell, Hugo is a static site generator like Jekyll but much faster.
Of couse I'll acknowledge you as the original creator since otherwise the port wouldn't be possible.
from mkdocs-material.
Ah, funny thing, already heard of it, but I sticked with MkDocs for documentation, as it's really good for that. Please keep me updated on the progress!
from mkdocs-material.
The port is done so far. Take a look at the demo. Full support for a search and localization are still missing. But Hugo should support them in one of the next releases. Read the roadmap in the demo for more information.
from mkdocs-material.
Ah cool, well done! I like it :-) Thanks for acknowledging me.
from mkdocs-material.
Thanks for acknowledging me.
That's the least I can do 😄
from mkdocs-material.
Related Issues (20)
- Social cards broke after opting in for the insiders program HOT 1
- ⚠️ Social cards broken – update to 9.5.17 HOT 45
- Update Serbian translations HOT 2
- Blog post date-only format HOT 2
- Color palette toggle's keyboard operation is confusing HOT 2
- `content.tooltips` feature breaks abbreviation hover in tab titles HOT 3
- Google font loading breaks build on v9.5.7 (resolved in current release) HOT 1
- Allow title of social cards to respect MkDocs hooks HOT 2
- Mermaid sequence diagram box coloring overridden by material CSS HOT 3
- Search not working in Safari HOT 4
- Group plugin, but for markdown extensions HOT 1
- Code block highlighting issue on mobile resolution HOT 14
- CSS border-radius animation issue on document contributors with Chrome and Edge HOT 8
- Instant preview is enabled on footnotes HOT 8
- Instant previews: default configuration adds previews for all pages HOT 2
- Search is not present when privacy plugin is enabled HOT 2
- Custom Admonitions don't works HOT 2
- Unusual navigation behavior when using insiders with static-i18n plugin HOT 4
- About TOC of 'Blog' HOT 8
- Improving C,C++, C# Code Detection HOT 4
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 mkdocs-material.