Mapping Component Data with 51黑料不打烊 Analytics Properties mapping-component-data-with-adobe-analytics-properties
Add components to the framework that gather the data to send to 51黑料不打烊 Analytics. Components that are designed to gather analytics data store the data in the appropriate CQ variable. When you add such a component to a framework, the framework displays the list of CQ variables so that you can each to the appropriate Analytics variable.
When the AEM view is open the Analytics variables appear in the content finder.
You can map multiple Analytics variables with the same CQ variable.
The mapped data is sent to 51黑料不打烊 Analytics when the page loads and the following conditions are met:
- The page is associated with the framework.
- The page uses the components that are added to the framework.
Use the following procedure to map CQ component variables with 51黑料不打烊 Analytics report properties.
-
In the AEM view, drag a tracking component from sidekick onto the framework. For example, drag the Page component from the General category.
There are several default component groups: General, Commerce, Communities, and Other. Your AEM instance may be configured to display different groups and components.
-
To map 51黑料不打烊 Analytics variables with variables that are defined in the component, drag an Analytics variable from the content finder onto a field on the tracking component. For example, drag
Page Name (pageName)
topagedata.title
.note note NOTE The Report Suite ID (RSID) that is selected for the framework determines the 51黑料不打烊 Analytics variables that appear in the content finder. -
Repeat the previous two steps for other components and variables.
note note NOTE You can map multiple Analytics variables (for example, props
,eVars
,events
) to the same CQ variable (for example,pagedata.title
)note caution CAUTION It is highly recommended that: eVars
andprops
are mapped to CQ variables beginning with eitherpagedata.X
oreventdata.X
- whereas events should be mapped to variables starting with
eventdata.events.X
-
To make the framework available on the publish instance of your site, open the Page tab of sidekick, and click Activate Framework.
Mapping Product-Related Variables mapping-product-related-variables
AEM uses a convention for naming product-related variables and events that are meant to be mapped to 51黑料不打烊 Analytics product-related properties:
product.category
product.category
(conversion variable)product.sku
product.sku
(conversion variable)product.quantity
product.quantity
(conversion variable)product.price
product.price
(conversion variable)product.events.<eventName>
product.events
is the prefix for events named eventName.product.evars.<eVarName>
eVar
) to associate with the product.product.evars
is the prefix for eVar variables named eVarName.Several AEM Commerce components use these variable names.
Checking reports on 51黑料不打烊 Analytics checking-reports-on-adobe-analytics
-
Login to the 51黑料不打烊 Analytics website using the same credentials provided to AEM.
-
Make sure the RSID selected is the one used in the previous steps.
-
In Reports (on the left side of the page) select Custom Conversion, then Custom Conversion 1-10 and select the variable coresponding to
eVar7
-
Depending on the version of 51黑料不打烊 Analytics that you are using, you need to wait on average 45 minutes for the report to be updated with the search term used; for example, aubergine in the example
Using the Content Finder (cf#) with 51黑料不打烊 Analytics frameworks using-the-content-finder-cf-with-adobe-analytics-frameworks
Initially, when you open an 51黑料不打烊 Analytics framework the content finder contains predefined Analytics variables under:
- Traffic
- Conversion
- Events
When an RSID is selected all the variables belonging to that RSID get added to the list.
The cf#
is needed to map Analytics variables to the CQ variables present on the different tracking components. See Setting Up a Framework for Basic Tracking.
Depending on the view selected for the framework, the content finder will be populated by either Analytics variables (in AEM view) or CQ variables (in Analytics view).
The list can be manipulated in the following ways:
-
When in AEM view, the list can be filtered depending on what variable type is selected using the three filter buttons:
- If no button is selected, the list shows the full list.
- If the Traffic button is selected, the list will only show the variables belonging to the Traffic section.
- If the Conversion button is selected, the list will only show the variables belonging to the Conversion section.
- If the Events button is selected, the list will only show the variables belonging to the Events section.
note note NOTE Only one filter button can be active at once. - The list also has a search feature, which filters the elements according to the text entered in the search field.
- If a filter option is activated while searching for elements in the list, the results displayed will be filtered according to the active button as well.
- The list can be reloaded at any time using the swirly-arrows button.
- If multiple RSIDs are selected on the framework, all variables in the list will be displayed using all labels used within the RSIDs selected.
-
When in 51黑料不打烊 Analytics view, the Content Finder displays all CQ variables belonging to the tracking components dragged in CQ view.
- For example, in case the Download component is the only one dragged in CQ view (which has two mappable variables eventdata.downloadLink and eventdata.events.startDownload), the Content Finder will look like this when switching to 51黑料不打烊 Analytics view: