Skip to main content
All CollectionsIntegrations
Customized integrations
Customized integrations

Add your own unique touch to your Vev site with our customization integration.

Diego Muralles avatar
Written by Diego Muralles
Updated over a month ago

Custom HTML snippets

We offer an integration Custom HTML Snippets to empower you with the capability to inject your code directly into your webpage within Vev's platform. This integration proves especially valuable when you find that certain elements are missing in Vev, like the ability to add tracking codes to the head section of your webpage, especially if your preferred tracking platform is not listed.

Requirements

For optimal webpage performance, it is essential to carefully choose the injection point of your custom HTML snippet. You have four placement options:

  1. Start of Head: Placing your custom HTML snippet at the beginning of the <head> the section ensures that it loads early in the page rendering process. This is particularly beneficial for crucial scripts or stylesheets that need to be applied before other content is rendered.

  2. End of Head: Injecting your custom HTML snippet at the end of the <head> section allows it to load after essential resources have been loaded. This can be useful for supplementary scripts or stylesheets that don't require immediate loading.

  3. Start of Body: Adding your custom HTML snippet at the beginning of the <body> section ensures that it loads before other content in the body, potentially improving the overall perceived loading speed of your webpage.

  4. End of Body: Placing your custom HTML snippet at the end of the <body> section allows it to load after all other content in the body has been rendered. This can be helpful for non-essential scripts or content that won't impact the initial page load.

Considering the significance of webpage performance, it is recommended to choose the most appropriate injection point based on its importance and relevance to the overall webpage functionality.

Custom scripts

Custom Scripts can be used to inject external JavaScript files into the <head> and <body> sections of an HTML document. The actual data to be injected into the template will be provided at runtime, resulting in a complete HTML document with the necessary scripts included.

The async and defer attributes can be used to control how the JavaScript files are loaded, which can affect the performance of the webpage.

Requirements

  • Paste the script URL into the form field provided. Double-check for any typos or errors in the URL to ensure smooth execution. The URL should point directly to the script file hosted on a server or a Content Delivery Network (CDN).

  • Async: When you toggle the async attribute on, the browser will load the script asynchronously, which means that it can start loading other resources while the file is still being downloaded. This can improve the performance of the webpage by preventing the browser from being blocked while the script is loading.

  • Defer: When you toggle the defer attribute on, the browser will load the script deferred, which means that it will not be executed until all other resources have been loaded. This can be useful for scripts that need to access the DOM, as it ensures that the DOM is fully loaded before the script is executed.

In general, the async attribute is a good choice for scripts that do not need to access the DOM, while the defer attribute is a good choice for scripts that do need to access the DOM.

Favicon

A favicon is a petite icon that represents a website, web page, or web application. It is prominently displayed in browser tabs and the bookmarks bar, providing users with a visual reference for the site.

Beyond its visual appeal, the favicon plays a role in enhancing search engine optimization (SEO) indirectly, contributing to improved visibility in search results. Moreover, it serves as a vital tool for building brand recognition and instilling trust among users, as the familiar icon becomes synonymous with your brand's identity.

Requirements

Sizes: The "sizes" property specifies the dimensions of the icon and its aspect ratio, which helps devices choose the most appropriate icon size.

Relationship: The "rel" property typically specifies the relationship between the current document and the linked resource. For icon links, "rel" is often set to "icon," "shortcut icon," "apple-touch-icon," or similar values, depending on the type of icon being used.

URL: The "URL" property contains the URL or path to the actual icon file.

Best practice for Favicons

If you encounter difficulties adding your favicons using the current settings, don't worry. Follow these steps to easily upload your favicon:

  1. Go to your hosting settings page in Vev. You can access it by clicking on your username in the bottom left corner, then selecting "Hosting," and finally searching for and choosing your hosting option.

  2. On the Hosting Settings page, scroll down to the Favicon section.

  3. Simply upload your favicon using the provided option.

  4. Once uploaded, the form fields will be automatically generated with the new favicon, ensuring smooth integration.

Automatically set values once uploading from Hosting Settings:

Mobile Browser Color

By using this integration, you can customize the appearance of the browser interface on different platforms to match the theme of your website or web application. This can create a more cohesive and visually appealing experience for users across various devices. Only applicable for iOS Safari and Android.

Requirements

  • "#RRGGBB": A 6-digit hexadecimal representation of the RGB color, where RR is the red component, GG is the green component, and BB is the blue component. For example, "#FF0000" represents red, "#00FF00" represents green, and "#0000FF" represents blue.

  • "#RGB": A 3-digit hexadecimal representation of the RGB color, where R, G, and B represent the red, green, and blue components, respectively. For example, "#F00" represents red, "#0F0" represents green, and "#00F" represents blue.

  • "color_name": Instead of using hexadecimal values, some browsers also recognize color names, such as "red," "green," "blue," "white," "black," and more.

Did this answer your question?