Open the Instant Site custom-code field
In Ecwid, open Website (or Overview → Manage Instant Site), then open Advanced website settings and the Custom JavaScript code section. The field is available on Venture, Business, and Unlimited plans.
商业
Add Hitsteps to your Ecwid store with a few lines of custom code and watch live storefront visitors, page activity, and heatmaps as shoppers browse.
Custom JavaScript code 安装指南
In Ecwid, open Website (or Overview → Manage Instant Site), then open Advanced website settings and the Custom JavaScript code section. The field is available on Venture, Business, and Unlimited plans.
Copy the full Hitsteps tracking code from Settings → Tracking Code in Hitsteps. Add &spa=1 to the code?code= URL in the loader, keep the script and noscript parts, then paste the result into the field and choose Add Code. The Ecwid storefront loads pages without a full browser reload, and the parameter reports path and query changes as shoppers move between product, category, and cart pages.
Save the change and open your storefront in a private window. Click through to a product page and the cart, then look for your visits in the Hitsteps live dashboard.
Follow-up guides
Use the installer for the host platform instead of pasting code, and keep a single tracker per storefront.
安装后