Because a client doesn't have a dataLayer I'm trying to send scraped revenue data from a thank you page to a Facebook pixel that's being deployed through GTM.
I have Imdocument.querySelectorAll("td")[8].textContent
from another useful post but its giving me a string, with spaces and currency symbol.
"
$65.00
"
Image of the dev tool Image of the HTML
How can I only get revenue data w/o currency symbol? Just a number.