The Shapeways Blog: 3D Printing News & Innovation

Shapeways Blog

Track Your Hits with Google Analytics !!!


Display comments as (Linear | Threaded)

Wow - that's really cool guys. Just created the code, very curious to see the info coming in.
#1 Michiel Cornelissen on 2010-09-16 08:34 (Reply)
Had a feeling you would be one of the first to jump on it. :-)

Apparently there can be a 24 hour delay in data.
#1.1 Duann on 2010-09-16 08:36 (Reply)
Are you calling me a control freak? ;-)
#2 Michiel Cornelissen on 2010-09-16 08:40 (Reply)
Of Course not, but you may now be Analytical? ;-)
#2.1 duann scott on 2010-09-16 08:46 (Reply)
24hours Duann? :-P i'm refreshing like every 30seconds :-P
#3 Mitchell Jetten on 2010-09-16 09:41 (Reply)
Are you saying you tracking is working already?
#3.1 duann scott on 2010-09-16 10:13 (Reply)
still not working here! still waiting :-D
#3.1.1 Mitchell Jetten on 2010-09-17 08:12 (Reply)
hehe no,, i thought i just have to wait for 2minutes or something,, so started pushing F5 every 30sec :-P
#4 Mitchell Jetten on 2010-09-16 10:20 (Reply)
As one of numerous people who requested better stats, I couldn't wait to try this out ! code sucessfully pasted.
#5 fx2 on 2010-09-16 10:56 (Reply)
Great job Shapeways developers !
Couldn't ask for a simpler way to insert traffic tracking code to my shop!

This is what i wrote back in June 22nd 2010:

"BTW, too bad shop owners cant have a unique counter
generated on the fly by shapeways server on every model page
with a detailed info on incoming traffic, GEO location , referring URLs etc...

This is an absolute essential in my opinion.

Testing different types of traffic-sources even dare i say AD
WORDS paid traffic... can produce nice sales for a shop owner.

I hope shapeways will consider this - this will defiantly increase
shop owners active involvement with generating traffic/sales. "

Again, nicely done ! :-)

#6 Dizingof on 2010-09-16 11:14 (Reply)

So now the race is on to see receives the first trail of data from google.....

Who will it be?
#6.1 Duann on 2010-09-16 12:07 (Reply)
Oh, finally!... On my way to try this now.... May end up ditching my Blog that was keeping track for me.

#7 Glenn Slingsby (Homepage) on 2010-09-16 14:59 (Reply)
I signed up too, I wonder if it works
Thanks for implementing it :-)
#8 Rob Parthoens on 2010-09-16 17:30 (Reply)
Still not working here either. Are you sure the profile should say "" and not ""? My other sites have www in them - no idea if it makes a difference.
#9 Michiel Cornelissen on 2010-09-17 08:18 (Reply)
My stats are not working for now, too. I'm wondering if the profile URL should not be "" or to allow subdomains : "" .
#10 fx2 on 2010-09-17 09:08 (Reply)
try it :-)
#10.1 Mitchell Jetten on 2010-09-17 09:20 (Reply)
analytics doesn't accept ".shapeways". I changed to "".
#10.1.1 fx2 on 2010-09-17 09:31 (Reply)
Now I found that "" as profile URL seems to work. Analytics is now collecting data...

With "" and "" ,Analytics is searching for the code on the Shapeways frontpage and obviously doesn't find it...
#11 fx2 on 2010-09-17 09:47 (Reply)
tried it but it says my code isnt installed? :/ i did place the code in the shop
#11.1 Mitchell Jetten on 2010-09-17 10:14 (Reply)
collecting! it works fx2
#11.1.1 Mitchell Jetten on 2010-09-17 10:15 (Reply)
How about
#12 Michael Williams on 2010-09-17 12:38 (Reply)
Should have been a link but it's to set up google checkout
#12.1 Michael Williams on 2010-09-17 12:46 (Reply)
Still nothing for me, after about 30 hours I think. Changed from to this morning though.
#13 Michiel Cornelissen on 2010-09-17 15:20 (Reply)
We made a boo boo here. Your URL to track should be:

The tutorial is updated!
#14 Robert Schouwenburg on 2010-09-17 16:03 (Reply)

I put YOURSHOPNAME between brackets but that seems to be filtered out. :/
#14.1 Robert Schouwenburg on 2010-09-17 16:06 (Reply)
I was right with the URL change ! Unfortunately, this will track only a very little percentage of the traffic we get. For instance, if someone makes a search on the Shapeways website or simply goes to the model page (outside of the shop), the tracking code will not record that...
#14.1.1 fx2 on 2010-09-17 16:34 (Reply)
Forget the part of my precedent message about the tracking percentage. The tracking code is shown in the page source code of every item, even outside of the shop. Great work, thank you !
# fx2 on 2010-09-17 16:43 (Reply)
This is an awesome feature :-)


