To connect your X-Cart store to Kissmetrics via a custom JS tool, follow the steps below:

1. In your X-Cart store's Admin area, go to Look and Feel > Custom JavaScript. A page like the following will be opened.

2. Make sure the “Use Custom JS” selector above the text area is enabled.

3. In a new browser tab or window, go to the Settings page in your Kissmetrics account and copy the tracking snippet for pasting onto your site. Go back to the tab/window with your X-Cart store's Admin area and paste the JS code you have copied into the text area for custom JS code. Be sure to remove the script tags () wrapping this JS code, as X-Cart adds such tags automatically in the background.

More information about adding custom JS code to X-Cart is available in the article Adding JS Code to the Site.

4. Save the changes by clicking the Save changes button.

5. To make sure the tracking snippet you have just pasted works fine, verify that it can log your own activity in the store in Kissmetrics Live mode. Select the “My Activity” tab on the left-hand side menu and use the field provided there to paste the URL of your X-Cart store; click Show my activity, and your site will open in a new browser window allowing you to track your own activity. Do a few things your store visitors typically do on your site: try to find a product, add it to the shopping cart, place an order, rate a product, and so on. If you can see all your actions tracked in Kissmetrics, you’re all set!

Did this answer your question?