Dear client,
I have read your instructions carefully for need of JavaScript to fetch current page. I also have read that you want text from span (I'm sure you want that from specific span) and detect click even. I can help you to write the script.
I am Parvez Vantiya, an experience full stack web developer, have been working since 2009 for my clients and employers on various web technologies. I would love to work with you and for your project. I am also an expert JavaScript developer and have experience in building and customizing JavaScript, jQuery plugins too.
I understand that you want me to write a script that fetch page name, button click but I'm not sure what you want me to do for facebook pixel. Let us arrange a small meeting and share some more information about the job.
I assure for quality of work and timely delivery.
I look forward to hear from you.
Thanks