TrustData
Getting started

Quickstart

Get TrustData running and see your first independent marketing data in minutes.

This guide gets you from zero to having an independent view of your marketing performance, separate from what the ad platforms report.

What you get

By the end of this guide, you'll have:

  • First-party event tracking installed on your website
  • Conversion data flowing independently of ad platform pixels
  • Tracking health monitoring with automatic alerts
  • (Optional) Ad platform data syncing for unified ROAS

Step 1: Create your account and property

When you sign up, a setup wizard walks you through the basics:

  1. Profile: your name and details
  2. Organization: your company or agency. You can add billing details now or later from settings
  3. Property: the website or brand you want to measure. TrustData creates a web attribution ID (data stream) for it automatically
  4. Install the tracking script: the wizard shows the snippet with your attribution ID already filled in (see Step 2)
  5. Invite your team (optional)

To find your attribution ID later, or to add another stream, go to Settings → Attribution IDs. Click New attribution ID to add one.

Step 2: Install the tracking SDK

Add the TrustData tracking script to your website, just before the closing </head> tag:

<script>
(function(w,d,s,u,n){
  w[n]=w[n]||[];
  w[n].push(['init','YOUR_ATTRIBUTION_ID',{sendPageView:true}]);
  var f=d.getElementsByTagName(s)[0],j=d.createElement(s);
  j.async=1;j.src=u;f.parentNode.insertBefore(j,f);
})(window,document,'script','https://t.trustdata.tech/t.js','trustdata');
</script>

Replace YOUR_ATTRIBUTION_ID with the attribution ID from Step 1.

Step 3: Track conversions

Send a conversion event when an order is confirmed. This is the data TrustData uses for attribution:

trustdata.push(['event', 'purchase', {
  conversion_id: 'ORD-456',  // your order ID, used to prevent double counting
  value: 149.99,
  currency: 'EUR'
}]);

Step 4: Verify tracking

After you install the script, verify that events arrive:

  1. Visit your website in a new browser tab
  2. In TrustData, go to Settings → Attribution IDs
  3. Click Live events next to your attribution ID

Your visit appears within a few seconds.

What you'll see

After a few visits, the dashboard shows:

MetricWhat it tells you
RevenueTotal conversion value tracked independently
ConversionsOrders attributed across all channels
ROAS by channelReturn on ad spend per platform, deduplicated
Tracking healthWhether data is flowing correctly

If you use a consent management platform (CMP), connect it to TrustData:

// After the visitor makes a choice in your CMP
trustdata.push(['consent', {
  analytics: true,
  advertising: true,
  preferences: true,
  sale_of_data: false  // CCPA
}, { interaction: true }]);

Pass { interaction: true } only when the visitor has just made a choice. Leave it out when you replay stored consent on page load. See consent management for details.

Step 6: Connect ad platforms (optional)

To see unified ROAS and attribution across your ad channels:

Add URL parameters first

Before you connect, add TrustData parameters to your ad URLs:

Google Ads example:

https://example.com/landing?trdt_cpid={campaignid}&trdt_agid={adgroupid}&gclid={gclid}

Meta Ads example:

https://example.com/landing?trdt_cpid={{campaign.id}}&trdt_agid={{adset.id}}&fbclid={{click_id}}

Connect data sources

  1. Go to Settings → Data Sources
  2. Find your platform (Google Ads, Facebook Ads, TikTok Ads, LinkedIn Ads, Pinterest Ads, Snapchat Ads, Microsoft Ads, Shopify, and more) and click Connect
  3. Sign in to the platform (for example Sign-in with Google) and complete the authorization. A few connectors ask for an API key instead
  4. Select the account to sync
  5. Click Connect

Data sources sync every 3 hours. The first sync also loads historical data, so it can take longer.

Alerts are on by default

Every property gets tracking health checks from the start, including:

AlertWhat it catches
TrustData tracking downTrustData receives no events for 6 hours
Platform tracking downA connected ad platform reports no conversions for 24 hours
Data freshnessNo new data in 24+ hours
Conversion dropConversions fall sharply compared with the previous period

By default, alerts are emailed to your organization's admins. No setup required. Data source sync problems show on the Data Sources page instead.

To send alerts to a different email, Slack, or a webhook, open your property's settings and go to Notifications. See Alerts for the full list.

What's next?

Advanced tracking options, custom events, server-side conversions, and consent handling.
Detailed setup for Google Ads, Meta Ads, TikTok Ads, and more.
See every alert type and choose where alerts are sent.
Learn how TrustData attributes conversions fairly across channels.