This is an awfully general question which seems to cover all the people in the world--something like seven billion of them. From what I know about people of the past and people living in other parts of the world, I would say that very many used to get married without giving their hearts. For example, there were many places in which marriages were "arranged" by parents and where the groom didn't even meet the bride until they were standing at the altar. We know from our reading that many fathers in many countries would give or sell their daughters to a man without the girls' knowledge or consent. Many of these marriages were not only loveless but hateful for the poor girls involved.
In America there have always been loveless marriages. Women married for money or for other practical or mercenary reasons. Since women have more options now, it could be hypothesized that more of them marry for love and more give their hearts away when they get married. The same should be true for men.
Henry James wrote some interesting novels about marriage in his day, including Portrait of a Lady, Washington Square, The Ambassadors, and The Wings of the Dove. August Strindberg published a very insightful collection of tales about marriage with the title (in English) of Getting Married. Marriage in the old days was not all that romantic. Look at the opening of Shakespeare's King Lear. Also the play Getting Married by satirist George Bernard Shaw. And then, of course, there are all those novels by Jane Austen which have a lot to say about the various aspects of marriage in her day.