Skip to main content

Code Snippets

Insert custom codes and third-party scripts to enhance your Storefront

Updated this week

Code snippets allow you to do some advanced customization to your storefront. It's also where you may set up a few third-party marketing scripts that we don't have integrations for.

NOTE: The Code Snippets feature is available for the Uscreen Plus plan. If you're not currently on Uscreen Plus, please get in touch with sales@uscreen.tv to upgrade.


Access the Code Snippets

Click Website.

Navigate to the Advanced tab. Scroll down and select Head Code.


Specifications of the Code Snippets

The Code Snippets consist of three sections.

Common pages (CSS)

  • Supports only CSS

  • Applies to Common Pages

  • Ideal for applying custom styles to common pages

Head Code

  • Supports HTML, CSS inside <style> tag, JavaScript inside <script> tag

  • Applies to the whole site, and the inserted codes will appear in the <head> section

  • Ideal for inserting 3rd-party code snippets or scripts

Purchase Code

  • Supports HTML, CSS inside <style> tag, JavaScript inside <script> tag

  • Applies to the Checkout page

  • Ideal for inserting 3rd-party scripts for tracking purchase events

NOTE: The Code Snippets will not have any effect on native apps. To learn more about native app customization, please check this help guide.


Backup your Snippets

We strongly recommend that you regularly keep a backup of your Code Snippets. This can be done by simply copying the content of the Code Snippets into any text editor. That way, you may paste back the backup into the Code Snippets section any time you require.

WARNING: If you are unfamiliar with codes such as CSS or JavaScript, we recommend consulting a developer for assistance.

Did this answer your question?