title: Tracking banner clicks on website using Google Analytics (UTM and Event Tracking)
body: <p>I have successfully added event tracking to the banners on my website but I have a query that I cannot find an answer to after searching for hours.</p>
  
  <p>Can I use UTM tracking alongside Event tracking?</p>
  
  <p>The reason I ask this is because if a client advertises on the website using a banner but specifies a link such as - www.clientwebsite.com&amp;utm_medium=display&amp;utm_source=mywebsite.com&amp;utm_campaign=Autumn+Collection&amp;utm_term=Shoes - but my website code already has event tracking on it - would it work on both ends so that I see who clicked on the banner and the client could see the traffic from the banner to their site?</p>
  
  <p>Below is the code that I am using to get track the clicks on the banner:</p>
  
  <p><code>&lt;a href="http://www.website.com" onClick="ga('send', 'event', 'Top Banner', 'Banner_Click', 'Example Top Banner');" target="_blank"&gt;
  &lt;img class="mid-banner" src="/images/banners/middle/companyname_banner_month_year1.jpg" /&gt;
  &lt;/a&gt;</code></p>
  
  <p>So basically the code would be:</p>
  
  <p><code>&lt;a href="http://www.clientwebsite.com&amp;utm_medium=display&amp;utm_source=mywebsite.com&amp;utm_campaign=Autumn+Collection&amp;utm_term=Shoes" onClick="ga('send', 'event', 'Top Banner', 'Banner_Click', 'Example Top Banner');" target="_blank"&gt;
  &lt;img class="mid-banner" src="/images/banners/middle/companyname_banner_month_year1.jpg" /&gt;
  &lt;/a&gt;</code></p>
  
  <p>Can I do that?</p>
  
  <p>Any help would be much appreciated!</p>
  
  <p>Cheers,</p>
  
  <p>Dave</p>