How to Add URL-Parameters to Meta / Facebook Ads
How to Add UTM-Code to Meta / Facebook Ads
Needed URL Parameter
Our app needs the tracking parameter
juicy_source=facebook&juicy_aid={{ad.id}}
on your ads to be able to attribute your orders to your ads.
Alternative supported URL parameters
If you're migrating, for example from Triple Whale or Hyros we got you covered.
Juicy supports common tracking parameters — no need to update your existing campaigns if you already use them.
The supported parameters are:
juice={{ad.id}}ad_id={{ad.id}}tw_adid={{ad.id}}h_ad_id={{ad.id}}
Add the Tracking Parameters
Meta is currently rolling out a new Ads Manager interface. Depending on your account, you may see one of the following setups. Follow the guide that matches what you see in your Ads Manager.
1. Go to Your Meta Ads Manager
Add the Tracking Parameters
Log in to your Meta Ads Manager and open the ad you want to edit, or create a new one.
2. Enter UTM Code Under “URL Parameters”
Right before publishing your ad, you'll find a section called URL parameters.
Paste the URL code into that field.
Make sure to copy this full URL parameter code
utm_source={{site_source_name}}&utm_medium={{placement}}&utm_campaign={{campaign.id}}&utm_term={{adset.id}}&utm_content={{ad.id}}&juicy_source=facebook&juicy_aid={{ad.id}}

3. Save & Publish
Click Publish or Update your ad to save the changes.
✅ Done!
Your ad is now ready and Juicy will automatically pick up the UTM parameters in your analytics.
New Parameters Interface
1. Go to Your Meta Ads Manager
Log in to your Meta Ads Manager and open the ad you want to edit, or create a new one.
2. “URL Parameters”
Right before publishing your ad, you'll find a section called URL parameters.
- Click Edit

- Click Add parameter

- Type Add these parameters
- juicy_source →
facebook - juicy_aid → Select {{ad.id}} from the dropdown menu

✅ Done!
Your ad is now ready and Juicy will automatically pick up the UTM parameters in your analytics.
Updated on: 29/05/2026