blog-tutorial-post-template

Blog

Google Analytics allows users to gain traffic insight that is both very powerful and completely free.

Step 1. Create a Google Analytics account

Visit the Google Analytics website and create a free account. If you haven’t created a gmail account before you will first need to create that as well, which you can optionally link with other e-mail accounts if you prefer (linking accounts will allow you to log in with an e-mail address that is not @gmail.com).

Step 2. Copy the Analytics Tracking Code

When you finish creating account you will given a tracking code. Highlight this code and copy it (CMD + C). The code should look something like the following:

1
2
3
4
5
6
7
8
9
10
11
12
13
<script type="text/javascript">// <![CDATA[
var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-12345678-9']);
  _gaq.push(['_setDomainName', 'yourdomain.com']);
  _gaq.push(['_setAllowLinker', true]);
  _gaq.push(['_trackPageview']);
 
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
// ]]></script>

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
// ]]></script>

If you already created an Analytics account and need to find your tracking code again first go to your Account dashboard page. In the upper right will be an Admin button – click the Admin button.

Google Analytics Admin Button

Then select the “Tracking Info” in the middle column and then “Tracking Code” and your tracking script will appear.

Step 3. Paste the code in RapidWeaver

RapidWeaver 6 allows for the tracking code (including the script tags) to be inserted in the Stats section.

RapidWeaver 6 Stats

Paste (CMD + V) the tracking code in the top section next to Google Analytics. Include all the code (don’t leave out the <script> tags).

Step 4. Make sure your code is there

This step is not necessary, though I usually perform it in most cases. Load any page of your site in a browser, right click outside of any rich content (i.e. images, videos) and select “View Source” – then hit CMD + F to open a find/search option. Enter your account code… that’s the UA-12345678-9 number. If your code is on your page you should find this (You likely don’t need to enter the whole code either, UA-1 is probably enough).

RapidWeaver Stack Tutorials

RapidWeaver Theme Tutorials

RapidWeaver Project Documentation

Tutorials and documentation for all 1LD Project files can be found at the link below.

See Documentation

Get the power of a framework, for the price of a theme, in the convenience of a prebuilt RapidWeaver project file

Blog

Live Search 2

Live Search 2 has been updated with new features, improvements, and important bug fixes – all designed to make your site’s search experience even faster and more precise.

This update is free and automatic for all existing customers.

Don’t own it yet? Now’s the perfect time to jump in — Live Search 2 is 30% off for a limited time! No code needed — your discount is automatically applied at checkout.

New Features:

  • Added support for exact match searches using quotation marks around parts of a search phrase.
  • New option to show a “Clear Input” button.
  • Added Replace Character feature.
  • Now supports two separately defined search bars on the same page.
  • New option to adjust z-index.

Improvements:

  • Index file generation now detects and ignores duplicate content, such as text found in every page header and footer.
  • If any pages are missing from the index file, they will now still be searched dynamically.
  • Index file data is now compressed to reduce file size.
  • Pages at https://website/folder/index.(php|html) and https://website/folder/ are now treated as duplicates and will not be indexed separately.
  • Search results container height now only stays fixed during pagination — it will shrink dynamically for new searches.
  • When searching custom sitemaps, the default sitemap will now be ignored.
  • The popout search results container will now automatically hide when the search input is empty.

Bug Fixes:

  • Fixed an issue that prevented custom text/language settings from applying correctly.
  • Fixed a bug where result descriptions could fail to display a local section title.
  • Fixed a bug that could trigger an error if suggestions were enabled but the stack was not published to the page.
  • Prevents form submission before the page is fully loaded, avoiding unwanted page refreshes on slow-loading pages. A loading indicator is shown until the page is ready.

Check it out in action!

© 2011 One Little Designer, 1 Little Designer (1LD)

RapidWeaver is a trademark of Realmac Software