Articles on: How to Add URL Parameters

How to Add URL-Parameters to Meta / Facebook Ads


How to Add UTM-Code to Meta / Facebook Ads


Changing the URL parameters of an active ad can cause it to re-enter the learning phase, potentially resetting its performance progress. To avoid this, we recommend using the URL parameters in new ads instead of changing existing ones.


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.


This is the standard (old) user interface.


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


Using the new Parameters interface? Follow the steps below.



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.


  1. Click Edit



  1. Click  Add parameter
  2. Type Add these parameters
  • juicy_sourcefacebook
  • 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