Two or more Google Analytics accounts in one page: How-to

October 25th, 2007 @ 21:34

Yes, it is possible.

No, it won’t work with a simple “copy-paste” of the two Google Analytics codes.

Read on, if you want to know the solution which I discovered by experimenting! :-)

* * *

Not a long ago I had to play a lot with GoogleAnalytics. I had also the idea of creating one GoogleAnalytics profile for the whole domain, and separate profiles for some of the sections in the website. Thus the statistics for the whole website and its sections could be tracked in an easier way, like if you were watching the statistics for separate websites, while having at the same time an overall look at the traffic for the whole domain. (I believe there are other means of achieving the same goal with GA, but for me the method above was the easiest to implement.)

So, I’ve created separate profiles in Google Analytics (one profile for the whole website and several others for the site sections), copied the HTML codes from GoogleAnalytics on each page, and waited for the results. 24 hours later I discovered that:

1) The first (for the whole domain) GoogleAnalytics profile works and gathers data (the code for it was always first in the html code in the pages).
2) The GA profiles for each section do not work (they show zero traffic), notwithstanding the fact that Google Analytics claims that the GA code is inserted correctly and works (the code for each site section was always after the general profile code).

The things at this moment looked like this:

<!-- GoogleAnalytics code for the whole domain -->
<script src="" type="text/javascript">
<script type="text/javascript">
_uacct = "UA-XXXXXXX-X";
<!-- GoogleAnalytics code for a specific site section -->
<script src="" type="text/javascript">
<script type="text/javascript">
_uacct = "UA-XXXXXXX-X";

Copy-pasting the GA codes one after the other didn’t work… After some research and googling around, I’ve found the following solution:

Read the rest of this entry »

Blog Action Day (2007)

October 15th, 2007 @ 16:29

Bloggers Unite - Blog Action DayTwo words from me (you can check the Bulgarian version of this post, which is much more detailed).

It’s about the bicycle.

Yes, that bicycle.

A lot of people are writing today in their blogs, how we can change to world, and making it a better, greener place to live.

I’d like not to use so much words, but tell you about some action.

Some time ago (maybe 5 years or so), I started to ride a bicycle, instead of using the public transportation system, a personal car or the taxis.

Our bicycles

I am not talking here about the bicycle as leisure or doing things like this (if you do things like this, you’ll have to search for tips somewhere else;-)

I’m talking about the bicycle as a transport in a big or small city.

I believe it’s one of the most effective means of transport, invented by humans till today.

It changed my life.

I am faster than a car, a bus, tram or even the underground.

I do not have to pay taxes, buy gas and oil, worry about expensive repairs and worry about finding a place to park my car.

In Amsterdam, which population is around 730’000 people, the preferred means of transport are the following: 35% – bicycle, 40% – cars, and 25% – public transportation system [source].

It means, around 250’000 people in this European city choose every day the bicycle.

It means, it is possible!

It’s more a question of personal choice.

And of wise municipal policy.

Would be nice if we, people, realise that small choices we make (like use a bicycle for transportation everyday), are worth much more than a thousand words in someone’s blog…

So stop reading (and writing) now, go buy a bicycle (if you didn’t yet do so), and start riding!

The Earth will be very grateful for this action of yours… :-)

And your co-citizens, too…

[note: 2007 image was removed from the servers of so I replaced it with 2009 image...]

Crystals made with Fireworks

October 13th, 2007 @ 18:22

Today’s been ‘play day’. I’ve been doing some tutorials for Adobe Fireworks (and also Flash).

One of them was a tutorial on how to create 3D-looking crystals with Fireworks, by Thierry Lorey.

Here are the links to it:

Introduction &
The tutorial itself.

And here are my humble tries to reproduce the effect in Fireworks:

Crystals made with Adobe Fireworks (image 1) Read the rest of this entry »

WordPress plugin to show Moon Phases

October 11th, 2007 @ 14:52

Yovko showed me, from where I can get a little plugin for WordPress, which shows the Moon phases in the sidebar of the blog.

MoonPhase Plugin for WordPress

I’ll test it one of these days…

UPDATE: With WordPress 2.2.1: plugin works!:-) With WP 2.3 I still don’t know, I’ll know soon, after I upgrade my current WordPress version…

One more incredible photo of Tungurahua volcano

September 18th, 2007 @ 23:55

Today I saw an incredible photo by the photographer Patrick Taschler and wrote a few words on the subject.

Imagine my surprise, when a few minutes ago I received a comment коментар (in the Bulgarian version of my blog) from the author himself:)))

In his comment, Patrick gave me a link to another photo of the same volcano.

Here it is:

Volcano Tungurahua erupts

The short explanatory text below is also worth reading:

I decided to head for Ecuador, driven by my love of mountains and an insatiable urge to travel. I got more than I bargained for when I arrived, because I discovered that the Tungurahua volcano, located around 80 miles south of the country’s capital Quito, was about to erupt and was spewing dense smoke and lava. I approached it from the west, which was said to be the good weather side, since the clouds generally roll in from the east amazonas.

