> For the complete documentation index, see [llms.txt](https://docs.ipaper.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ipaper.io/flipbook-analytics/event-tracking-by-adobe-analytics.md).

# Adobe Analytics events

How event tracking works on your flipbook when you add Adobe Analytics integration.

## Adding Adobe Analytics integration

Adobe Analytics Integration can be enabled by copying the [launch embed code](https://docs.adobe.com/content/help/en/core-services-learn/implementing-in-websites-with-launch/configure-launch/launch-add-embed.html) and pasting in into your flipbook integration settings.

## Events

All events are tracked according to the [launch object reference published by Adobe Analytics](https://docs.adobe.com/content/help/en/launch/using/reference/client-side-info/launch-object-reference.html).

```javascript
window._satellite.track(identifier, detail);
```

### Overview

<table><thead><tr><th>Identifier</th><th>Detail</th><th>Comment</th></tr></thead><tbody><tr><td>External Link Click</td><td><pre class="language-javascript"><code class="lang-javascript">{
  HoverText: [LINK_HOVER_TEXT],
  Url: [EXTERNAL_URL],
  Page: [PAGE_NUMBER]
}
</code></pre></td><td></td></tr><tr><td>Open Display</td><td><pre class="language-javascript"><code class="lang-javascript">{
   Guid: [DISPLAY_GUID],
   Page: [PAGE_NUMBER]
}
</code></pre></td><td></td></tr><tr><td>Load</td><td><pre class="language-javascript"><code class="lang-javascript">{
  Url: [FLIPBOOK_URL]
}
</code></pre></td><td>Flipbook URL is simply read from <code>window.location.href</code></td></tr><tr><td>PDF Download</td><td><code>{}</code></td><td></td></tr><tr><td>Popup Image Click</td><td><pre class="language-javascript"><code class="lang-javascript">{
  HoverText: [LINK_HOVER_TEXT],
  Url: [IMAGE_URL],
  Page: [PAGE_NUMBER]
}
</code></pre></td><td></td></tr><tr><td>Popup Image Gallery Click</td><td><pre class="language-javascript"><code class="lang-javascript">{
  HoverText: [LINK_HOVER_TEXT],
  Page: [PAGE_NUMBER]
}
</code></pre></td><td></td></tr><tr><td>Popup Media Gallery Click</td><td><pre class="language-javascript"><code class="lang-javascript">{
  HoverText: [LINK_HOVER_TEXT],
  Page: [PAGE_NUMBER]
}
</code></pre></td><td></td></tr><tr><td>Popup Content Click</td><td><pre class="language-javascript"><code class="lang-javascript">{
  HoverText: [LINK_HOVER_TEXT],
  Page: [PAGE_NUMBER]
}
</code></pre></td><td></td></tr><tr><td>Popup Frame Click</td><td><pre class="language-javascript"><code class="lang-javascript">{
  HoverText: [LINK_HOVER_TEXT],
  Url: [FRAME_URL],
  Page: [PAGE_NUMBER]
}
</code></pre></td><td></td></tr><tr><td>Product Added to Basket</td><td><pre class="language-javascript"><code class="lang-javascript">{
  Id: [PRODUCT_ID],
  Name: [PRODUCT_NAME],
  Page: [PAGE_NUMBER]
}
</code></pre></td><td></td></tr><tr><td>News ticker External Link Click</td><td><pre class="language-javascript"><code class="lang-javascript">{
  Url: [EXTERNAL_URL]
}
</code></pre></td><td></td></tr><tr><td>Search</td><td><pre class="language-javascript"><code class="lang-javascript">{
  Term: [SEARCH_TERM]
}
</code></pre></td><td></td></tr><tr><td>Shop Checkout</td><td><pre class="language-javascript"><code class="lang-javascript">{
  NumberOfProducts: [NO_OF_PRODUCT_IN_CART],
  CheckoutType: [CHECKOUT_TYPE],
  BasketValue: [TOTAL_BASKET_VALUE]
}
</code></pre></td><td>Possible <code>CheckoutType</code> values are <code>Email</code>, <code>ShareEmail</code>, <code>Checkout</code>, or <code>Print</code>.</td></tr><tr><td>Video Play</td><td><pre class="language-javascript"><code class="lang-javascript">{
  Url: [VIDEO_URL],
  VideoType: [VIDEO_TYPE],
  Page: [PAGE_NUMBER]
}
</code></pre></td><td><strong>Only the first play is registered.</strong> Possible <code>VideoType</code> values are <code>Video</code>, <code>YouTube</code>, or <code>Vimeo</code>.</td></tr><tr><td>Amount Selector Modal Open</td><td><pre class="language-javascript"><code class="lang-javascript">{
  Id: [PRODUCT_ID],
  Page: [PAGE_NUMBER]
}
</code></pre></td><td></td></tr><tr><td>Products on Page Modal Open</td><td><pre class="language-javascript"><code class="lang-javascript">{
  Page: [PAGE_NUMBER]
}
</code></pre></td><td></td></tr><tr><td>Shop Detail Item Modal Open</td><td><pre class="language-javascript"><code class="lang-javascript">{
  Id: [PRODUCT_ID],
  Page: [PAGE_NUMBER]
}
</code></pre></td><td></td></tr><tr><td>Shop Multivariant Modal Open</td><td><pre class="language-javascript"><code class="lang-javascript">{
  Page: [PAGE_NUMBER]
}
</code></pre></td><td></td></tr></tbody></table>

{% hint style="info" %}
**Note:**

The values in `[]` will be replaced with context specific value before sending the event.
{% endhint %}

### Example

For example, when somebody searches for “Cute puppies” in your flipbook, we will track it as such via the “Search” event:

```javascript
window._satellite.track('Search', {
	'Term': 'Cute puppies'
});
```

## Page views

Pageviews are tracked as a separate event by its own:

```javascript
window._satellite.track('pageview', {
	page: [PAGE_URL],
	title: [PAGE_TITLE]
})
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ipaper.io/flipbook-analytics/event-tracking-by-adobe-analytics.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
