vincent
vincent

I've just added the ability to embed "kudos" to your pages using the tinylytics embed script. Head on over to the documentation to get started. There's an example at the bottom also.

If you're on Micro.blog, there will be native support in Tiny Theme and Jim's official plugin soon ✌️❤️

|
Embed
Mtt
Mtt

@vincent This is so good! Should be up and running in Tiny Theme really soon.

|
Embed
otaviocc
otaviocc

@vincent love it!

|
Embed
leeperry
leeperry

@vincent that's awesome.... would be even awesomer if kudos stats pulled through into tinylytics ;-)

|
Embed
maique
maique

@vincent Yay!!

I think I have it working!

And, @mtt, I did spot the code already in place, when I was editing the template 😅

|
Embed
vincent
vincent

@leeperry it will (on the paid plan).

|
Embed
vincent
vincent

@maique sweet 🍭 It’s working great!!!

|
Embed
vincent
vincent

@otaviocc thanks 🤩

|
Embed
vincent
vincent

@Mtt 🥳 Can’t wait to see it 😜

|
Embed
maique
maique

@vincent It is! I’ll have to fix the space between that and the other plugins, or just wait for the plugin, and delete my code.

|
Embed
Mtt
Mtt

@maique You can also style it for when a user has already clicked it using class .did_select(persists after refresh). My stuff doesn’t include that yet but will soon.

|
Embed
maique
maique

@Mtt Yeah, I’m just testing it, trying not to break anything. When everything is working on your update, I’ll probably just delete my code and go with what a professional did 😅

|
Embed
otaviocc
otaviocc

@maique wait, what?

|
Embed
maique
maique

@otaviocc This “what?” is related to which of the above replies? Hahahaha.

|
Embed
Mtt
Mtt

@maique Ha! Don’t short change yourself, you get things done as good as many.

|
Embed
maique
maique

@Mtt You’re too kind, but I manage the simplest of tasks only. I find myself out of my depth pretty quickly over here.

|
Embed
vincent
vincent

@maique there will be an update to Tiny Theme soon, that enables Kudos. However I think @Mtt would be open to suggestions if spacing is an issue ✌️

|
Embed
maique
maique

@vincent No need for now, thanks. Fixed it 🙂 @mtt

|
Embed
vincent
vincent

@maique nice one 👌

|
Embed
In reply to
Mtt
Mtt

@maique If you want to enable the default Tinylytics stuff built within Tiny, here's a walkthrough:

  1. Update to Tiny 1.6.2 (If it isn't showing on your plugins page, just go to Find Plugins and click install on it again. Easy way to force an update.)
  2. Manually install this plugin by going to DesignEdit Custom ThemesNew Plugin and pasting the link in.
  3. Once the plugin is installed, go into its settings and add your Tinylytics ID and emoji of choice.

It'll automatically show inline with the conversation and email plugins. It should also work properly with Tinylytics new .did_select class. Lastly, you can use the plugins shortcode to display the hit counter anywhere you'd like. The plugin will eventually (soon) be added to the directory, just want to test it out a bit first.

You can delete whatever method you'd used previously to add the Tinylytics script.

cc @vincent

|
Embed
maique
maique

@Mtt Thank you so much for the detailed walkthrough. Would it then update to the official plugin when it’s released? Or would I have to delete this and add that one?

|
Embed
Mtt
Mtt

@maique You would need to delete and replace at that point. I’m hoping to add it this week. Possibly even as soon as today.

|
Embed
maique
maique

@Mtt Cool, thank you. I’m leaving the house soon, so I’ll just leave it as is right not, it’s working.

I’ll move to the new theme version when it’s available, if you’re ok with me not testing the plug-in.

|
Embed
jsonbecker
jsonbecker

@vincent I do really like this feature. So much that I'd probably pay for Tinylytics to have it (even though I wish this was in Micro.blog natively and have asked for it several times!).

I have two thoughts/bits of feedback about the feature though that would really make it a no brainer for me. First, while I understand the "one per page" limit, that's a real bummer considering most folks hit my homepage which is a list of posts. Ideally, I'd be able to pass a permalink as a data property on that button or something similar so that it could work for index pages.

Second, it'd be amazing to pair this with something that could pick up on webmentions with a like-of property and add them to Kudos.

|
Embed
artkavanagh
artkavanagh

@vincent Thanks, Vincent. I love the way you’re regularly adding useful features.

|
Embed
vincent
vincent

@jsonbecker I've added the ability to add multiple "kudos" to the same page. If you email me: support@tinylytics.app, I will give you the details – However, I am thinking of updating the documentation after today and will blog about it tomorrow or Wednesday.

|
Embed
vincent
vincent

@jsonbecker Actually, I just updated the docs for you, so have a look if that works for you.

|
Embed
vincent
vincent

@artkavanagh Thank you Art ✌️

|
Embed
jsonbecker
jsonbecker

@vincent perfect. I’ll probably add to my own site this week.

|
Embed
joshua
joshua

@vincent nice! This would pair up well with a stat counter per page - so with one bit of code I could display stat counter for that post/page only and kudos

|
Embed
vincent
vincent

@joshua hmm, I like that idea.

|
Embed