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 8824e2d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
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
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 8824e2d

Please sign in to comment.