Code Snippets

Code Snippets

This feature enables you to insert third-party widgets and script into your website. This feature allows you to track scripts that go into the header or footer.

Note: You cannot preview these code snippets due to security vulnerabilities. You'll have to publish your site to view it.

Your Code Snippet can be a tracker code, embed code, or plugin code.

 

1. Go to Site Settings > Code Snippets under Content.


2. Click Add Snippet.







3. Enter the Code Name and Paste Your Code.
4. Click OK.
    • Related Articles

    • Header and Footer Code

      This feature enables you to change the Header and Footer Code for Google Analytics, Snippets, and Translator widgets from third party providers. These codes are provisions for users to include any code in their website. For example, the code can be a ...
    • How can we get customized requests fulfilled for our store?

      Code snippets are an option to include customized messages. You can contact support@zohocommerce.com to get the available code snippets. Our engineers can also tweak some of the existing code to suit your requirements.
    • Is there a way to add a pop-up for getting customers to subscribe to the brand's emails?

      We can add pop-up to any store using a code snippet. Kindly contact the team at support@zohocommerce.com to gain access to these code snippets.
    • Custom CSS Editor

      Custom CSS Editor allows you to enter CSS scripts directly into the product. Any changes that you require can be added as code snippets or full CSS scripts within the editor itself.  Go to Settings > Custom CSS Editor under Customize. 1. Open Custom ...
    • Google Tag Manager

      The Google Tag Manager allows you to manage tags or snippets of JavaScript that are on your website.   To access and add Google Tag Manager: Log in to your Google Tag Manager account. Create an account. Enter an Account Name and select a Country. ...