Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > RocketCake
Statcounter and Java

russv
Registered User
Quote
2024-04-04 23:33:13

Hi,

I am looking at using Statcounter with my website. Their instructions are below with an example. Some site unique code has to be added to every webpage before /body. Is the Toolset Java Code option suitable for this, or will I have to add it manually using an editor?

Thanks

Paste your Statcounter code directly before the closing tag at the bottom of the file

<!-- StatCounter Code -->
<script type=”text/javascript”>
[...]
</script>
</body>
</html>



micaelo
Registered User
Quote
2024-04-05 01:19:48

Some site unique code has to be added to every webpage before /body. Is the Toolset Java Code option suitable for this ...?
Yes. Put it at the very end of the page(s). Double-click the JavaScript element and insert your code without the opening and closing tags, i.e. without <script> and </script>. In its properties, uncheck "CreateDivAroundCode".


russv
Registered User
Quote
2024-04-05 21:41:14

Great, thank you.


erik
Registered User
Quote
2024-04-06 05:40:47

BTW, it should be "JavaScript" not "Java"


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Interna?ional" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact