By morforu
Description
Google analytics urchin.
Code
[[embed]]
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-3145384-1";
urchinTracker();
</script>
[[/embed]]
In action
Thanks to tsangk for this great snippet: conditional-blocks
text above inserted with:
[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]
Other snippets posted by morforu
Rate this solution
If you think this solution is useful — rate it up!
There is a bug in wikidot that has crept in. My old sites where I embedded Google Maps (for instance) work fine. If I try to use the same code on a new site, I can get the old map to work, but any new Google Maps generate the Embed error the others have indicated.
The syntax of the Google maps html hasn't changed so it must (at least that is what I am thinking) be some internal check that wikidot does.
I have the same problem with all embedded programs… I just tried embedding the chat and got the same error.
For some reason I had trouble finding this through help / indexes
Goto yoursite.wikidot.com/admin:manage
Second from bottom on left hand side - 3rd Party Tools
enter your Urchin number UA-xxxxx-x that you got from Google Analytics
I was not able to use the [[embed]] [[\embed]] with the javascript from Google
Has anyone had success using the Google Analytics urchin on their page?
if you go in admin:manage page of your wiki you will find an option where you can use google analytics by simply inserting your code (UA-3145384-1) in the proper field
Hope this help
- Randagio
That gadget is supposed to view statistic from google analytics not to record it. I also tried it but do have the same prob.
I have done all of the above. I now have the phrase and the red line around my page. Is there a counter that works?