Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

CUX code is necessary to connect your site and CUX. The code makes sure the CUX database is always up to date and has the relevant pieces of information about visits, clicks, and visitor data. This is the only way to connect your site and CUX. When CUX script is operational on your site, and there's traffic, you can safely assume that all the information you need is available on your CUX dashboard.

Before you start

  • Consider CUX installation using Google Tag Manager. That's the least time-consuming approach. For more information, see Install CUX code with Google Tag Manager.

  • Make sure you can log in to your site using the administrative account.

The CUX code can be installed anywhere on the page. The recommended location for the script installation is before the closing BODY tag. This is just a recommendation. If you can't do this, you can install the code, for example, before the closing HEAD tag.

...

  1. Go to Profile >> Projects and click Show. This takes you to the project summary. You can find the code in a special box. It has a copy link that puts the entire CUX code in the clipboard.

  2. Log in to your site configuration panel. Use your admin credentials so that you can make changes in the site structure.

  3. Find the place where you can modify the site templates.

  4. Copy the tracking code from CUX.

  5. Switch to your site admin panel and paste the code in the HTML template.

    [[TU BYŚMY DALI OBRAZEK Z WORDPRESSA]]
    An example of a CUX code pasted on a WordPress site.

  6. Save the template. If required, publish the changes.

  7. Verify if the code works. See, Checking if the code works

...

CUX code is unique for each of your projects. This means you can't reuse the same code on different sites. We generate the code when you create a new project. If you want to track multiple sites, you need a separate project for each of your sites.To find out more about projects, see Projects.

The code seems not to work?

...