Skip to main content

Description

This analysis demonstrates how to filter marketing touchpoints from the Log Level MTA dataset in order to apply custom attribution logic. For example, you may want to exclude marketing touchpoints that occur outside a defined attribution window (e.g., more than 30 days before a conversion). After filtering the dataset, attribution credit for conversions must be recalculated across the remaining touchpoints. The query performs two main steps:
  1. Filter marketing touchpoints from the log-level MTA dataset based on custom attribution rules.
  2. Reinsert conversion records for cases where all marketing touchpoints were removed by the filter, ensuring conversions remain represented in the output dataset.
The result is a customized log-level attribution dataset that reflects your adjusted attribution logic.

When to Use This Analysis

  • Apply a custom attribution window to marketing touchpoints.
  • Remove interactions that occur outside a defined attribution period.
  • Recalculate attribution weights after filtering certain touchpoints.
  • Create a modified log-level attribution dataset aligned with internal measurement rules.

Source Data

This analysis uses fields from the Log Level MTA dataset.

Key Metrics


Example 1: Apply Standard Attribution Window Across All Channels

This query filters marketing touchpoints that occur more than 30 days before a conversion and recalculates attribution credit across the remaining touchpoints.

Example 2: Apply a Variable Attribution Window by Channel

Note: This example assumes channels are defined using tier_1 and tier_2. Depending on your taxonomy, you may also need to define lookback windows at the tier_3 level. If a channel is not included in the lookup table, the query applies a very long fallback window so those touchpoints remain included.