the script will probably work if you put it in the JavaScript area (site wide or page depending on what you are after).
Remove the tags RW inserts them for you.
According to this article, it should also work in the Head area (keep the tags).
Thank’s a lot!
I put the script in the Head-area and checking the html-code, RW puts it on the right spot before the “Google Analytics Script”. I used “Ignore Formatting” and it also worked. But I don’t get a cookie when clicking the Link…
Did want to point out that when you set a cookie that way in Javascript, you do need to refresh the page or leave and come back to see the cookie in the browser. The cookie is placed but the browser will not show it.
Hi, thank’s a lot - it’s getting clearer! Working with RapidWeaver 6 I can’t edit the html code. But I’ve two sections where to put the script: first I tried the Head-Section with the effect you described. Now I tried the Javascript-Section but still cant find any cookie. Any idea where to put the script so it works as it should? (There are also sections called CSS and Prefex - but I can’t imagine it’s one of these).