Create unique page experiences by adding page-specific code to your website.

With CommentSold Website Creator, you can add custom JavaScript code to specific pages on your website without impacting your website as a whole. 

For example, you can add code for a giveaway or discount pop-up that will only appear when users navigate to a specific page (e.g., a featured collection, a blog post, etc.).

  Note: Only Team Members with All Permission access will be able to add and edit custom code for specific pages.

Add Code to a New Page


  1. Select Site Creator in the side menu of your CommentSold dashboard.
  2. Select Pages at the top of the Site Creator.
  3. Select + Add New Page at the bottom of the Site Creator side menu.
  4. Locate and expand the Advanced Settings section of the Add New Page flyout.
  5. Enter code fields provided:
    • Page Header. This section adds code to a page’s <head> tag and is ideal for third-party code.
    • Page Body. This section adds code to a page’s <body> tag and is ideal for code that adds additional functionality to the page (e.g., a pop-up, etc.).
  What about Meta (Facebook) Pixel and Google Analytics code? We have existing integrations with both of these services that offer more robust event tracking. We recommend you use these existing integrations rather than pasting code in the fields mentioned above. Learn more about each integration using the following links: Meta Pixel and Google Analytics.

Add or Edit Code on an Existing Page


  1. Select Site Creator in the side menu of your CommentSold dashboard.
  2. Select Pages at the top of the Site Creator.
  3. Locate the page you wish to edit, then select the three-dot icon on the far right of the page row.
  4. Select Edit from the drop-down list.
  5. Select Page Details at the bottom of the page menu.
  6. Locate and expand the Custom Code & Scripts section.
  7. Make any necessary changes to the Page Header and Page Body fields.
  8. Select Save & Close.
  • Site Creator
  • CMS
  • Code
  • JavaScript
Was this article helpful?
0 out of 0 found this helpful

We're here to help

Reach out to our support team, connect with our community, or ask an expert.