LoginLogin  Blog About
Search:

Support » Knowledge Base » Shop-Script » Design setup »

How do I add a web counter to my storefront?

With WebAsyst Shop-Script you can add a web counter to the storefront, e.g EasyCounter, Free-Hit-Counters.com, eFreeCounter.com etc. Before adding a counter, registering an account on its website is usually necessary to obtain the HTML code of the counter. If you already have that code open section "Design -> Design editor" of your store administration account and add the counter using one of the options described below.

Adding a web counter in the "Simple mode (WYSIWYG)"

  1. Open tab "General layout".
  2. Click on link "Custom HTML code" in the right editor panel.
  3. Paste the web counter code into the text area that will appear and click on "Embed in template".
  4. The counter image that appears needs to be dragged and dropped to the necessary location. As a rule, web counters are placed at the page bottom.
  5. Click on "Save template".
If the web counter image does not appear in the editor window when you click on "Embed in template", paste its code again into the "Custom HTML code" text area followed by any text, e.g. counter. Click on "Embed in template" and drag and drop the block with the entered arbitrary text to the location where the web counter should appear in the storefront. Double-click on that block, delete the arbitrary text leaving the web counter code in the text area that will appear, then click on "Apply" and save your changes.

Adding a web counter in the "Advanced mode (HTML)"

  1. Open tab "General layout" in the HTML code editing mode.
  2. Add the web counter code in the appropriate place of the code editing text area, e.g. at its very end.
  3. Click on "Save template".
Tip: If the counter code contains curly brackets { and }, insert it between Smarty tags {literal}...{/literal}:
{literal}
Web counter code
{/literal}