Skip to main content

Notifications

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

  • cloflyMao Profile Picture
    cloflyMao 25,202 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.)

  • Simone Colaci Profile Picture
    Simone Colaci 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
    cloflyMao 25,202 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
    Simone Colaci 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?

  • Suggested answer
    cloflyMao Profile Picture
    cloflyMao 25,202 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
    Simone Colaci 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.

  • cloflyMao Profile Picture
    cloflyMao 25,202 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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans