How to filter by query string in Google Analytics?
<p>This is a question about Google Analytics state 06/2016.</p>

<p>We run a site and have decided to try out Facebook Ads. Now in Facebook ads we have defined a custom parameter <code>src=fb</code>.</p>

<p>I'd like to create a custom Analytics report that shows</p>

<ul>
<li>How many visitors visited the site via Facebook Ads</li>
</ul>

<p>and then which pages they viewed and if they clicked on Adsense ads and the usual Adsense statistics like cpc, rpm.</p>

<p>How do I create a filter for this <code>src=fb</code> query string so I can follow what they did on the target site?</p>

<p>Please be detailed, a "create a custom filter" doesn't cut it. How, where, what content? The target uri is <code>/?src=fb</code>.</p>

<p>Edit: More clear information</p>

<p>There is a target site: example.com</p>

<p>There is a Ad campaign. To know that people came to the target site using this Ad campaign there is a parameter <code>src=fb</code> e.g. <code>https://example.com/?src=fb</code></p>

<p>Because we know the parameter we could filter visitors who landed on the target site through the ad campaign.</p>

<pre><code>GET /?src=fb HTTP/1.1
Host: example.com
</code></pre>

<p>This way we know people who clicked the ad came from the campaign.</p>

<p>People who did not click the ad visited the site from other sources. They don't matter in this context.</p>

<p>Now as the first step I'd like to display everyone who visited the site using <code>/?src=fb</code> uri. I could grep server logs but I wouldn't know if they clicked ads on the target site.</p>