Skip to content

Commit

Permalink
1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zoreet committed Apr 30, 2024
1 parent a9c9a56 commit 029a977
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 1.4.0
feat: track how many times the plugin is loaded at every version; it's important to see that people actually stick with using it, and that they adopt new versions, so I can decide how much time to invest in this project. I'm using bit.ly for this and all I care about is page views

## 1.3.0

feat: Streaks - track and display the number of consecutive days a habit has been completed
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "habit-tracker-21",
"name": "Habit Tracker 21",
"version": "1.3.0",
"version": "1.4.0",
"minAppVersion": "1.1.0",
"description": "Your 21-day journey to habit formation, simplified",
"author": "Zoreet",
Expand Down
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ export default class HabitTracker21 extends Plugin {
this.registerMarkdownCodeBlockProcessor(
'habittracker',
async (src, el, ctx) => {
const trackingPixel = document.createElement('img');
trackingPixel.setAttribute('src', 'https://bit.ly/habitttracker21-140');
el.parentElement.appendChild(trackingPixel);
new HabitTracker(src, el, ctx, this.app)
},
)
Expand Down

0 comments on commit 029a977

Please sign in to comment.