<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[Analytics Bar Blog]]></title><description><![CDATA[The Easy Peasy Analytics Blog.]]></description><link>https://analyticsbar.com/blog/</link><image><url>https://analyticsbar.com/blog/favicon.png</url><title>Analytics Bar Blog</title><link>https://analyticsbar.com/blog/</link></image><generator>Ghost 3.39</generator><lastBuildDate>Mon, 06 Apr 2026 12:11:00 GMT</lastBuildDate><atom:link href="https://analyticsbar.com/blog/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[Merge CSV files instantly]]></title><description><![CDATA[Have you ever needed to merge multiple CSV files with millions of rows?  If you search online, you'll find how to do so either with Power Query in Excel, or through Unix cat or Windows copy, or even with some custom Python script.  However, all of these methods come with there own issues.]]></description><link>https://analyticsbar.com/blog/merge-csv-files-instantly/</link><guid isPermaLink="false">5de982caf9e72d58b9f3def3</guid><category><![CDATA[Side Projects]]></category><dc:creator><![CDATA[Greg]]></dc:creator><pubDate>Thu, 05 Dec 2019 23:24:13 GMT</pubDate><media:content url="https://analyticsbar.com/blog/content/images/2019/12/card.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://analyticsbar.com/blog/content/images/2019/12/card.jpg" alt="Merge CSV files instantly"><p>Have you ever needed to merge multiple CSV files with millions of rows?  If you search online, you'll find how to do so either with Power Query in Excel, or through Unix <code>cat</code> or Windows <code>copy</code>, or even with some custom Python script.  However, all of these methods come with there own issues.</p><p>With <strong>Power Query</strong> you have to do a lot of up front setup with a custom source directory and setting custom column rules to be merged and later will need to clean up the duplicate headers that it will pull over into your merged sheet.  I won't attempt to explain how this works because I've never had to do so, but know you will have to be somewhat comfortable with advanced Excel skills to do this.  However, even if you know how to do this you will encounter the issue with a max row count of 1,048,576 rows that Excel 2007, 2010 and 2013 support. </p><p>With <strong>Unix</strong> <code>cat</code> or <strong>Windows</strong> <code>copy</code> it's as simple as a one line command:</p><p>Unix: <code>cat *.csv &gt; merged.csv</code></p><p>Windows: <code>copy *.csv merged.csv</code></p><p>The problem with this solution is that you will be left with duplicate headers showing up throughout the <code>merged.csv</code> file.  It's even worse if your CSV files have inconsistent headers.  If this is the case you cannot just simply combine the files because then you will have the <code>merged.csv</code> file completely out of whack as you could imagine.</p><p>What's left to do is come up with your own custom <strong>Python</strong> script or even Unix <code>awk</code> to handle the most custom of needs, but who wants to do that?  What if you have no experience with programming and need a quick solution?</p><p>In comes <strong><a href="https://mightymerge.io/">Mighty Merge</a></strong> an online tool to quickly and easily merge multiple CSV files.  You simply drag and drop as many CSV files onto the page and press Merge.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://analyticsbar.com/blog/content/images/2019/12/MMDemo.gif" class="kg-image" alt="Merge CSV files instantly"><figcaption>Mighty Merge Demo</figcaption></figure><p> The whole process takes seconds to complete.  The most amazing thing about this tool is that no files are uploaded at all.  Everything happens locally in your browser safely and secure.  <a href="https://mightymerge.io/">Mighty Merge</a> auto-magically removes duplicate headers and auto-aligns all inconsistent headers.  So even if your CSV files have no columns in common, the final merged file will still line up all your columns perfectly.  As a bonus <a href="https://mightymerge.io/">Mighty Merge</a> will even join two CSV files horizontally based on a common column key.  Useful for when you have two CSV that are missing column information (e.g. joining a CSV file with product information, but perhaps missing a description column you have in another file).</p><p>Enjoy!  </p>]]></content:encoded></item><item><title><![CDATA[Visually test local Ad images on live web pages]]></title><description><![CDATA[Preview local images on websites. Simply drag and drop an image onto any site to get a preview of how it will look. ]]></description><link>https://analyticsbar.com/blog/visually-test-ads-on-live-websites/</link><guid isPermaLink="false">5de95680f9e72d58b9f3def0</guid><category><![CDATA[Side Projects]]></category><dc:creator><![CDATA[Greg]]></dc:creator><pubDate>Thu, 05 Dec 2019 21:44:59 GMT</pubDate><media:content url="https://analyticsbar.com/blog/content/images/2019/12/IIStill1.png" medium="image"/><content:encoded><![CDATA[<img src="https://analyticsbar.com/blog/content/images/2019/12/IIStill1.png" alt="Visually test local Ad images on live web pages"><p>Recently, I've had to design creative Ads for websites I'm sponsoring for Analytics Bar.  Designing creative ads is definitely not my strong suit and to help me design a "perfect" Ad I wanted to be able to visually preview how my Ad would look on the exact web page my Ad would show up for sponsorship.   However, with this strategy, there is no easy way to do this, especially trying to test multiple images.  </p><p>In Chrome and other modern browsers there is no easy way to do this due to security reasons.  You cannot just open up developer tools and manually update an img tag src attribute with your local file path of "file:///C:/Ads/AB-Ad-test1.png". </p><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/12/bad2.png" class="kg-image" alt="Visually test local Ad images on live web pages"></figure><p> It just doesn't work.  You can either open yourself up to vulnerabilities by disabling this feature in Chrome or run a local web server which then you can edit an img tag src attribute with a real url "http://localhost:8080/AB-Ad-test1.png".  </p><p>However, even if you could manually edit html to include your local files, that is still too tedious.  I wished for a better way. And now there is!  In comes <a href="https://chrome.google.com/webstore/detail/image-injector/nijhhclhfmlbpflhlagepclmaeakghfa">Image Injector</a> a chrome extension I created for this exact problem that allows you to simply drag and drop any local image file onto any web page safely and secure.  Depending on where you drop the file it will either replace an image already on screen or places a re-sizable image on the web page that you can then move around anywhere on the screen:) Hope you enjoy!</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://analyticsbar.com/blog/content/images/2019/12/II.gif" class="kg-image" alt="Visually test local Ad images on live web pages"><figcaption>Image Injector Chrome Extension Demo</figcaption></figure>]]></content:encoded></item><item><title><![CDATA[Which kinds of hits does Google Analytics track?]]></title><description><![CDATA[By Google's own definition a "Hit" is any user interaction which results in data being sent to google analytics servers.  The most common of these hit types include page tracking hits, event tracking hits, and eCommerce hits.]]></description><link>https://analyticsbar.com/blog/which-kinds-of-hits-does-google-analytics-track/</link><guid isPermaLink="false">5d09a912fec564418a66e45f</guid><category><![CDATA[Getting Started]]></category><dc:creator><![CDATA[Greg]]></dc:creator><pubDate>Wed, 19 Jun 2019 04:36:05 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1524048824421-51d2958dc634?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=1080&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjExNzczfQ" medium="image"/><content:encoded><![CDATA[<img src="https://images.unsplash.com/photo-1524048824421-51d2958dc634?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ" alt="Which kinds of hits does Google Analytics track?"><p>By Google's own definition a "Hit" is any user interaction which results in data being sent to google analytics servers.  The most common of these hit types include page tracking hits, event tracking hits, and eCommerce hits.</p><p>Website owners use Google Analytics tracking code (embedded on their page) to trigger specific user behavior (better known as events) which are recorded through Google Analytics servers of said activity (for example, when a user loads the page of a website, it's considered a pageview event).  Also, beyond tracking just websites, hit events can be configured to track from mobile apps as well (for example, a screenview hit).</p><!--kg-card-begin: markdown--><p>In summary, the most common hit types include, but not limited to:</p>
<ul>
<li>Page tracking hits (e.g. pageview)</li>
<li>Event tracking hits (e.g. link clicks, page scrolling)</li>
<li>eCommerce tracking hits (e.g. transaction and item data capturing)</li>
<li>Social interaction hits (e.g. Facebook like button click)</li>
</ul>
<!--kg-card-end: markdown--><p>More information from Google Support: <a href="https://support.google.com/analytics/answer/6086082">https://support.google.com/analytics/answer/6086082</a></p><p>For specific details on various hit types and how they are used in Google Analytics tracking code: <a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#hitType">https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#hitType</a></p><p></p>]]></content:encoded></item><item><title><![CDATA[SQL Server STATISTICS IO query tuning with Statistics Reporter SSMS Extension]]></title><description><![CDATA[Statistics Reporter SSMS Extension is a SQL Server Management Studio Add-in for parsing SET STATISTICS IO, TIME ON into a beautiful report.]]></description><link>https://analyticsbar.com/blog/statistics-reporter-ssms-extension/</link><guid isPermaLink="false">5cb6123bfec564418a66e44a</guid><category><![CDATA[Side Projects]]></category><dc:creator><![CDATA[Greg]]></dc:creator><pubDate>Wed, 17 Apr 2019 15:42:52 GMT</pubDate><media:content url="https://analyticsbar.com/blog/content/images/2019/08/SRStaticDemo.png" medium="image"/><content:encoded><![CDATA[<img src="https://analyticsbar.com/blog/content/images/2019/08/SRStaticDemo.png" alt="SQL Server STATISTICS IO query tuning with Statistics Reporter SSMS Extension"><p>I'm excited to announce this ☝ is the first in a series of side projects I'm working on or have worked on, all being developed for my own personal reasons "scratching my own itch".  My hope is that you will find some of these projects extremely useful in some way or another.</p><p>As many of you know one of the best tools for tuning SQL queries is by <strong>SET STATISTICS IO, TIME ON</strong>.  It gives you tons of information (e.g. Scan count, Physical Reads, Logical Reads, Execution times, etc.). However the information provided in the Messages tab is extremely uneasy to read.  There are already great tools in the wild for this (e.g. Vicky Harp's offline <a href="https://vickyharp.com/2012/03/using-excel-to-parse-set-statistics-io-output/">spreadsheet</a> and Richie Rump's <a href="http://statisticsparser.com/">StatisticsParser.com</a>), but I wanted to take it a step further by applying to SSMS entirely. That way you don't have to go anywhere else to see the results.</p><p>Without further ado I present to you the following:  </p><!--kg-card-begin: html--><script src="https://gumroad.com/js/gumroad-embed.js"></script>
<div class="gumroad-product-embed" data-gumroad-product-id="statistics-reporter-ssms-extension"><a href="https://gumroad.com/l/statistics-reporter-ssms-extension">Loading...</a></div><!--kg-card-end: html-->]]></content:encoded></item><item><title><![CDATA[8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager]]></title><description><![CDATA[I'm going to show you this very useful example of how to setup Google Tag Manager to start tracking any and all links you have on any page using custom JavaScript.In comes Google Tag Manager:) ]]></description><link>https://analyticsbar.com/blog/easy-tracking-click-events-with-google-tag-manager/</link><guid isPermaLink="false">5c591bc1fec564418a66e434</guid><dc:creator><![CDATA[Greg]]></dc:creator><pubDate>Wed, 06 Feb 2019 05:23:47 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1519893578517-3252b77e8fdf?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=1080&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjExNzczfQ" medium="image"/><content:encoded><![CDATA[<img src="https://images.unsplash.com/photo-1519893578517-3252b77e8fdf?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"><p>On the main landing page for <a href="https://analyticsbar.com">AnalyticsBar.com</a> I have lots of links that basically serve as scrolling links for transitioning our visitors further down the page to specific sections (e.g. Features, Download, Contact, etc.) and even opening purchase forms and I had no way to track these with a basic Google Analytics setup...easily.  </p><p>In comes <strong>Google Tag Manager</strong>:) </p><p>Now I'm not going to go into much detail about what Google Tag Manager is all about, but know this, it's a very useful interface for adding custom tracking events to a page without having to directly manipulate any code on your current pages! Yay! However, this does not mean you won't have to code anything because you do, but only in Google Tag Manager.  With that said, I'm going to show you this very useful example of how to setup Google Tag Manager to start tracking any and all links you have on any page using custom JavaScript. </p><hr><h2 id="before-we-begin-let-s-first-setup-google-tag-manager-if-you-haven-t-already">Before we begin let's first setup Google Tag Manager if you haven't already</h2><hr><p>Goto <a href="https://marketingplatform.google.com/about/tag-manager/">https://marketingplatform.google.com/about/tag-manager/</a></p><blockquote>Sign in to Tag Manager or Start for free</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/marketing-platform.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Create Account</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/create-an-account.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Setup Account: Enter your Account Name</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/setup-account.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Setup Container: Enter the name of your website</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/create-container.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><h3 id="that-s-it-you-re-done-setting-up-google-tag-manager-that-doesn-t-do-anything-yet-">That's It! You're done setting up Google Tag Manager that doesn't do anything...yet:)</h3><hr><h3 id="now-for-the-real-work-let-s-start-tracking-clicks-">Now for the real work. Let's start tracking clicks!!!</h3><hr><h2 id="step-1-add-our-very-first-really-simple-built-in-variable-we-ll-need-to-start-handling-clicked-elements">Step 1: Add our very first, really simple, Built-In Variable we'll need to start handling clicked elements</h2><blockquote>Click on Variables and Select Configure</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/built-in-click.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Check Click Element</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/built-in-click-element-1.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><hr><h2 id="step-2-we-need-to-create-our-very-first-variable-to-link-our-google-analytics-tracking-id-with-the-actual-click-events-we-re-going-to-start-tracking">Step 2: We need to create our very first variable to link our Google Analytics tracking ID with the actual click events we're going to start tracking</h2><blockquote>Click Variables and New (User-Defined Variables)</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/create-variable.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Enter the variable name "Google Analytics - UA ID" and click on Google Analytics Settings</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/create-GA-UA-variable.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Enter the UA tracking ID found in your Google Analytics account page for your website (e.g. from <a href="https://analytics.google.com/analytics/web/">https://analytics.google.com/analytics/web/</a>)</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/add-tracking-id.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><hr><h2 id="step-3-now-comes-the-code-create-a-new-custom-javascript-variable-function-for-finding-the-nearest-anchor-tag-a-from-clicks-on-a-page">Step 3: Now comes the code! Create a new Custom JavaScript variable function for finding the nearest anchor tag '&lt;a&gt;' from clicks on a page</h2><blockquote>Click Variables and New (User-Defined Variables)</blockquote><p>Note: Variables are useful resources that evaluate to a specific value for whatever you need (e.g. the URL of a page, HTTP Referrer, etc., or in our case we're creating custom variable functions to evaluate custom values)</p><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/create-variable-1.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Enter the variable name "Find closest" and click Custom JavaScript</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/findClosest-custom.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Enter your very first JavaScript</blockquote><!--kg-card-begin: markdown--><p><code>function() {   return function(target, selector) {     while (!target.matches(selector) &amp;&amp; !target.matches('body')) {       target = target.parentElement;     }     return target.matches(selector) ? target : undefined;   } }</code></p>
<p>Note: What this function does is starting at the target (clicked element) search for the selector item (e.g. for &lt;a&gt; tags it would be 'a'). If the selector is not the target then move to the parent object of the target until you find it otherwise it's undefined</p>
<!--kg-card-end: markdown--><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/findClosest-custom-js.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><hr><h2 id="step-4-utilizing-the-find-closest-code-above-we-need-to-create-yet-another-function-that-will-find-our-a-tags-and-return-the-href-value-of-the-clicked-anchor-link-">Step 4: Utilizing the "Find closest" code above, we need to create yet another function that will find our &lt;a&gt; tags and return the HREF value of the clicked anchor link.</h2><blockquote>Again...Click Variables and New (User-Defined Variables)</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/create-variable-2.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Enter the variable name "Get anchor href" and click Custom JavaScript</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/getAnchorHref-custom.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Enter the following JavaScript</blockquote><!--kg-card-begin: markdown--><p><code>function() {   var el = {{Find closest}}({{Click Element}}, 'a');   return typeof el !== 'undefined' ? el.href : undefined; }</code></p>
<p>Note: What this code does is utilize the &quot;Find closest&quot; function and passes the parameter {{Click Element}} as target, and 'a' as the selector we're searching for in &quot;Find closest&quot;. If the anchor link is found, we'll return the value of HREF.</p>
<!--kg-card-end: markdown--><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/getAnchorHref-custom-js.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><hr><h2 id="step-5-very-similar-to-the-step-above-we-also-want-to-get-the-innertext-of-the-a-tag">Step 5: Very similar to the step above, we also want to get the innerText of the &lt;a&gt; tag</h2><blockquote>Yet again...Click Variables and New (User-Defined Variables)</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/create-variable-3.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Enter the variable name "Get anchor innerText" and click Custom JavaScript</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/innerText-custom.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Enter the following JavaScript</blockquote><!--kg-card-begin: markdown--><p><code>function() {   var el = {{Find closest}}({{Click Element}}, 'a');   return typeof el !== 'undefined' ? el.innerText : undefined; }</code></p>
<p>Note: What this code does is utilize the &quot;Find closest&quot; function and passes the parameter {{Click Element}} as target, and 'a' as the selector we're searching for in &quot;Find closest&quot;. If the anchor link is found, we'll return the value of innerText.</p>
<!--kg-card-end: markdown--><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/innerText-custom-js.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><hr><h2 id="step-6-with-all-of-our-custom-javascript-variable-functions-in-place-now-we-can-finally-setup-our-event-triggers-to-start-triggering-based-on-the-value-returned-from-our-custom-functions-">Step 6: With all of our custom JavaScript variable functions in place now, we can finally setup our event triggers to start triggering based on the value returned from our custom functions.</h2><blockquote>Click Triggers and New</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/allAnchorClicks-trigger.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Enter the trigger name "All anchor clicks" and click All Elements</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/allAnchorClicks-trigger-click.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Set the trigger to fire on "Some Clicks". From the first drop down choose the Custom JavaScript variable "Get anchor href". Second drop down select "does not equal". Enter "undefined" in the last box.</blockquote><p>Note: If it's not clear, what this does is sets this trigger to fire when "Get anchor href" evaluates to a real value, basically meaning it found an &lt;a&gt; tag from the clicked event.</p><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/allAnchorClicks-trigger-configuration.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><hr><h2 id="step-7-finally-we-can-create-our-official-event-tag-for-tracking-the-triggered-event-from-above-">Step: 7: Finally, we can create our official event tag for tracking the triggered event from above.</h2><blockquote>Click Tags and New</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/tags-for-trigger.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Enter the tag name "GA Event - Clicks - Nearest Anchor Tags" and click Google Analytics - Universal Analytics</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/tag-GAEvent.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Set the Track Type to Event.  Enter a category name.  Set the Action to "Click: {{Get anchor href}}".  Set the Label to "{{Get anchor innerText}}: {{Get anchor href}}".  Lastly, set Google Analytics Settings to the variable "{{Google Analytics - UA ID}}"</blockquote><p>Note: This is where we actually set out event labels that will be stored and visible in Google Analytics for tracking these events.  The amazing thing is these values will evaluate our custom JavaScript variables into the event values!</p><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/tag-GAEvent-labeling.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Select Triggering</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/tag-GAEvent-addtrigger.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Click on our custom trigger "All anchor clicks"</blockquote><p>Note: The tag configuration from above will be set and fire off the event once this trigger occurs on your web pages.</p><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/tag-GAEvent-addtrigger-all-elements-1.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><hr><h2 id="step-8-last-step-submit-and-publish-">Step 8: Last step. Submit and Publish!</h2><blockquote>Let's Submit!</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/Submit.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Add your version name and description, then Publish!</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/publish.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Click on the tag Admin and click Install Google Tag Manager</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/admin-install.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><blockquote>Add the following code right below your other Google Analytics script that you're already using for tracking page views</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2019/02/install-GTM.png" class="kg-image" alt="8 Easy Steps to Start Tracking All Links on Your Website with Google Tag Manager"></figure><hr><h3 id="that-s-it-you-re-all-done-">That's It! You're All Done. </h3><p>Now start tracking your custom click events of your super awesome website within Google Analytics <a href="https://analytics.google.com/analytics/web/">https://analytics.google.com/analytics/web/</a>.</p>]]></content:encoded></item><item><title><![CDATA[4 Easy Steps to Setup and Install Google Analytics]]></title><description><![CDATA[So here you are with a website, blog, or something cool you've built online. Now what? Well, it's time to start tracking your visitors and what better way to do that than with the all mighty Google Analytics.]]></description><link>https://analyticsbar.com/blog/easy-google-analytics-setup-and-install/</link><guid isPermaLink="false">5b8f559faeb963ba0dbd9854</guid><category><![CDATA[Getting Started]]></category><dc:creator><![CDATA[Greg]]></dc:creator><pubDate>Sun, 03 Feb 2019 18:50:00 GMT</pubDate><media:content url="https://analyticsbar.com/blog/content/images/2018/09/easy-setup-install-audio.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://analyticsbar.com/blog/content/images/2018/09/easy-setup-install-audio.jpg" alt="4 Easy Steps to Setup and Install Google Analytics"><p>So here you are with a website, blog, or something cool you've built online. Now what? Well, it's time to start tracking your visitors and what better way to do that than with the all mighty Google Analytics. Here I'll guide you through this super simple setup. </p><hr><h2 id="step-1-get-signed-up">Step 1: Get signed up</h2><p>Goto <a href="https://marketingplatform.google.com/about/analytics/">https://marketingplatform.google.com/about/analytics/</a></p><blockquote>Sign in to Analytics or Start for free</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2018/09/marketing-platform-1.PNG" class="kg-image" alt="4 Easy Steps to Setup and Install Google Analytics"></figure><blockquote><em>Sign up </em></blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2018/09/sign-up.PNG" class="kg-image" alt="4 Easy Steps to Setup and Install Google Analytics"></figure><hr><h2 id="step-2-create-an-account-and-setup-your-first-tracking-property-details">Step 2: Create an account and setup your first tracking property details</h2><p>Right out of the gate Google Analytics has you set up your account and very first tracking property for your website</p><blockquote>Enter your Account Name</blockquote><blockquote>Enter the Website Name and Website URL you want to start tracking users from</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2018/09/account-and-property.png" class="kg-image" alt="4 Easy Steps to Setup and Install Google Analytics"></figure><blockquote>Get Tracking ID</blockquote><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2018/09/get-tracking-id.png" class="kg-image" alt="4 Easy Steps to Setup and Install Google Analytics"></figure><hr><h2 id="step-3-copy-your-new-google-analytics-script-tags">Step 3: Copy your new Google Analytics script tags</h2><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2018/09/copy-entire-script.png" class="kg-image" alt="4 Easy Steps to Setup and Install Google Analytics"></figure><hr><h2 id="step-4-add-your-new-google-analytics-script-tags-to-the-very-top-of-your-website-right-after-the-head-tag">Step 4: Add your new Google Analytics script tags to the very top of your website right after the &lt;head&gt; tag</h2><figure class="kg-card kg-image-card"><img src="https://analyticsbar.com/blog/content/images/2018/09/installed-scripts.png" class="kg-image" alt="4 Easy Steps to Setup and Install Google Analytics"></figure><hr><h3 id="that-s-it-you-re-done-">That's It! You're Done. </h3><p>Now start tracking your visitors to your super awesome website. Bookmark <a href="https://analytics.google.com/analytics/web/">https://analytics.google.com/analytics/web/</a> to jump straight to Google Analytics reporting goodies!</p>]]></content:encoded></item></channel></rss>