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

# EmailTemplateAnalytics

> Analytics for this email template. Each field beneath is a separate read against a different store, with its own arguments and its own scope.

**clickMap** `[\[EmailClickMapEntry!\]](/docs/api-reference/v3/reference/marketing/email-click-map-entry)`

Per-link and per-element click counts for this email template over a date range, sorted by `uniqueCustomerClicks` descending. Respects the store's bot-click filtering setting. Clicks recorded without a block and element id are omitted.

**Requires:** [`marketing_templates_analytics_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-marketing_templates_analytics_read)

**fields**

**Arguments**

**endDate** `[Date!](/docs/api-reference/v3/reference/common/date)` *required*

Last day to report on, inclusive, in the store's timezone. The range may span at most 400 days.

**startDate** `[Date!](/docs/api-reference/v3/reference/common/date)` *required*

First day to report on, inclusive, in the store's timezone. Must be on or before `endDate`, and the range may span at most 400 days.

**Fields**

**blockId** `String!` *required*

Id of the email section (`EmailTemplateSection.id`) containing this element.

**displayName** `String!` *required*

Human-readable label for the element, derived from the template's blocks and schema (for example, `Button: https://example.com` or `Unsubscribe link`).

**elementId** `String!` *required*

Identifier of the clicked link or control within the block.

**interactionType** `[EmailClickMapInteractionType!](/docs/api-reference/v3/reference/marketing/email-click-map-interaction-type)` *required*

Whether the clicked element is a link or an interactive control.

**totalClicks** `Int!` *required*

Total click events recorded for this element in the requested date range.

**uniqueCustomerClicks** `Int!` *required*

Distinct customers who clicked this element in the requested date range (unlike `MessageAnalytics.uniqueClicks`, which counts distinct messages).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.