XF 2.3 utm displaying multiple times

AndrewSimm

Well-known member
I have an articles add-on and have add articles to the activity summary. Everything works great but today when I went to add utm tags I noticed they keep display multiple times in the email. For eample: https://www.website.com/articles/ar..._summary&utm_medium=email&utm_content=article&utm_source=email&utm_medium=email

Here is part of the code from the email template. it follows the same pattern as other activity summary emails.

Code:
    <xf:foreach loop="$articles" value="$article">
        <xf:set var="$header">
            <a href="{{ link('canonical:articles', $article, {'utm_source': 'activity_summary', 'utm_medium': 'email', 'utm_content': 'article'}) }}">{$article.title}</a>
        </xf:set>
 
Back
Top Bottom