The road I was on ended at Puela, a little town at the western slopes of the volcano. Night fell and the clouds dissipated and I found myself staying up all night to observe and to take pictures. I’m quite a fan of astronomy and so I realised that the star cluster M45 (pleiades) was about to appear in the night sky on this moonless night, and that it would emerge more or less behind the crater.

That’s exactly what happened, I took my picture using a Canon D20 and 70-200mm combination, with an exposure time of around 20 seconds. It was a difficult shot to take, thanks to the humidity and the fact that ash was falling fairly liberally around me: my camera is now worth half its price!

The next morning I started my walk along the flanks of the volcano to reach Banos: there had been a road, but much of it had been destroyed by lava flows. The villages I passed were semi-deserted and the vegetation was covered with ash: all the time what really scared me about the volcano was that it was so quiet… no explosions, and my fear was that something was building up. Time, I told myself, to get out of here!

The following night the villages of Bilbao and Penipe suffered heavy damage and those of Chilibu, Chogloctuz and Palitagua got wiped out.

An interesting story. Now, after I’ve read it, I look with a bit different eye on the two photos from that volcano… :-)

* * *

It’s amazing, how technology now allows us in a completely different way to communicate, and to meet (in a direct or in-direct way), with people from the other side of the world:)

A popular slogan by Nokia should be (instead of: “Nokia. Connecting People.”):

Internet. Connecting people(tm)

Or how could I learn then about Patrick Taschler? :-)

PS Here’s Patrick Taschler’s portfolio (in a bit strange for me Flash format):

How to prevent Google from indexing WordPress RSS feeds

September 18th, 2007 @ 21:45

I love to optimize my WordPress-based blog. The only problem is, I rarely have enough time to do it — and still, there are some small improvements, which may take less than 5 minutes of your time, and yet have a tangible impact on your overall blog optimization.

One of these things is how we can prevent Google (and other search engines) from indexing (searching) the WordPress RSS feeds.

The next few lines will be dedicated to this problem (and how we can solve it).

Where to start?

I remember that some time ago I was checking which pages of are indexed in Google.

I was puzzled by the fact that, beside the blog posts, I have found a lot of RSS feeds, which were also indexed.

Why you do not need Google to index/spider the RSS feeds?

First of all, the indexed (searched) content is duplicated – the last 10 posts or the last comments, available via RSS, can be read on the blog itself. Second point, RSS is meant to be used with an RSS reader, not to be read in the browser window (text and images won’t be formatted, for example). Last, but not least, who would like after a performed internet search to land on a un-formatted RSS page with comments, for example, instead of on the blog post itself, to which the comments are related? And this happened to me, and more than once…

(Example: you can use this link to subscribe to the RSS feed of my blog, or just to check the ten last blog posts from optimiced in RSS format.)

Can we prevent this from happening?

I searched the Internet for some time, until finally I dropped on the WordPress Support forum, where the solution was found, and the thread itself, titled “Prevent indexing of feed pages”, was marked as ‘resolved’.

Here’s the way to do it – you must use a robots.txt file.

What is robots.txt?

robots.txt graphicAs the name itself suggests, robots.txt* is a text file in the standard text format (.TXT), intended to use by robots:-)

But not all robots, of course (for example, Roomba doesn’t count;-), but only by the search machines (spiders), like Google, Live Search (until recently MSN Search), Yahoo!, Alta Vista and all other search (ro)bots.

Read the rest of this entry »

Just an incredible photo of Tungurahua volcano

September 18th, 2007 @ 17:52

I often drop a look to the website of NASA for astronomical photography (APOD).

I remained speechless, when I saw today’s photo:

Volcano Tungurahua erupts

Follow the link and see the photo in larger size, and also read the explanation:

Volcano Tungurahua erupted spectacularly last year. Pictured above, molten rock so hot it glows visibly pours down the sides of the 5,000-meter high Tungurahua, while a cloud of dark ash is seen being ejected toward the left. Wispy white clouds flow around the lava-lit peak, while a star-lit sky shines in the distance. The above image was captured last year as ash fell around the adventurous photographer. Located in Ecuador, Tungurahua has become active roughly every 90 years since for the last 1,300 years. Volcano Tungurahua has started erupting again this year and continues erupting at a lower level even today.

— This is what I call a brave photographer! He was brave enough to put his camera and himself near an erupting volcano! :-)


Cows With Guns

September 17th, 2007 @ 10:34

“Cows With Guns” is one of those music video clips, that make you smile and make you think at the same time. The music is very good, the Flash animation – too. Actually, yesterday, while checking the immense file archives on my computer, I found this video by accident (downloaded from where? I don’t remember…). I started the video and started humming the tune of this song almost immediately.

Cows with guns

To whom belongs the original of this song, though?… Don’t remember…

PS More info about Cows With Guns (music and animation) – on the final screenshot.
PPS (2007/Sep/17@16:15) I found more info about the singer, who performs “Cows With Guns” – his name is Dana Lyons, he released a whole album under the same name, and it appears, that he’s quite a popular singer:)

[ is the virtual home of Web & graphic designer Michel Bozgounov | powered by WP & hosted by DreamHost | also available in български ]

0.908 / 47 / 30.5