Here are some counters I have found that work with Google Sites
Some counters will not appear if you have an ad blocker in use.


It is also in the sidebar.
web analytics

I created a gadget.

Go to This one gives some stats that you can view.  See their Instructions for Google Sites.

You can't install the entire code in the sidebar but you can put the image there. It will show the count but it will not be clickable like in the main part of the page.

Copy the code in red from your install code:
<a title="shopify analytics tool"
href="" target="_blank"><img
alt="shopify analytics tool" style="border:none;"></a>

Add a textbox to your sidebar, click insert, select image and use the image URL you copied.