Adding query string for home page

I am trying to create a query string for the homepage for testing difference content purposes. ie:

And display data separately from what would normally show up.

Whenever I add query vars to the functions.php file, however, it just keeps treating it like an index page. Not the home page… Thoughts?