web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

How can I reproduce the same link to a landing page contained in the marketing email on a landing page or in a Power Automate flow?

(0) ShareShare
ReportReport
Posted on by 30

I built a journey that sends an email. Inside the email there is a button that refers to a marketing page. When the contact visits the marketing page he is tracked by the journey. I need to recreate the same email button on a marketing page or with a power automate flow, and to be able to track contacts' visits. The assist edit function only works within the marketing email. How can I do? Thanks a lot!

for example:

origin button mail: href="{{msdyncrm_marketingpage(434aad1b-0a5b-eb11-a812-000d3aa9bc42).msdyncrm_full_page_url}}"
landing: https:.../?msdynttrid=MnZ8MHsVBNUw-2QGW5pDY2bnUC3Us2lcVY0To9zDe1w

I have the same question (0)
  • cloflyMao Profile Picture
    25,210 on at
    RE: How can I reproduce the same link to a landing page contained in the marketing email on a landing page or in a Power Automate flow?

    Hi, Simone

    As the assist edit function only works within the marketing email, it cannot be added into a marketing page directly.

    However, you can get the exact URL from the email.

    For example, here is the designer for an email.

    1. Insert the URL you’d like to add into the email with the assist edit function.

    t1.png

    2. Switch to the Preview tab.

    You will see the exact URL shown in the Preview tab so you can select and copy it for other purposes.

    t2.png

    Hope this helps.

    Regards,

    Clofly

  • Simone Colaci Profile Picture
    30 on at
    RE: How can I reproduce the same link to a landing page contained in the marketing email on a landing page or in a Power Automate flow?

    Thanks Clofly for the quick reply. But this way I would get a static link, instead my goal is to get a dynamic link that changes when the contact changes.

  • Suggested answer
    cloflyMao Profile Picture
    25,210 on at
    RE: How can I reproduce the same link to a landing page contained in the marketing email on a landing page or in a Power Automate flow?

    Hi Simone,

    There is a workaround: inject link value to button of page dynamically using "Personalized Page Content" feature,(JavaScript) but contacts need to mark "Remember me" check box.(Their "Prefill marketing form" field is set to "Allow".)

    https://docs.microsoft.com/en-us/dynamics365/marketing/personalized-page-content

    After configuration, we embed the automatically generated code to our landing page and modify the code.

    pastedimage1611319284233v2.png

    e.g: If first name of contact is Clofly, then change link of the button.(You could import jQuery library to marketing page to simplify code.)

    pastedimage1611319426038v3.png

    If Clofly opens the form, the link of button will change.

    While the link is same to others.

    (He need to mark "Remember me" check box at first time submission to make sure his "Prefill marketing form" field is checked.)

    pastedimage1611319594017v4.png

    Regards,

    Clofly

  • Simone Colaci Profile Picture
    30 on at
    RE: How can I reproduce the same link to a landing page contained in the marketing email on a landing page or in a Power Automate flow?

    Thanks a lot Clofly! This seems to me an excellent solution. How can I import jQuery library to marketing pages (or even PoweApps Portal pages) to perform CRUD operations on the contact entity? Could you kindly post me some examples? Do I need tokens to access the data?

  • cloflyMao Profile Picture
    25,210 on at
    RE: How can I reproduce the same link to a landing page contained in the marketing email on a landing page or in a Power Automate flow?

    Hi Simone,

    Just embed following code into header tag:(Including the library from CloudFlare.)

    zx.JPG

    However, please notice that CRUD operations are actually not supported on marketing page, here is how does the personalized page content feature work:

    After contact submits the marketing form, the cookie to identify the person will always be stored in contact's browser regardless of "Remember me" field is checked.

    The difference is that if the field is checked, some of his/her information will be accessible for us to read using JavaScript(PPC script).

    Therefore, token is not required, we just need consent from contact.

    Regards,

    Clofly

  • Simone Colaci Profile Picture
    30 on at
    RE: How can I reproduce the same link to a landing page contained in the marketing email on a landing page or in a Power Automate flow?

    Hi Clofly,

    Thank you for your reply.

    The suggestions you gave me were very helpful :-)

    Can I bother you again if I need further information? Thanks a lot!

    Best Regards,

    Simone Colaci

  • cloflyMao Profile Picture
    25,210 on at
    RE: How can I reproduce the same link to a landing page contained in the marketing email on a landing page or in a Power Automate flow?

    Hi Simone,

    Feel free to ask further information! :)

    If you still have any doubt about the current topic, just keep discussion in the current thread.

    (If you have new question and think that the current question is resolved, please kindly mark the answer as verified to close the thread.)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 117 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 110

#3
#ManoVerse Profile Picture

#ManoVerse 56

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans