Raydar free tools · Link decoder

Decode a link with sfmc_id in it

sfmc_id is the Subscriber ID Salesforce Marketing Cloud puts on email links when its Google Analytics tracking is on. Paste the link to see it with the tags it travels with.

Example: https://www.example.com?utm_source=sfmc&utm_medium=email&utm_campaign=TestCampaign&utm_term=MyLink123&utm_content=123456&utm_id=f521708e-db6e-478b-9731-8243a692c2d5&sfmc_id=245678&sfmc_activityid=598741568

Salesforce's one-line definition

Salesforce's parameter table names sfmc_id the Subscriber ID and describes it in one sentence: "This nonconfigurable parameter is required to create persistent user IDs between Engagement and Google Analytics." Engagement is Marketing Cloud Engagement, the name Salesforce's help docs use for the email product, and SFMC stands for Salesforce Marketing Cloud. The value ties a click to the subscriber the email went to, so that person keeps one ID across both systems.

The set it arrives with

sfmc_id rarely travels alone. Salesforce's example link carries it after six UTM tags and next to a second Salesforce value, sfmc_activityid. Salesforce fills most of them itself:

  • utm_term: the link alias text from the content asset
  • utm_content: the content asset ID
  • utm_id: the journey ID
  • sfmc_activityid: the activity inside that journey the link belongs to, so Google Analytics can report clicks for that step

Only utm_source, utm_medium and utm_campaign are configurable. The rest are required and set by Salesforce, sfmc_id included. Our utm_id and utm_content pages explain how Google Analytics reads those two.

When a Salesforce link has no sfmc_id

Email links carry every parameter set up in Parameter Manager unless link tracking is disabled for that email address. In SMS activities, Salesforce says Campaign Term, Campaign Content and Subscriber ID are not tracked, so do not expect sfmc_id on a text message link. The whole feature is switched on per business unit, through the GA4 Property Tracking setting in Parameter Management.

Before you forward the email

Deleting it leaves the destination untouched. For the sender, a click without sfmc_id cannot be joined to a persistent user ID, the one job Salesforce gives the parameter. Because it names a subscriber, delete it before you paste a Salesforce email link anywhere public, as you would Mailchimp's mc_eid. The UTM tags around it describe the email, not the person reading it.

Questions

What is sfmc_id in a URL?

sfmc_id is Salesforce Marketing Cloud Engagement's Subscriber ID, added to email links when its Google Analytics tracking is on. Salesforce says it is required to create persistent user IDs between Engagement and Google Analytics.

What is SFMC called now?

SFMC stands for Salesforce Marketing Cloud. Salesforce's help documentation for the email product, including the page that defines sfmc_id, calls it Marketing Cloud Engagement.

What is the difference between sfmc_id and sfmc_activityid?

sfmc_id identifies the subscriber. sfmc_activityid is appended to every link in a journey and identifies the activity the link came from, so Google Analytics can report clicks against that one step.

Related parameters: tag · hsa_cam · fbclid · gclid

Give your bio link a brain.

Build your page, watch who converts, free to start.

Get started free

No card required.