I do both. I’ve always had good luck with 3m weldwood contact cement gel. Lowe’s, Home Depot and Walmart carry it I believe. Apply on both the wood and carpet and then let dry separately for 10-15min before putting together. Then staple when finished... works for me at least. Good luck!
REALTOR - DFW/LAKE FORK and Surrounding Areas