More than 800+ satisfied clients and counting, since 2010

Blog

How to Add Custom Codes in Your Magento Stores

Add Custom Codes in Your Magento StoresAt times to improve the productivity of Magento websites, third party web services are required. Services like Alexa, Google Analytics and others require Java script code snippets to gather data about the eCommerce websites. For this purpose, store managers need to add custom codes in Magento stores. They can either add the code snippets in the header (inside the head HTML tag, i.e. head) or footer (below the closing body tag, i.e. /body).

Steps to Add Custom Codes in Magento Header

  • Log in to your Magento store backend after entering the correct credentials
  • From the Admin Panel, select System > Configuration
  • From the Design tab, go to the Miscellaneous Scripts text area under HTML head
  • Inside the Miscellaneous Scripts text area, paste the custom script you wish to add
  • Click the Save Config button to save the changes made

Steps to Add Custom Codes in Magento Footer

  • Log in to your Magento store backend after entering the correct credentials
  • From the Admin Panel, select System > Configuration
  •  From the Design tab, go to the Miscellaneous Scripts text area under Footer section
  • Inside the Miscellaneous Scripts text area, paste the custom script you wish to add
  • Click the Save Config button to save the changes made

How to Analyze Whether the Custom Script is Working or Not

  • Clear the browser cookies before re-accessing your web store
  • Go to your stores front end and check whether the script runs or not by loading the page
  • You can also see the script in the page’s source code by pressing the keyboard shortcut Ctrl + U

You are still unable to access whether the copied custom script is running in your store’s front end or not? Then follow the above steps once again carefully. You may even Request a Quote with us. Our Magento team of experts will help you in adding the custom code snippet in your Magento website.

Written by

The author didnt add any Information to his profile yet