Setup a website
Updated at 1706521643000Settings > List
.Variables
Variable Name | Setting Name | Description | |
---|---|---|---|
1 | pageTitle | Page title. | |
2 | pageTitleSeparator | web_page_title_separator Type: string | Separator between the page title and the general website title. |
3 | siteTitle | web_site_title Type: string | General website title. For example, if pageTitle is Hello, pageTitleSeparator is -, and siteTitle is World, the browser tab will display Hello - World. If siteTitle is empty or null, the pageTitle will be displayed. |
4 | siteIconUrl | web_site_icon_url Type: Image |
The icon displayed on the browser tab. It is recommended to convert the image to a favicon format using a tool like favicon.io/favicon-converter and then use the generated image. Also, ensure that the |
5 | pageCharset | ||
6 | pageContentType | ||
7 | pageDescription | ||
8 | pageViewPort | ||
9 | siteLocale | ||
10 | pageUrl | ||
11 | siteName | ||
12 | sitePublisher | ||
13 | pageKeywords | ||
14 | pageImageUrl | web_site_image_url Type: Image | Image displayed when sharing the page. |
15 | additionalHeads | web_additional_head Type: string | |
16 | additionalStyleFiles | web_additional_style_files Type: array | |
17 | additionalStyles | web_additional_style Type: string | |
18 | additionalScriptFiles | web_additional_script_files Type: array | |
19 | additionalScripts | web_additional_script Type: string | |
20 | additionalFoots | web_additional_foot Type: string |
Installing Google Analytics
To obtain the GA-ID, you need to access https://analytics.google.com/, then navigate to your project, select settings, go to Data Streams, and find the web stream to copy the GA-ID.
Next, you need to access the admin and add the following settings to web_additional_foot
:
<script async src="https://www.googletagmanager.com/gtag/js?id=G-S460C1BVES"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-S460C1BVES'); </script>
Next step, you can take a look Setup multiple language for web.