That looks like it works with the wood floor...probably stays put with rubber protector on the hard wood. Do you think that would work on carpet?
I don’t think that is made for carpet. I would suggest finding another option.
You should more options/flexibility with carpet... like slicing the carpet open and tucking the cord it in or under it somehow.