title: Changing Content Due to URL Parameter (Showing Adwords Visitors Different Phone Number)
body: <p>I want to change the phone number that is displayed on one of my website depending on if the visitor came from google adwords or through organic means. </p>
  
  <p>I have got as far as finding that I should use jquery to look for the gclid url parameter that adwords uses. </p>
  
  <p>For simplicity we will say that my phone number for organic and normal referrals would be 123456789 and my phone number for adwords visitors is 987654321. </p>
  
  <p>This way if I get a call on 123456789 I know it is an organic hit, and 987654321 will be from adwords helping us prove our ROI.</p>
  
  <p>I have a VERY BASIC understanding of code so most of the code I have found so far I get the gist of but a lot of it goes right over my head. </p>
  
  <p>Would I be right in thinking that I would have to write some information to a cookie in order to show a consistent phone number on pages visited after the landing page? as the gclid will no longer be present. </p>
  
  <p>The code I have found is here: <a href="https://stackoverflow.com/questions/8431425/solvedhow-to-show-content-based-on-url-parameter-via-javascript">How to show content based on url parameter via JavaScript?</a> I am struggling to see how to edit this for my requirements though.  </p>
  
  <p>Many Thanks!</p>