How to make a Like and invite benefit system?

Hello, I am having trouble figuring out how to make like benefits and invite benefits like this -

If you know how to do this, please comment below how or dm me on discord: GalaxyGamer#7335

Like benefits cannot be tracked i think,
But you can track invite reward by sending invite prompt for players,
see more about it!

Isnt it possible to check on the game page how much likes it contains?