I think its the first.
I am a user and i get registered. I have somehow a special code for me and i give this to people. If those people get registered and buy a subscription i gather one point for each one. If the points i gather inside one month are 4, i have discount for next month, if its 8 points i have double discount