• Resolved Maksim Apanasenka

    (@opanasenkomaksim)


    It would be nice to add a filter to modify a post url to add UTM parameters while auto-posting (maybe someone will need the same for share links also, by the way).

    I can do this by adding the_permalink filter before add_action(‘save_post’, array($this, ‘b2s_save_post_box’), 1, 3); and removing it after this action, but this would be easier and more accurate if you had a filter to modify post urls.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thanks for reaching out.

    Depending on your Blog2Social version, there are various options to add UTM parameters in your links. Please be so kind as to check the following guide for more information:
    How to Create Tracking Links and Use UTM Parameters

    Please let me know if you have further questions.

    Thread Starter Maksim Apanasenka

    (@opanasenkomaksim)

    This can be useful. Thank you!
    But this is what we need to achieve ?utm_source={Twitter or LinkedIn}&utm_medium={post_type}&utm_campaign={author_name}

    Hello,

    Thanks for your reply.

    May I ask you if you checked part two of this guide?
    “2. Set default parameters for each social media connection or all connections”

    Here you can add various names and values as URL parameters. You can add up to 10 parameter boxes.

    Please let me know if it worked out or if you have any other questions.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adding UTM links for posts while auto-posting’ is closed to new replies.