Articles on: Marketing Attribution

How to Set up URL Parameters Manually for Your Ads

If you are using Chrome, we recommend using the Parameter Generator Extension. You can read the tutorial of how to use the extension here.

How to Set up URL Parameters Manually to Track Your Ads with TrueProfit


When you are creating a new ad or editing an existing one, you can add TrueProfit's parameter for tracking. At the moment, TrueProfit is supporting integrations with these platforms: Facebook, Google, TikTok, Snapchat, Pinterest, and Microsoft (Bing) Ads.



PlatformParameter
Facebook Adstp_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) Adstp_source=bing&tp_adid={AdId}&tp_productid=your product's id
Snapchat Adstp_source=snapchat&tp_adid={{ad.id}}&tp_productid=your product's id
TikTok Adstp_source=tiktok&tp_adid=__CID__&tp_productid=your product's id
Pinterest Adstp_source=pinterest&tp_adid={adid}&tp_productid=your product's id


In details, here's how to build a parameter for tracking with TrueProfit:
tp_source=platform's name&tp_adid={{ad.id}}&tp_productid=your product's id
tp_source=platform's name : Enter the ad platform you're working on in full text. For example: facebook, google, bing, tiktok, snapchat, pinterest.
tp_adid={{ad.id}} : The Ad ID of the ad you are working on. You do not need to change this field, keep the value between the curve bracket as is so that the ad platform can fill in the ad ID automatically. Note that different platforms have different format for ad ID, make sure you follow the format in the table above so that the platform can read it correctly.
tp_campaignid={campaignid} : Similar to Ad ID, you do not need to change this field, keep the value between the curve bracket as is like the table above for each platform.
tp_productid=the product's ID from Shopify : In your Shopify Admin, go to Products and choose the product you want to promote. The product_id is the number string at the end of the URL, like the image below:



Important notes:


Make sure you separate the parameters from the URL with a question mark. For example:

If you already have parameters in use, make sure to add an ampersand at the start of TrueProfit's parameter. For example:

If you are running ads for a product, find the product ID from Shopify like the instruction below. If you are not promoting a specific product, remove the "&tp_productid=your product's id" part in the parameter.

What is a URL Parameter and Why Do I Need it?


If you are running ads to promote your online store, you need URL parameters. Parameters are unique identifiers that are added to your ads’ destination URLs. Once added, they can relay important information about the performance of your advertising campaigns. Specifically, this information lets advertisers know more about where the click came from before landing on the website.

Adding URL parameters can help TrueProfit accurately track and attribute the performance and conversions of your marketing and products in the Marketing Attribution and Product Analytics reports.

Updated on: 05/12/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!