Netaj works on any Salla store. The setup takes about 5 minutes and works whether you have a default theme or a heavily customized one.
Step 1: Add your Salla store as a website in Netaj
From the Netaj dashboard, go to Websites → Add website. Use your storefront domain (e.g. store.salla.sa or your custom domain if you have one). Full guide here.
Step 2: Copy the tracker snippet
You'll see a one-line script tag like:
<script async src="https://api.netaj.io/t/nj_xxxxxxxx.js"></script>Step 3: Paste it into your Salla theme
- Open your Salla dashboard.
- Go to Theme settings → Custom code (or Edit code, depending on your theme).
- Find the Header or <head> injection block.
- Paste the snippet. Save.
If your theme doesn't expose a custom-code block, contact your theme developer or use the global SEO & Analytics section in Salla settings — most themes route that through to <head>.
Step 4: Verify
Open your storefront in a fresh tab. Within 30 seconds, the website status in Netaj flips to Verified. If it doesn't, see the verification troubleshooting guide.
What you get out of the box on Salla
- Pageviews on every storefront page.
- Cart events auto-detected from Salla's cart badge —
add_to_cartfires without extra code. - Click and scroll heatmaps on every page.
- Session recordings if recording is enabled (default: yes).
- Visual editor works on Salla layouts — including the
<salla-*>web components. We never modify them in ways that break data binding.
What needs a small extra step
The __ecom_purchase__ event isn't auto-detected on Salla because order-complete pages vary by theme. Fire it explicitly on the order-complete page:
<script>
window.netaj?.ecommerce?.purchase({
orderId: "{{ order.reference }}",
total: {{ order.total }},
items: {{ order.items_count }},
currency: "SAR"
});
</script>Wrap it in the order-complete template so it only fires on actual purchases.
Next steps
Verified and tracking? Open the visual editor and start your first experiment. The Salla layout works just like any other site — click, edit, save.