Dynamic Text Replacement URL parameter pulled through to Lead Notification

I have Dynamic Text Replacement set up with a URL parameter. Depending on the PPC keyword clicked this URL parameter changes and landing pages title changes accordingly.

When the lead form is submitted, is there a way to display that custom url parameter from the page in the lead notification?

I hope my question makes sense.

This would help me optimise towards quality leads only, instead of just optimising towards every lead submission.

Oh,I figured it out. I just add a hidden field to the form and name it same as the URL parameter name. Main thing is to make sure your hidden field is named exactly the same as the URL parameter.

So for instance, if your URL is https://example.com/?utm_content=testing123 then you will need a hidden field called “utm_content” with no default value in it and that will grab the value from the URL.