Dynamic Insertion of PHP into a wordpress front page

Anyone know of a way to dynamically insert information from the URL into a front page of a wordpress site using php? The site I am using is pretty much widgets on the home page and can't find a solution for this. I want to do this for PPC campaigns to make the home page more relevant to the add and URL

I have found a plugin that works for a post or page, but can't find anything that will make it work for my home page. Have tried exec-php plugin and a couple others.

Might have to add something the the htaccess file to make it work??????