> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Kameleoon.API.Tracking

> Reference for the Kameleoon.API.Tracking method that sends Kameleoon results to Adobe Analytics (Omniture).

This module integrates Kameleoon results with third-party tracking and analytics platforms, such as Adobe Analytics (Omniture).

## processOmniture

Kameleoon provides a native integration with Adobe Analytics (Omniture). Follow the example below to modify the file containing the `s_doPlugins()` code. Complete these steps within the function:

* Add a call to `Kameleoon.API.Tracking.processOmniture()`.
* Set the `window.kameleoonOmnitureCallSent` global variable to `true` to track initial call transmission. Although you can set this variable elsewhere, you should set it within `s_doPlugins()`.

The integration minimizes the number of Adobe Analytics hits to help you manage costs. Kameleoon sends an additional hit only if an experiment or personalization triggers after the main tracking call. The additional hit results from asynchronous loading (in which Kameleoon loads after the analytics code) or "late" triggers, such as those that occur after page load, for example button clicks.

If Kameleoon loads first and identifies active experiments at page load, the global tracking call includes all additional data.

```javascript theme={null}
function s_doPlugins(s) {
  /* Kameleoon Integration */
  window.kameleoonQueue = window.kameleoonQueue || [];
  kameleoonQueue.push(['Tracking.processOmniture', s]);
  window.kameleoonOmnitureCallSent = true;

  // Add your other doPlugins code below
}

s.doPlugins = s_doPlugins;
```

**Arguments**

| Name | Type | Description |
| - | - | - |
| omnitureObject | Object | Reference to your Omniture object. Usually, the global "s" variable (**window\.s**) represents the Omniture object. Adobe Analytics also passes it as an argument (named "s" as well) to the `s_doPlugins()` method. This field is mandatory. |
