This site has good info on removing glue from lots of surfaces, including carpet: https://www.favecrafts.com/Techniques/How-to-Remove-Hot-Glue
"Removing Hot Glue from Carpet Immediately After the Spill
If you have noticed that you dropped a dollop of melted glue on the floor right after the opps, you can remove it immediately by locating a sharp blade and scraping the glue off of the carpet and onto the blade in an upward motion, taking time to wipe the glue from the blade so it does not spread.Removing Hot Glue from Carpet Afterwards
Since using the rubbing alcohol tip will not work on your fluffy, textured floor, you will need a new way to remove glue from your carpet. In order to do so, follow the following instructions:
Usually hot glue once dried will peel away. You can use a small sharp knife carefully or an X-Acto to get pieces apart or put an iron on low with a white cloth down and iron it until it sticks to your cloth.
Try sitting an ice cube on it and then see if it will chip up.