Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jimlongo

    (@jimlongo)

    added this to the necessary theme template files

    <div class="at-above-post addthis-toolbox" data-url="<?php the_permalink(); echo '?utm_campaign=blog-social-share&utm_medium=social'; ?>" data-title="<?php the_title_attribute(); ?>"></div>

    This caused the buttons to display twice, the new url with query string in one set of buttons, and the plain url in the second set.

    Needed to disable the buttons in the AddThis website interface, so the only ones to display are the ones from the template.

    Plugin Author addthis_matt

    (@addthis_matt)

    Hi there,

    You can add the query string parameters by adding some additional JavaScript to your pages. The format is documented in this support article:

    http://support.addthis.com/customer/portal/articles/381249-adding-parameters-to-urls

    Thanks!
    Matt

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add query string to all AddThis urls’ is closed to new replies.