DocumentationTarget Developer Guide

Configure data collection

Last update: October 2, 2023
  • Topics:
  • APIs/SDKs

CREATED FOR:

  • Experienced
  • Developer

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.

Data Collection diagram

Click the following links to navigate to the desired sections:

  • 2.1: Configure data mapping
  • 2.2 Link to Entity attributes
  • 2.3 Fire the Adobe Target Track API

2.1: Configure data mapping

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

See details

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.

2.2: Link to entity attributes

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

See details

Readings

  • Entity attributes

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

Fire Adobe Target Track API diagram

Prerequisites

  • All data mapping must have been done using the targetPageParams function.

Readings

  • adobe.target.trackEvent() method

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