Ading UTM parameters dynamically to a link

Support General Ading UTM parameters dynamically to a linkResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #37408

    Hi,

    I want to dynamically add UTM parameters to a link in a custom field. The data are values stored in other custom fields in the same group. See image for explanation.

    Is this possible? How would I go about this?

    Thanks!

    Dynamic utm parameters

    #37409

    Adding dynamic UTM parameters to a link in acustom field

    #37415
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Currently, Meta Box does not support adding field value to another field on input value like that. You can try to use the action hook rwmb_after_save_field to update a field value after saving the post.
    Read more on the documentation https://docs.metabox.io/actions/rwmb-after-save-field/

    #37418

    Thanks Nguyen,

    I will give it a try.

    Do you think my request seems valuable enough to add it as a feature request? I would love to have merge tags available that, on saving the post, add the data dynamically to a field.

    This is mostly to avoid mistakes. Especially for handing over the project to someone else.

    #37434
    Long NguyenLong Nguyen
    Moderator

    Hi,

    I'm going to inform the developer team to consider adding it to the to-do list for the future development of the plugin.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.