» Goal Conversions in Google Analytics

Posted: June 11th, 2008 | Sammy Russo | Tutorials, Web Resources

One of my clients decided that we they needed to start tracking certain goals or conversions on the website via Google Analytics. So I set up the the allotted conversion goals / funnels, but I needed more.

According to Google Analytics documentation or Help Center, they say that if you need to more than four goal conversions… set up additional profiles. So I did.. I took the snippet of java script code (we’re using the Legacy Tracking Code - urchin.js) and pasted it along side the other script. I waited a couple of days and noticed that the second profile wasn’t collecting data.

Troubleshooting Round 1
So I started examining the code snippets… I noticed they were out of sequential order according to the user account # associated with this site profile ex.. _uacct = “UA-8XXXX2-3″;. So I put them in sequential order and all of a sudden the second profile started registering data… sweet I figured out.

My code looked something like this…

A few days later, colleague and friend, Search Master Jamie Low called me and said Google Analytics stopped tracking our account. What happened was once I switched the code around it activated the second profile but deactivated the first.

Troubleshooting Round 2
I’ll admit.. I’m terrible with javascript.. I can install them but have no idea what any of the code means.. but I have worked with them so I should have used a little more common sense. First I fixed the issue by removing the call to the second profile. But I still had find the solution to track both.

Unfortunately, I couldn’t find the answer on Google anywhere so I sat an pondered the code for a little while. All of sudden I started thinking back to the validation and calendar scripts I install on client forms and how those calls to scripts are structured. I had it all wrong I needed to combine the two scripts into one.. not use two separate ones so it would like this…

After double checking things this afternoon it appears that both sites are now tracking data. I will post a follow up in a few days with final results to let you know how its going and if I really fixed it.





Now What?


 Leave a comment

 Permalink

 Comments Feed



3 Responses to “Upgrading Wordpress Using Dreamweaver”

  • Wordpress Blog Security Measures Says:

    [...] Wait for Fantastico!When security is at risk.. manually upgrade your Wordpress Installation… its not as difficult as one might think.. just be sure you back up everything before you [...]

  • Dreamweaver Says:

    I would highly recommend checking out ThemeDreamer for Dreamweaver. It’s a new extension that makes WordPress theme creation much easier. It’s still a beta release, but you can download a free trial and see how it works.

  • Wordpress 2.6.1 Says:

    [...] your upgrade protocol… do you automatically upgrade your Wordpress installation as soon as a new release is available, or do you wait it out like [...]

Leave a Reply