Google Analytics

If you want your site to appear in search results make sure you have not selected Request public search engines to not display my site

You can request how public search engines treat your site.

Note: This option is only available if "Anyone on the web" can view your site.

  1. In Google Sites, open your site.

  2. At the top, next to "Publish," click the Down arrow .

  3. Click Publish settings.

  4. If do you not want your site available in public searches, click Request public search engines to not display my site.

  5. Click Save.

Use Analytics with your site

https://support.google.com/sites/answer/97459

VERIFICATION: If you have not managed to verify your Site using the verification method recommended by the Google support article use this one instead:
https://support.google.com/sites/answer/9068867,
This article uses a different method which is easier.

New Google Sites - Add to Google Search Console

Once you get your site added/verified in the Search Console, you can Ask Google to Recrawl Your Site using the "Use the URL Inspection tool" option. Do not use the sitemap option since New Sites do not use sitemaps.