Google Site Verification, Google Analytics, Shortcut Icon: where can I paste the code?


(Cristiano Pulone) #1

I would like to enter these codes in RW 7.5.6:

	<meta name="google-site-verification" content="DODgPVgEEZebQk-uF-OkhMwKazA1yfbJ703oND_lo2k" />

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-101871749-4"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-101871749-4');
</script>

<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico">

Where can I paste the codes?
1) In Inspector?
2) In Settings -> Code?

What is the difference?
Thanks,


(Doug Bennett) #2

Inspector is for that page only.

Site settings will be for every page.


(Cristiano Pulone) #3

Thanks @teefers,
but Site Settings alerts me regarding to the PATH of links (./, …/).
In my site all the pages are in a separate directory.


(Doug Bennett) #4

Why aren’t you just using the built-in Favicon (icon) in RapidWeaver?

Just Drag and drop and it does the work for you.


(Cristiano Pulone) #5

If I use the the Built-It favicon system of RW, then I have favicon only for Homepage :thinking:

I just solved the favicon issue:
https://forums.realmacsoftware.com/t/pinned-tab-icon-feature-in-rw-7-4/

Favicon Generator (https://realfavicongenerator.net/) is very powerful and customisable; it creates all the icon suitable: favicon, pinned icon, iOS webclip, Android Chrome icon, Windows metro, classic desktop browsers icon, with a preview interface. It is very easy to use. It export files for the root dir of the domain and a code that must be pasted in HEAD section on the site. It also can check the icons of a site. It works perfectly.


(Cristiano Pulone) #6

Now my question is: can I paste Google codes in Settings -> Code -> Head (or Body…)?