title: Multiple pageview submissions to google analytics
body: <p>I have an odd situation where I have to track a pageview more than once on a page.</p>
  
  <p>There is a dynamic search bar where it suggests products as you type. The problem is if they click an option from the suggested list, GA doesn't track the words they typed into the search bar to reach that result. I have written some jQuery that calls 'ga()' when they click the suggested link:</p>
  
  <pre><code>ga('send', 'pageview', '/?s=' + $(".product-search-field").val() + '&amp;post_type=product');
  </code></pre>
  
  <p>But this snippet does not seem to track anything. I have a feeling it's something to do calling a send command a second time but I can't find much info on this.</p>
  
  <p>Any help is appreciated, thanks!</p>