Tracking Campaign/Microsoft dynamic

I have several marketing campaigns running for my website and I need to track them.
The forms are created in Microsoft Dynamic.
Is there any script available to add and fetch the URL the user is coming from?

Here is my site Read-Only: LINK
(how to share your site Read-Only link)