Commerce platform

Install Hitsteps on Zen Cart

Track storefront visits by adding Hitsteps to the footer your Zen Cart theme uses.

Before you start

FTP or file manager access
Your active Zen Cart template folder
A backup of the footer template

Install guide

Zen Cart setup

1

Copy the tracking code

Open your Hitsteps site settings and copy the full tracking code, not only the API key.

2

Open the footer template

In Zen Cart admin, go to Tools → Template Selection and note the active template folder. Replace TEMPLATE with that folder name in the path below.

  • If includes/templates/TEMPLATE/common/tpl_footer.php exists, back it up and edit that copy.
  • If the file is missing, copy includes/templates/template_default/common/tpl_footer.php to that path, creating the common folder if needed. Keep the original as your backup.
3

Add the code after the footer markup

In the stock footer, go to the end of the file, after the final }. If PHP is still open, add ?> on its own line. Paste the full tracking code on the next line as HTML.

  • For a custom footer, place the code after the footer markup, outside its PHP blocks and display conditions.
  • If a page uses a different footer or layout, use the template that page actually loads. Include the code once per page, inside the page body.
4

Save and upload

Upload the edited file and clear any template cache. Visit your home, category, and product pages and confirm those visits in Hitsteps.

Good to know

  • The shared footer covers storefront pages that load it. Check any pages with their own footer or layout separately.