Your best source of information and news about windows vista, software and software on the internet

Vista ARTICLES TOP 50 Spyware Virus Vista SOFT Vista HELP

Useful

You are currently browsing the articles from MS Windows Vista Compatible Software matching the category Useful.

8 Useful Google Analytics Tips


When Google released Google Analytics, they allowed webmasters to use near-enterprise level analytics for free. However, there are a lot of things you need to tinker with in order to get some of the data you need from it.

  1. Tracking clicks on links. Every time you put a link to anything external or a download on a page, make sure you add onClick=”javascript: pageTracker._trackPageview(’/link/linkname’); “. Always know where your visitors went.
  2. Tracking user groups. If you’re sending people to a landing page, and you want to know where they go from there, segment them by using onLoad=”javascript:pageTracker._setVar(’Segment/Subgroup’);”. This will help you know what different groups are doing, and split-test user behaviour.
  3. Tracking full referred URLs. You’ll often get visits from forums or blogs that append their URLs. That’s not much use to you, so to make sure you know where people actually came from, set up a filter with the following settings:
    • Name: Full Referrers
    • Type: Custom filter - Advanced
    • Field A -> Extract A: Referral > (.*)
    • Field B -> Extract B: -
    • Output To -> Constructor: User-defined > $A$1
  4. Exclude internal visits. Add a new filter, with the “Exclude all traffic from an IP address” setting. Then add your own IP address, and repeat for any other IPs you don’t want to be included. Make sure you escape any full stops, with a forward slash, like this: 63\.212\.171\.
  5. Tracking across multiple domains/subdomains. If you’re running a very large site, or a site that spans multiple domains, you’ll need to be able to track visits across those sites. Fortunately, we have a way of doing that. Firstly, we set up the following filter:
    • Name: Full URI
    • Type: Custom filter - Advanced
    • Field A -> Extract A: Hostname > (.*)
    • Field B -> Extract B: Request URI > (.*)
    • Output To -> Constructor: Request URI > /$A1$B1

    Now you’ll see URLs in your content reports that look like this: www.example.com/index.html, help.example.com/more.html and so on. Next, we tweak the analytics code slightly, so it looks like this:

    <script type="text/javascript"><!var gaJsHost = (("https:" == document.location.protocol) ? "<a target="_blank" href="https://ssl" mce_href="https://ssl">https://ssl</a>." : "<a target="_blank" href="http://www." mce_href="http://www.">http://www.</a>");
    document.write(unescape("%3Cscript src=’" + gaJsHost + "<a target="_blank" href="http://google-analytics.com/ga.js" mce_href="http://google-analytics.com/ga.js">google-analytics.com/ga.js</a>’ type=’text/javascript’%3E%3C/script%3E"));
    // –></script>
    
    <script type="text/javascript"><!var pageTracker = _gat._getTracker("UA-xxxxx-x");
    <b>pageTracker._setDomainName("none");
    pageTracker._setAllowLinker(true);</b>
    pageTracker._trackPageview();
    // –></script>

    That will make the code work across all our (sub)domains. Finally, whenever you link from one domain to the other, make sure that you stick this piece of code into the link: onclick=”pageTracker._link(this.href); return false;”. Alternatively, if you’re using forms to jump between domains, use this code instead: onSubmit=”javascript:pageTracker._linkByPost(this)”.

  6. Tracking ecommerce transactions. Yes, Google Analytics has a full ecommerce module built in too. To turn it on, go to the account settings, and change the Ecommerce Website button from No to Yes. Now, on your receipt page, add the following code, with the fields below being filled from the order.
    <script type="text/javascript"><!var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    
    document.write(unescape("%3Cscript src=’" + gaJsHost + "google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E"));
    // –></script>
    
    <script type="text/javascript"><!var pageTracker = _gat._getTracker("UA-xxxxx-x");
    pageTracker._trackPageview();
    pageTracker._addTrans(
    "1234", // The ID for the whole transaction
    "Mountain View", // The affiliate name, if there is one. If not, put as your name
    "11.99", // Total transaction value
    "1.29", // Tax
    "5.99", // Shipping charges
    "San Jose", // City
    "California", // State
    "USA" // Country
    );
    
    pageTracker._addItem(
    "1234", // The ID for this single part of the order
    "DD44", // Product SKU
    "T-Shirt", // Product Name
    "Green Medium", // Category
    "11.99", // Price
    "1" // Quantity
    );
    
    pageTracker._trackTrans();
    // –></script>

    The last part (pageTracker._addItem( to the closing ); is repeated for each extra product or order in the transaction. And now you’ve got ecommerce tracking!

  7. Tracking exact keywords for AdWords. The problem with the keyword reports for your paid search campaigns, is that they only show the keyword that was triggered, not the exact keyword the person actually typed in. If you want to get that, you’re going to have to create the following two filters…
    • Name: PPC Keywords 1
    • Type: Custom filter - Advanced
    • Field A -> Extract A: Referral > (\?|&)(q|p)=([^&]*)
    • Field B -> Extract B: Campaign Medium > cpc|ppc
    • Output To -> Constructor: Custom Field 1 > $A3

    Field A Required, Field B Required and Override Output Field need to be set to Yes.

    • Name: PPC Keywords 2
    • Type: Custom filter - Advanced
    • Field A -> Extract A: Custom Field 1 > (.*)
    • Field B -> Extract B: Campaign Term > (.*)
    • Output To -> Constructor: Campaign Term > $B1,($A1)

    Again, Field A Required, Field B Required and Override Output Field need to be set to Yes.
    Now when you look in your reports, you’ll see the actual keyword the searchter typed in, in brackets next to the keyword that was triggered. Cool, huh?

  8. Making the site overlay tool useful. There’s a basic flaw in the way the site overlay works. Unfortunately, it groups all clicks on a URL togeter, so if you’ve got two links to the same URL, it’ll report the total data for both, rather than for each link individually. To get around this, leave the first link to the URL in question as it is, but add &location=x to the end of each additional link (where x isthe number of that link, so the first extra link would be 1, a second would be 2 and so on).
      

Written by Harry Waring on September 27th, 2008 with no comments.
Read more articles on 8 and analytics and Useful and otherSoftware and Tips and computers and google.

Vista and Ideas


So let’s see what I have running in my household (which consists of me, myself and I):

  • OpenSUSE 11 on the laptop
  • Windows XP and 2000 on the Dell
  • Windows NT 4 Server on the other Dell which is a glorified NAS (Network Attached Storage) box
  • Mac OS X 10.4 on the eMac
  • Mac OS 9.2 on the iMac

A balanced lot I think. The top two get the most use in general. The time has come however to take the jump and start plugging away with Windows Vista.

I have never bought a new computer in my life. Unless you count the Commodore 64 in 1990 which technically wasn’t bought by me but my parents. But it was new. Since then I have had a hotch potch of second hand stuff, not that this has bothered me. I have also built plenty of new PCs all faster than what I had at the time (Pentium IIs, then IIIs, then Athlon XPs, Pentium D’s etc.) but never a new computer for myself.

That has now changed as I have bought an Acer M1640 Core 2 Duo system that worked out somewhat cheaper than building it myself, brand new. I’m actually quite looking forward to it and the Dell will get retired and probably sold in the Friday Ad or eBay when I have got the new Acer up and running fully.

It comes with Vista.

Now, universally it has been in-vogue to bash Vista, particularly from people who haven’t used it. Some people have used it and got their fingers burnt but others have used it and liked it so much that their satisfaction as with anything in life wasn’t even mentioned. I personally have never had any issue with Vista, but then I don’t currently run it. This is partly deliberate because I did consider just buying Vista Home Premium for the Dell. It would have run fine-ish once the memory was upgraded but it would have been a bit sub-par so it wasn’t worth it. Potentially my laptop would work with it but again, why muck up something running fine with something that may well slow it down?

Why have I done this.

Not out of masochism that’s for sure. I’m a web developer but I do have roots in traditional desktop applications too and there are some things I want to blend together; mostly for work. I wrote a sidebar and gadgets system that emulates the functionality that Facebook first debuted with, followed by the BBC and London Borough of Redbridge. Now despite blowing my own trumpet, I’m reasonably proud of this as I know lots of people are finding it useful, but secondly because I programmed it all myself, it works well and it didn’t cost anything other than my basic wage to implement.

One of the features I want though and have done for a long time is to be able to ‘download’ these gadgets onto a Vista sidebar gadget or an OS X Dashboard Widget. I mean, it’d be cool seeing when your bins are collected after a bank holiday on your sidebar/dashboard without needing to go to the council website itself. One could argue: but that would negate people coming to the website! Well, maybe so, but if it makes things easier for people I’m all for that. (Despite possible suggestions on occasion, I don’t spend my day plotting how to make things a nightmare!)

However to do this I have an OS X box to start with, but just lack the Vista box. So primarily this is being used to develop sidebar gadgets. It’s an expensive proposition but it will also get some good use.

Otherwise, the box will spend a good deal of time putting it’s pair of 2.4GHz cores to use by running Notepad… It should at least be the last PC I need to buy for some years! I’ll be sure to let you know how it all goes.

      

Written by lilserenity on September 23rd, 2008 with no comments.
Read more articles on Bins and Computing & Technology and Helpful and Useful and User Friendly and otherSoftware and Web Development and Windows and vista and Sidebar and web 2.0 and Gadgets.