Within minutes of this blog post, I had set up my analytics account and everything.
Both for my blog and for the shop I got a succesful connection.
For the last I figured the url should be the shop url ;-)

Within hours I got the first results from my blog.
But the shop has been stuck on "wachten op gegevens" -> "waiting for data".
(Analytics is geïnstalleerd en de gegevens worden nu verzameld.)
It's been linked for over 36 hours?
Anyone have the first results yet?

#15 Virtox (Homepage) on 2010-09-18 10:07 (Reply)
Oh and is it possible to include the tracking on pages ?
#15.1 Anonymous on 2010-09-18 10:38 (Reply)
Looks like it ain't gonna happen for me. Still have the yellow triangle after two days.
#16 Anonymous on 2010-09-18 14:41 (Reply)
Same here. 0 visitors after 2 days :-/

It says "Tracking installed" but no visitors.
#17 Dizingof on 2010-09-18 14:47 (Reply)
One better than me... I don't even get the tracking installed...
#18 Michiel Cornelissen on 2010-09-18 14:52 (Reply)
Well a look at the source pages of my shop shows that the javascript code uses someone else code not mine:

var pageTracker = _gat._getTracker("UA-4437079-1");

it should be UA-18571459-2

Check yours (right click on your shop's page --> view source --> scroll all the way down and see the above code) to see if the tracking code is yours.
#19 Dizingof on 2010-09-18 16:01 (Reply)
Of course, they put their Analytics code on your pages, too... If you look exactly, you will notice two different tracking codes.
#19.1 fx2 on 2010-09-18 16:06 (Reply)
It remains a mystery why no data shows up
#19.1.1 Dizinigof on 2010-09-18 16:31 (Reply)
Didn't see this until after I posted my #20 message. I am not re-doing. There is something wrong here. You will see that the tracker Google puts in at the end is in between Javascript code. The ones we put in (mine is at line 1158 when viewing the source) is NOT in between a piece of Javascript; it's just a piece of text. We were told when setting this up that we did not need to grab the code from Google when setting up, just to put the number given on our page.

This seems to be confirmed when going to Analytics and to the right of the link to "View Report" there is a yellow triangle that says "Tracking Not Installed" when you put your mouse over it.

Still looking for an answer, Shapeways.

# Glenn Slingsby on 2010-09-18 16:46 (Reply)
Yep, Dizingof, I have the same errant code that you have. I, too, followed the instructions from the tutorial when first posted. I thought that by going to Analytics and changing the address it would work but I think all I changed was the name of the Analytic report. I am now in process of adding a completely new one...

#20 Glenn Slingsby on 2010-09-18 16:30 (Reply)
Well, after replying to #19 above and saying I wan NOT going to re-do I finally gave up and created a NEW Analytic account using the revised instructions. My yellow warning triangle in the Analytic page now says "Tracking Unknown" which I'm hoping means I now have to just wait for it to "set up". ALSO when viewing code for my shop the Analytic code IS now in between Javascript code, so I'm hoping this will now work.

In short, if you set up using the old incorrect tutorial I suggest you re-do and put in your correct shop URL rather than trying to edit the first one.

#20.1 Glenn Slingsby on 2010-09-18 17:16 (Reply)
Okay, is anyone still experiencing problems or is ti just me? This still isn't working. The Analytics code matches that in my Shapeways pages, BUT I notice that the Javascript code sets the domain name as, even though I went through and re-did it with my Shop name. The status code is a yellow triangle with "Tracking Unknown" There are only two other status' that it can be "Waiting for Data" and "Receiving Data".

I would like to know if any other users have managed to get one of these status notes, and if so did you do anything different from the tutorial when setting it up?

#21 Glenn Slingsby on 2010-09-19 17:28 (Reply)
The domain name in the javascript should be so that is correct.
The "website url" in the edit tab should be
Make sure not only the description is changes but the actual tracking url.

As soon as the code is correctly included, the status on analytics should change from "tracking unknown" to "waiting for data" or similar (with a clock symbol) if you still get the triangle, analytics can't find the correct code.
After 24 hours it should then change to a green "v" with description "Received data"

For my blog it went to green within hours. shapeways tracking has been stuck on the "clock" and has not gathered or shown me any data.

According to google help, if after 24 hours still no data is showing, there is probably something wrong. It's been over 48 now I think.

The phrases might be dissimilar, as I get them all in dutch.
#21.1 Virtox on 2010-09-19 17:45 (Reply)
The English phrases are :

"Tracking installed" for the clock symbol
"Receving data" for the green v
#21.1.1 Anonymous on 2010-09-19 17:50 (Reply)
Thanks, yes, the tracking URL is correct (with my shop URL). All is as it should be as far as I can see, but for 12hrs I have only got the Yellow Triangle and "Tracking Unknown" .

#21.1.2 Glenn Slingsby on 2010-09-19 17:52 (Reply)
That's weird, at first I had things filled out wrong, and later corrected them.
On the overview page:
should show something like this in *bold*: UA-18613312-1
and below that a description (which defaults to the url)

To the far right should be a link "edit"
On that page with the url:
Website-url should be the shop link.
On that page to top right is also a link "refresh status, perhaps try that.
Going to
# Anonymous on 2010-09-20 06:59 (Reply)
Thanks very much -anonymous- I did check all of the above and what worked for me was the advice to hit the Refresh Status link - although it's actually CHECK Status. Once I did this I now have a clock symbol saying Tracking Installed... Hopefully just need to wait now.

# Glenn Slingsby on 2010-09-20 14:56 (Reply)
My code is showing as :

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-18573897-2']);
_gaq.push(['_setDomainName'], '');

At least it got me past the triangle ;-)
#21.2 Virtox on 2010-09-19 17:48 (Reply)
And mine reads

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-18613312-1']);
_gaq.push(['_setDomainName'], '');

