title: Google Conversion Tracking when click button
body: <p>I am trying to add google conversion tracking to an external-linking button on my website, using the steps outlined at <a href="https://support.google.com/adwords/answer/6331304?co=ADWORDS.IsAWNCustomer%3Dfalse&amp;hl=en" rel="nofollow noreferrer">https://support.google.com/adwords/answer/6331304?co=ADWORDS.IsAWNCustomer%3Dfalse&amp;hl=en</a>, but there is a little wrinkle:</p>
  
  <p>I am using a Wordpress theme editor with a preset button template which only allows me to add in the URL link after</p>
  
  <pre><code>&lt;a href=" 
  </code></pre>
  
  <p>so I added in the URL and then the onclick snippet, but it still recognizes everything in the first line as a URL and returns a server error.</p>
  
  <pre><code>&lt;a href="http://capitalareasocialtennis.website.siplay.com/login" onclick="goog_report_conversion('http://capitalareasocialtennis.website.siplay.com/login')" 
  class="elementor-button-link elementor-button elementor-size-lg"&gt;
      &lt;span class="elementor-button-content-wrapper"&gt;
      &lt;span class="elementor-button-text"&gt;Register through SI Play&lt;/span&gt;
      &lt;/span&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>Here is a live example of what I am describing. I used the code in the button under the Sunday column as a test, since it's not supposed to be functional yet anyways. Any suggestions?</p>
  
  <p><a href="https://www.austinsocialtennis.com/league-information/" rel="nofollow noreferrer">https://www.austinsocialtennis.com/league-information/</a></p>