FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    how to add dynamic parameters to the confirmation link

    Scheduled Pinned Locked Moved
    Q&A
    0
    2
    261
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      povilas_pisklov
      last edited by

      Hello,

      Could you please advice how can I add dynamic parameters to the verification link in the email?
      I want to add certain utm parameters for every user depending on the traffic sourсe where he came from.

      I know that there is no simple way to do that.

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        Hiya,

        It depends on what you mean by "dynamic". What are they based dynamically based on?

        If they are based on attributes of the user, you could pull them from user.data. If they are random or time based, you could use the method outlined here: https://stackoverflow.com/a/51554484/203619

        I'd also suggest testing to see if any parameters you add to the confirmation link are received by the destination page. I'm not sure if any processing happens that might strip unknown parameters. (I don't think so, but am not certain.)

        Let us know what you find!

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post