How to install the Script & Style tags on BigCommerce?

  1. Login to your Akin2 portal.
  2. In the Settings tab of your Akin2 account, locate both the Script and Style tags.
  3. Using the red copy icon in each field, we recommend copying and pasting these into a separate notepad or text file for use on the next few steps

    1. Please Note: With the script tag that we provide, if "%search_term%" is present replace it with "{{product.title}}"
  4. Login to the backend of your BigCommerce account

  5. In the BigCommerce Admin, in the left navigation click on Storefront to access the Themes section

  6. Click Themes

  7. Click on Edit Theme Files under the Advanced tab within your Current Theme window

    1. Note: If you do not see a link called Edit Theme Files, please scroll to the bottom of this page for Important Note.
  8. You will now be within the Stencil File Editor. Navigate to Templates on the left-hand side and expand the drop down.
  9. Expand the Components section by clicking on it.
  10. Expand the Products section by clicking on it.
  11. Scroll down and click on product-view.html

    1. Note: If you do not see a page called product-view.html, you may have more of a custom theme. The page you are looking for is your products landing page. Once you are able to view that page please continue with the steps.
  12. At the very top of product-view.html, on line one hit enter and this will create a new line pushing the code down.
  13. On line one, please copy and paste the code from that notepad file.

  14. On the bottom right of that page, click “Save & apply file”
    1. Note: You may be asked to choose the color of your theme. Please select the appropriate color.
  15. Click Apply

IMPORTANT NOTE: If the BigCommerce store you are working on has only the base version of any theme installed, there won't be "edit theme files" button. You will need need to make a copy. This is shown in these directions here - https://support.bigcommerce.com/s/article/Stencil-Themes?language=en_US#edit

For BigCommerce follow these steps (for the most basic setup, the script should be placed at the top of your product template):

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us