Skip to main content

product_analytics_mappings

Creates, updates, deletes, gets or lists a product_analytics_mappings resource.

Overview

Nameproduct_analytics_mappings
TypeResource
Iddatadog.digital_experience.product_analytics_mappings

Fields

The following fields are returned by SELECT queries:

Successful response with entity mapping configuration

NameDatatypeDescription
idstringUnique identifier for the get mapping response resource.
attributesobjectAttributes of the get mapping response, containing the list of configured entity attributes.
typestringGet mappings response resource type. (get_mappings_response) (default: get_mappings_response, example: get_mappings_response)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_mappingselectentityGet entity mapping configuration including all available attributes and their properties

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
entitystringThe entity for which to get the mapping
sitestringThe Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both.

SELECT examples

Get entity mapping configuration including all available attributes and their properties

SELECT
id,
attributes,
type
FROM datadog.digital_experience.product_analytics_mappings
WHERE entity = '{{ entity }}' -- required
;