title: Analytics Profile Filters - Custom Fields
body: <p>I'm having problems adding a custom filter to analytics. I am trying to use a custom field to specify the data that I want excluding from the profile. </p>
  
  <p>I have read through endless tutorials and forum posts and cannot get to the bottom of this issue!</p>
  
  <p>I am setting the following (_set CustomVar being called before _trackPageview:</p>
  
  <pre><code>_gaq.push(['_setCustomVar', 1, 'loggedin', 'true', 1]);
  _gaq.push(['_trackPageview']);
  </code></pre>
  
  <p>Setting the profile filter:</p>
  
  <p>Filter Type: Custom filter, Exclude
  Filter Field: Custom Field 1
  Filter Pattern: loggedin=true (also tried "loggedin", "ture)</p>
  
  <p>The data being displayed in this profile does not exlcude users who do not have this Custom variable in the google analytics code. </p>
  
  <p>Help, Please!</p>
  
  <p>Image:
  <a href="http://postimg.org/image/xwy3t17d9/" rel="nofollow">http://postimg.org/image/xwy3t17d9/</a></p>