Customer360 Multi Touch Attribution

    by Prajjwal Dubey

    1

    Unify user identities and calculate multi-touch marketing attribution directly in Google BigQuery.

    $10

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Customer360 Multi Touch Attribution

    Example session with this skill installed

    Map my web_events table to the attribution pipeline and generate a channel performance report using First-Touch vs Time-Decay models.

    • Read your context and instructions
    • Compiled the customer360 multi touch

    I have mapped the web_events columns (timestamp, visitor_id, source, and revenue) to the attribution pipeline. I executed the identity stitching logic followed by the multi-touch attribution models.

    Marketing Attribution & RFM Summary

    Marketing ChannelFirst-Touch RevenueTime-Decay RevenueVariance (%)Total Conversions
    Google / CPC$42,500.00$31,200.00-26.5%1,240
    Email / Newsletter$5,200.00$18,900.00+263.4%890
    Organic Search$12,800.00$11,500.00-10.1%450
    Direct / None$8,400.00$10,200.00+21.4%310
    Paid Social$15,600.00$9,800.00-37.1%215

    Customer Segment Breakdown (RFM)

    • Champions: 452 customers (High recency, high frequency, high spend).
    • Loyal Customers: 1,280 customers (Frequent purchasers, moderate spend).
    • At Risk: 890 customers (High spenders who haven't returned recently).
    • New Leads: 2,100 customers (Recent single purchase, low frequency).

    Next steps

    1. Export the final_attribution_summary table to Looker or Tableau for visualization.
    2. Sync the "At Risk" customer segment to your ESP for a re-engagement campaign.
    3. Review the identity_map table to verify stitching accuracy across mobile and web.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Marketing attribution is often broken across silos, leaving teams with disjointed data and inaccurate ROI metrics. This skill unifies fragmented event data in Google BigQuery to deliver clear identity resolution and multi-touch attribution models.

    What it does

    • Identity resolution stitches anonymous IDs to authenticated user IDs to create a single customer view.
    • Multi-touch attribution calculates conversion credit using First-Touch, Last-Touch, Linear, and Time-Decay models.
    • RFM segmentation scores customers based on Recency, Frequency, and Monetary value.
    • Performance analysis compares channel effectiveness across different attribution logic simultaneously.
    • Profile building generates comprehensive Customer 360 tables for downstream activation.

    How it works

    1. Schema mapping identifies existing BigQuery columns for timestamps, user IDs, and traffic sources.
    2. Identity stitching runs SQL to link pre-login sessions with post-purchase user records.
    3. Model execution applies four distinct attribution algorithms to the unified dataset.
    4. RFM calculation aggregates transaction history into segmentable customer profiles.

    Frameworks & tools

    This skill is built for Google BigQuery and requires access to the bq CLI or a SQL execution environment.

    Why this beats prompting it yourself

    Writing identity stitching logic and decaying attribution windows in SQL is error-prone and time-consuming. This skill uses vetted reference implementations to ensure your attribution logic is mathematically sound and handles common edge cases like session timeouts.

    Use cases

    • Optimize ad spend by identifying which channels drive initial awareness versus final conversion.
    • Retain high-value users by targeting "Champions" identified through RFM segmentation.
    • Recover lost sessions by stitching anonymous browsing data to known email profiles.

    Known limitations

    Requires specific event data including session IDs and revenue values. Optimized for Google BigQuery SQL syntax and may require modification for other data warehouses.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    Software
    Google BigQuery

    Permissions

    Terminal / Shell
    Read Files
    Listed5 days ago

    What's inside

    Frequently Asked Questions

    This skill provides the SQL logic and schema mapping required to perform identity resolution (stitching anonymous IDs to known users) and multi-touch attribution directly within your Google BigQuery environment.

    The skill is designed for Google BigQuery. You will need a BigQuery dataset containing event-level data (timestamps, user IDs, and traffic sources) and permissions to execute SQL queries via the Console or CLI.

    You receive a production-ready package containing schema mapping templates, SQL implementations for four attribution models (First, Last, Linear, Time-Decay), and RFM segmentation logic.

    Yes, the skill is designed to run four distinct models simultaneously, allowing you to compare how different attribution logic impacts your perceived channel ROI within a single dashboard.

    The skill is optimized for BigQuery's SQL dialect. While the logic can be adapted for other warehouses like Snowflake or Redshift, significant syntax modifications would be required for them to function correctly.

    New in Data & Databases

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.