SEO and Analytics
Last updated
How Deskply presents your site to search engines and AI assistants, and how to add Google Analytics and Google Ads with cookie consent.
Your public address
Set NEXT_PUBLIC_SITE_URL to the address visitors use, in every deployed environment. It is the base of every link that search engines read. Without it they would be told your site lives on localhost.
What is generated
| Address | What it is |
|---|---|
/sitemap.xml | The public pages, for search engines |
/robots.txt | Keeps the panels out of search results and points at the sitemap |
/llms.txt | A plain-text summary of your product for AI assistants, with your current prices |
| Page metadata | A title, a description and a canonical address for every public page, and structured data on the home page |
| Share image | The picture social networks show for a link: the one uploaded under Settings → Branding, or public/og-image.png until then |
Verify your site
To prove ownership to Google Search Console and Bing Webmaster Tools, choose their HTML tag method and put the code of each in its variable. Only the code, not the whole tag.
NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION=...
NEXT_PUBLIC_BING_SITE_VERIFICATION=...Analytics and ads
Both are optional. Nothing is loaded while the two variables are empty.
NEXT_PUBLIC_GA_MEASUREMENT_ID=G-XXXXXXXXXX
NEXT_PUBLIC_GOOGLE_ADS_ID=AW-123456789The site asks every visitor for consent with a cookie banner, and uses Google Consent Mode v2. The analytics tag loads only after a visitor allows analytics cookies, and the ads tag only after they allow advertising cookies. A visitor can change the choice at any time from Cookie Settings in the footer.