1. Home
  2. Integration & Setup
  3. Tracking Code & SDKs
  4. Tracking Code Integration
  5. Tips and Tricks

Tips and Tricks

Integrating Tracking Code into CMS and Shop Systems

The etracker tracking code is designed in such a way that it can be inserted easily into any content management or shop system which plans to have a separate layout (template) to the actual content. You only need to insert the code once into the template, which all pages use, and immediately it is available to all pages of the website which were generated using the template. In the content management and shop systems, upgradeable meta-attributes are usually available which describe the website in greater detail. These kinds of meta-attributes can be referenced using variables of the system within templates. Typical meta-attributes are the page title or the area to which a page is assigned. These and additional etracker parameters can be replaced in this way in the template by the actual values of the meta attributes.

Example: The page designation is provided in the content management under the variables [pageTitle] in the template. The respective area of the page is made accessible under [areaName]. With the manual code generation the respective variables [pageName] and [areaName] are then inserted for the fields ‘Page name’ and ‘Areas’. You can insert the generated etracker code directly into the template. All of the websites based on this template contain the correct code automatically.

Note: The content management system must be encoded according to the URL encoding standard upon transferring the variable values. Ideally, all parameters of the parameter segment should be set by meta-attributes of the content management system. This enables the full control and adaptation of etracker directly from the content management system.