I have a link in an email that has AmpScript in the url (https://somelink.com/group=%%SegmentName%%) and another link without ampscript (https://anotherlink.com/)

The link without ampscript is recognized whereas the link using ampscript is not within the Engagement Split feature of Journey builder.

Does anyone know a work-around for this?

  • as in the link is not being pulled in as an option in the Engagement Split feature of Journey Builder. Under where it says: "Select the message links to monitor." Aug 9, 2022 at 21:28
  • I confirm the same behaviour. I tried to build the whole URL inside an AMPScript bloc and reference it in the href with no luck. Also tried to use aliases, still no luck. It may be a platform limitation. The only thing I can think of is using ENS (Event Notification Service) to catch the actual click, send back the info in a DE field and perform a check on that field, decision split on journey data. There must be a simpler way 😎 Aug 9, 2022 at 21:51
  • @FrançoisPerret I also tried URL Encode and it doesn't work either. Not sure if this will jog any other solutions you may have: developer.salesforce.com/docs/marketing/marketing-cloud/guide/… Aug 9, 2022 at 21:53
  • salesforce.stackexchange.com/questions/349661/… references a trailhead module, based on decision split but fed with a query on on data views rather than using ENS as I suggested. Aug 9, 2022 at 22:02
  • see summarised answer 👇 Aug 9, 2022 at 22:21

1 Answer 1


Engagement Split cannot use URL embedding AMPScript or Personalisation vars as a decision criteria.

You have to use a Decision Split instead, based on the clicked link/s which you store.

The click information can be sourced from Event Notification Service (ENS) or a Query from Engagement Data View.

  • @Eric Nguyen : no direct way, i'm afraid. Aug 9, 2022 at 22:20
  • @Eric Nguyen. Since the problem is solved, please consider accepting my answer (✓) or feel free to ask for further details. Aug 21, 2022 at 22:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .