Configure data collection

Follow the steps in the Data Collection diagram to ensure that all necessary tasks needed for data collection are executed in the correct sequence.

TIP
Click the images in this topic to expand to full screen.

The data layer is ready during page load or the data layer change after page load.

If you have already mapped data during the initialize SDK phase, you must execute the steps in this diagram if:

  • Your data layer is augmented in any way on the same page and you want to send that additional data to Target
  • You want to send product-catalog data to Target Recommendations

Collect data diagram

The step numbers in the following illustration correspond to the sections below.

w-600 modal-image
Data Collection diagram

Click the following links to navigate to the desired sections:

2.1: Configure data mapping

This step helps ensure that all the data that must be sent to Adobe Target is set.

See details
img-md
w-400 modal-image
Configure data mapping diagram

Prerequisites

  • Data layer should be ready with all the data that must be sent to Target.

Readings

targetPageParams function

Actions

Use the targetPageParams() function to set all the required data that must be sent to Target.

Return to the diagram at the top of this page.

Link to entity attributes to update the product catalog for Target Recommendations.

See details

Readings

Considerations

  • An alternate way to pass entity attributes is to update the product catalog in the Target UI to use Recommendations product feeds.
  • Passing entity attributes is applicable only on pages where product-catalog data is available in the data layer.
  • Passing the entity.event.detailsOnly=true parameter in any call takes priority.

Return to the diagram at the top of this page.

2.3 Fire the Adobe Target Track API

This step helps ensure that all the data that must be sent to Target is sent.

See details
img-md
w-400 modal-image
Fire Adobe Target Track API diagram

Prerequisites

Readings

Actions

Use adobe.target.trackEvent() method to send all data that must be sent to Target.

Return to the diagram at the top of this page.

Proceed to Step 3: Render experiences

recommendation-more-help
6906415f-169c-422b-89d3-7118e147c4e3