3rd party integrations
...
Purple Tracking
Tracking Configuration

Structure: Individual events and attributes

5min

Individual events and attributes level

At the lowest level, the individual events or attributes are configured. This configuration differs depending on the tracking service, event type or attribute.

At this point, the following questions arise:

(1) Which events and attributes do I need?


(2) Where can I find them?

(3) How is the tracking service specific configuration defined?

(4) Where do I insert the event and attribute configurations?

Document image


Which events and attributes do I need?


Answer: Identify your USE-CASES

The necessary events and attributes can only be identified through formulated USE-CASES.

For further information have a look to Full example: How to configure your events.

Where can I find them?

Answer: Search and select events and/or attributes from our documentation.

Type

Find them at ...

Action events

Action events

View events

View events

Purchase events

Attributes

Attributes

How is the tracking service specific configuration defined?

Answer: Read tracking service specific documentation

Have a look to our integrated Tracking Services and read their technical documentation carefully to configure your desired event or attribute. Your tracking service may already have a sample code for the desired event or attribute within the Tracking Events chapter. This can be copied and further modified.

Where do I insert the event and attribute configurations?

Answer: Insert your events or attributes in the corresponding event type or attributes section.

Have a look to the example below.

Example

Finally, there is a configuration that is as follows in the figure on the right:

Notice In the figure, for simplicity, you only see a comment

// your configured list of xxx

instead of a long list of events or attributes.

For further information have a look to Full example: How to configure your events.



Document image


tracking_config.json

Note that the code example below is not a valid JSON format. The comments are not allowed in JSON.

Example code