diff --git a/README.md b/README.md index 4966021d..b77ac047 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ - [🍬 Typekit component](#-typekit-component) - [✨ Development](#-development) - [🔮 Linting](#-linting) - - [🎈 Add a new project](#-add-a-new-project) + - [🎈 Add a new post](#-add-a-new-post) - [🚚 Deployment](#-deployment) - [🏛 Licenses](#-licenses) - [Posts](#-posts) @@ -163,13 +163,14 @@ npm run format npm run format:css ``` -### 🎈 Add a new project +### 🎈 Add a new post ```bash -npm run new "Hello" +npm run new "Hello World" ``` - [`scripts/new.js`](scripts/new.js) +- [`scripts/new.md`](scripts/new.md) ## 🚚 Deployment diff --git a/content/posts/2018-11-01-gatsby-plugin-matomo/gatsby-plugin-matomo-teaser.png b/content/posts/2018-11-01-gatsby-plugin-matomo/gatsby-plugin-matomo-teaser.png new file mode 100644 index 00000000..0bfc37d1 Binary files /dev/null and b/content/posts/2018-11-01-gatsby-plugin-matomo/gatsby-plugin-matomo-teaser.png differ diff --git a/content/posts/2018-11-01-gatsby-plugin-matomo/index.md b/content/posts/2018-11-01-gatsby-plugin-matomo/index.md new file mode 100644 index 00000000..605221ac --- /dev/null +++ b/content/posts/2018-11-01-gatsby-plugin-matomo/index.md @@ -0,0 +1,58 @@ +--- +type: post +date: 2018-11-01T19:08:00.367Z + +title: Matomo plugin for Gatsby +image: gatsby-plugin-matomo-teaser.png + +tags: + - goodies + - gatsby + - matomo +--- + +Plugin for [Gatsby](https://www.gatsbyjs.org) to add tracking with the open-source analytics platform [Matomo](https://matomo.org) (formerly Piwik) onto a site, prioritizing user experience & privacy with sensible defaults. + +## Features + +* include tracking code in all server-side rendered routes +* track all route views as custom events +* load tracking scripts at end of body tag +* use image tracking fallback for `