title: Pass UTM_Source to Google DFP
body: <p>I am looking to see if someone can provide me the php code in order to grab the utm_source value from a URL and insert it as a targeting criteria in a Google DFP tag.</p>
  
  <p>Not sure how much more info you need to help but this is sample code of what I am using to grab the wordpress categoery.  This is going into the DFP perfectly.  Need something that will do the same but with the utm_source of the URL</p>
  
  <pre><code> &lt;?php
      $category = get_the_category(); //Get categories
      echo 'googletag.pubads().setTargeting("category", "' .htmlspecialchars($category[0]-            
      &gt;cat_name) . '");'; //Output first category
  
      ?&gt;
  </code></pre>