Short answer: it is ok, but check as indicated by ataradov.
Longer answer:
Bad news: each manufacturer’s may make their switches as they wish. That is for both wiring and their operation. One should consult the documentation, which in the case of NoName brands is impossible and may differ from batch to batch. This seller did not even mention, what kind of switch this is.
Good news: NoName brands sold by random vendors on eBay/Amazon/… are normally SPST-NO switches between two pairs of pins. They are copied from popular series from other manufacturers and virtually all manufacturers use (1,2) - (3,4) configuration, pin counting nort-west, north-east, south-west, south-east looking from the wider side. See the attachment for a few examples.
Conclusion: if your tact switches follow the universally found layout, you are good. Two top pins are shorted, two bottom pins are shorted, and the switch connects these two pairs. While not ordering specific models from known brands with datasheets, check each batch before use. I never encountered a different layout myself, but this possibility can’t be exluded.
My guess regarding the layout is the ease of manufacturing. It seems easier to make and assemble a switch from two strips of metal than having to deal with separate elements for each pins pair or two weirdly shaped strips on each side.