...but NOT past the triangle!
#21.2.1 Glenn Slingsby on 2010-09-19 17:57 (Reply)
here it's still gathering information,,, so no information yet
#22 Mitchell Jetten on 2010-09-19 17:35 (Reply)
And did you do anything different to the tutorial? Or are you like me - one of the few who jumped in and set this up with the wrong tutorial info first posted?
#22.1 Glenn Slingsby on 2010-09-19 18:00 (Reply)
Hi I've had the clock symbol in the status column for over 24hrs it tells me that tracking is installed.
#23 Vijay Paul (Homepage) on 2010-09-20 07:26 (Reply)
We are looking into why the tracking is not working. I will let you guys know when we have results to share.
#24 Robert on 2010-09-20 09:03 (Reply)
Any news on why this is not working?... I did get my Etsy store Analytic running following my example in Post #28

#24.1 Glenn Slingsby on 2010-09-22 16:30 (Reply)
Not yet. We are working on it. Please hang on we will get it fixed. I will post a message this blog post to notify everyone.
#24.1.1 Robert Schouwenburg on 2010-09-22 20:26 (Reply)
This is great news, thanks!
#25 Sandy Noble (Homepage) on 2010-09-20 10:01 (Reply)
See post #21 above and my response to it to get rid of the Yellow Triangle now replaced with a Clock saying Tracking Installed.

#26 Glenn Slingsby on 2010-09-20 14:58 (Reply)
NOT working for me.... :-(

It has been set up almost 3 days now but not data receiving... :-(
#27 DF on 2010-09-20 15:28 (Reply)
Okay, maybe this will help. I actually think Shapeways had the tutorial right the first time. If you go to and see their instructions for setting up Analytics you see this:

•When asked for your Website's URL enter Etsy's URL (
•When asked for your Account Name enter your Etsy shop website address (

Notice this is different to the instructions from Shapeways in step 2.4 where we are told to put our SHOP URL into the 'Website URL' field - Not so. Etsy has you simply putting and THEN in the ACCOUNT name field you put your SHOP URL...
#28 Glenn Slingsby on 2010-09-20 16:31 (Reply)
"Account name" is just the name of your analytics account..
And that is purely cosmetic. As is profile name.

You can use one analytics account to track multiple website profiles, so that is unrelated to the tracking url.

Technically things should be fine after it has detected that the tracking is installed.

Perhaps it's a "rights" setting somewhere ? Because of the overlap of tracking id's?
Shapeways might need to "allow" other people to track on their website?
Or "share" (sub)-statistics or something.

But I'm sure it will be resolved soon enough.
#28.1 Anonymous on 2010-09-22 21:22 (Reply)
I just noticed, I got an actual green V!
I have no seen any data yet, but probably not too long now!
#29 Virtox on 2010-09-23 20:11 (Reply)
I too have a green tick
#30 Vijay Paul (Homepage) on 2010-09-23 20:47 (Reply)
Yay, I finally have a green check mark also... Not showing anything yet but supposedly receiving data.

#31 Glenn Slingsby on 2010-09-23 21:10 (Reply)
Yes, we did a small update today. I see now visits in my test shop. I hope you see data coming too.
#32 Robert Schouwenburg on 2010-09-23 22:15 (Reply)
Yay! I got data too ! :-)
Excellent work guys!
#32.1 Virtox on 2010-09-23 22:27 (Reply)
I'm getting stats, thanks
#33 Vijay Paul (Homepage) on 2010-09-24 11:56 (Reply)
Worked for me too! :-)
I had checked the e-commerse website tracking checkbox as well.
#34 DF on 2010-09-25 17:51 (Reply)
Yes, finally working too. Respectable number of hits, too.

#35 Glenn Slingsby on 2010-09-26 04:00 (Reply)

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.

The Shapeways Blog: 3D Printing News & Innovation

Learn More »