Help With a Script

Hello WixCode Community,

I have a client who wants to include a website visit counter widget from a specific website. This specific website can provide a code to display the widget in any website. But I can’t add it using the Wix’s HTML iframe (or maybe I’m doing something wrong :frowning: ).

Can someone guide me or help me to achieve this?

This is the code:

I need to add it to my client wix’s website, within the footer.

I’ll appreciate any kind of help.

Have a great day!

Jose
Creative Services
Helicoid Studio

Hi Jose ,
Try to add - -

before the script tag so your code should look something like this :

<a href="//ra.revolvermaps.com/0/0/1.js?i=0h92pqn5ok2&amp;s=260&amp;m=0&amp;v=true&amp;r=true&amp;b=000000&amp;n=true&amp;c=ff0000" async="async"></a>
<script type="text/javascript" src="//ra.revolvermaps.com/0/0/1.js?i=0h92pqn5ok2&amp;s=260&amp;m=0&amp;v=true&amp;r=true&amp;b=000000&amp;n=true&amp;c=ff0000" async="async">
</script>

Hope this helps!
Best,

Mustafa

Hello Mustafa,

Thank you for your answer!

I managed to make it work by adding “”, “” and “” tags within Wix’s HTML widget. I added the script inside the “body” tag, and it worked! So easy that I feel embarrassed, hehehe.

It ended like this:

<html>
   <head>
   </head>
   <body>
      <script type="text/javascript" src="//ra.revolvermaps.com/0/0/1.js?i=0h92pqn5ok2&amp;s=260&amp;m=0&amp;v=true&amp;r=true&amp;b=000000&amp;n=true&amp;c=ff0000" async="async">
      </script> 
   </body>
</html>

But again, thank you for your help!

Have a great day,

Jose