Step 1: Most likely before you can even blink an eye, the carpet is going to absorb this. With that being the case… patience will be the key to removing this. First use paper towels and blot up what you can – do not rub or smear down into the fiber.
Step 2: You are going to use water and blot dry 3 times. Water will act as a solvent and start breaking down the sugar and syrup. So –
Water, message lightly with fingers and blot dry. Do this 3 times.
Step 3: Put water on the remaining stain and let it dwell for 5 minutes and then blot dry. If the stain and stickiness is still there then on to the next step(s).
Step #4: Apply a small quantity of cleaner to the stain. (To make the cleaner solution – mix 1/4 teaspoon of a hand dish washing detergent such as Dawn® or Joy® with a large cup of water) Use a blotting motion to work the cleaner into the affected area. If the stain is being removed continue applying detergent and blotting with a white paper towel until the stain is gone.
Step #5: If the stain is still there, flush with water to remove the cleaner, blot with paper towels and then let this stain rest until the next day. At this point the carpet fiber needs to rest and dry. You have done a great job in preparing for step #6 the next day.
Step #6: The next day, if the stain is still there: You are going to use a very common household product of 3% Hydrogen Peroxide. Moisten the stained area with the Hydrogen Peroxide (using a spray bottle) and let it stand for one hour. Repeat this one hour later if necessary. If any staining remains – Agitate, rough up the area with a paper towel, spray once again and then put a folded paper towel on the stain and a weight like a brick on top of the paper towel and let stand until the next day.
NOTE: Light will cause peroxide to change back to water so no rinsing is necessary.