--- title: "Add Code Snippets to a Site" slug: "add-code-snippets-to-a-site" description: "Learn how to effectively add code snippets to your website's head or body elements, whether site-wide or on individual pages." updated: 2026-04-29T16:57:37Z published: 2026-04-29T16:57:37Z canonical: "www.civicplus.help/add-code-snippets-to-a-site" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://www.civicplus.help/llms.txt > Use this file to discover all available pages before exploring further. # Add Code Snippets to a Site You can add a code snippet to three places on your website: - The head or body element of every webpage on the website - The head element on a single webpage - The body element on a single webpage ## Add a Code Snippet to the Head/Body Element of Every Webpage Adding a code snippet to the head or body element of every page of a site must be done by Support. [Submit a Support ticket](/municipal-websites-central/docs/contact-civicplus-support) to request that this be completed for your website. --- ## Add a Code Snippet to the Head Element on a Single Webpage If you want to add a code snippet to the head element of one page, [add it to Page Tags in Version Options](/municipal-websites-central/docs/add-keywords-page-tags). --- ## Add a Code Snippet to the Body Element on a Single Webpage If you want to add a code snippet to the body element of one page, [add it to a Custom HTML (HyperText Markup Language) widget anywhere on the page](/municipal-websites-central/docs/add-html-on-a-page).