Skip to main content

Install TrueProfit Pixel and set up URL parameters

Updated over 2 weeks ago

To start using the Marketing Attribution report, you need to enable tracking for your store. This guide walks you through three steps to set up TrueProfit Pixel and ensure accurate ad tracking.

On this page

From your dashboard, go to Marketing Attribution in the left navigation.

Step 1: Authorize TrueProfit Pixel (Required)

TrueProfit Pixel is a tracking tool that collects customer and ad performance data from your store. It allows TrueProfit to attribute conversions to the right ads, helping you measure your marketing effectiveness accurately.

There are 2 cases:

  1. For users who installed TrueProfit before May 30, 2024

    • Go to the dashboard or Marketing Attribution page.

    • Click Go to authorize.

Note: All tracked data is secure and used only to improve your reporting and attribution accuracy.

2. For users who installed TrueProfit after May 30, 2024

  • No action is required. During installation, you already authorized TrueProfit Pixel to access your store data.

✅ Installing the TrueProfit app automatically completes this step for new users.

Step 2: Enable TrueProfit Tracking (Required)

TrueProfit Tracking is an app embed that records customer events on your store’s website.

To enable it:

  1. In Shopify, go to Sales channels > Themes.

  1. In your current theme, click Customize.

  2. In the theme editor, click App embeds on the left panel.

  3. Search for TrueProfit Tracking.

  4. Toggle it on and click Save.

Step 3: Set Up URL Parameters for Your Ads

TrueProfit URL parameters let the app track and attribute conversions across different ad channels (Facebook, Google, TikTok, Microsoft Ads, Snapchat, Pinterest).

  1. Understand the URL Structure

When adding parameters, your ad’s destination URL will have three parts:

  • Base URL → your website link/product link that you want to promote (e.g., https://www.example.com/)

  • UTM Parameters (optional) → used for your own campaign tracking (utm_source, utm_medium, utm_campaign). example:

    utm_source=email&utm_medium=email&utm_campaign=summer-sale

  • TrueProfit Parameters (required) → added at the end to let TrueProfit track attribution (tp_source, tp_adid, tp_productid), example:

    tp_source=facebook&tp_adid={{ad.id}}&tp_productid=14432432

⚠️ How to separate parts

  • Use ? if it’s the first parameter after the Base URL.

  • Use & to add more parameters (UTM or TrueProfit).

Example: Full destination URL

https://www.example.com/  
?utm_source=email&utm_medium=email&utm_campaign=summer-sale
&tp_source=facebook&tp_adid={{ad.id}}&tp_productid=14432432

2. Generate TrueProfit Parameters by Chrome Extension

The TrueProfit Parameter Generator Extension helps you automatically generate the TrueProfit Parameters (required) for your ad URLs:

  • tp_source → identifies the ad platform (e.g., Facebook, Google, TikTok)

  • tp_adid → tracks the specific ad ID

  • tp_productid → links the ad to the promoted product (remove this if you are not promoting a specific product)

To use the extension:

  1. Install the TrueProfit Parameter Generator Extension from the Chrome Web Store.

  2. Open the extension when creating or editing ads.

  3. Fill in the required fields:

  • Ad Platform: auto-detected if you’re on the platform’s website, otherwise select manually.

  • Store: choose the store you’ve connected to TrueProfit.

  • Product: select a product to promote (best-seller is pre-selected). Choose None if not product-specific.

Read more about How to use the extension.

4. The extension will generate the TrueProfit Parameters in the URL Parameter field.

5. Use the Auto-fill Parameter button

  • If you open the extension while creating or editing an ad, click Auto-fill Parameter to insert TrueProfit’s parameter directly into your ad’s URL.

  • If you don’t use this option, copy and paste the parameter manually.

If you’re not using Chrome, follow this guide: How to Set up URL Parameters Manually for Your Ads.

3. Add TrueProfit Parameters to Your Ad

Once generated, copy and paste the parameters into your ad’s destination URL:

  • For TikTok, Pinterest, Snapchat, and X → Make sure your destination URL starts with https:// before adding TrueProfit’s parameter.

  • For Facebook, Google, and Microsoft → Only add the parameter generated in the extension to the URL Parameters field.

Example by Ad Platform


Platform

Trueprofit Parameter

Facebook Ads

tp_source=facebook&tp_adid={{ad.id}}&tp_productid=your product's id

Google Ads

{lpurl}?tp_source=google&tp_adid={creative}&tp_campaignid={campaignid}&tp_productid=your product's id

Microsoft (Bing) Ads

tp_source=bing&tp_adid={AdId}&tp_productid=your product's id

Snapchat Ads

tp_source=snapchat&tp_adid={{ad.id}}&tp_productid=your product's id

TikTok Ads

tp_source=tiktok&tp_adid=__CID__&tp_productid=your product's id

Pinterest Ads

tp_source=pinterest&tp_adid={adid}&tp_productid=your product's id

4. Putting it all together

Here’s what your full destination URL will look like:

  • No UTM parameters: If your URL has no parameters yet, start with ?.

    https://www.example.com/?tp_source=facebook&tp_adid={{ad.id}}&tp_productid=14432432
  • With UTM parameters: If your ad already has UTM parameters, just add & before TrueProfit’s parameters.

    https://www.example.com/?utm_source=email&utm_medium=email&utm_campaign=summer-sale&tp_source=facebook&tp_adid={{ad.id}}&tp_productid=14432432

Need help?

If you have any issues completing the steps above, please contact our Live Chat support. We’re always happy to help!


Did this answer your question?