jagrti
jagrti

Reputation: 11

Addthis change url - query parameter

I have a url something like this local.ad.company.com/Web... In this i want to remove the ad.company.com when addthis buttons are clicked. Please help. Thanks in advance

Upvotes: 1

Views: 3193

Answers (1)

orloxx
orloxx

Reputation: 155

Basically without any javascript involved you can do something like this (source)

<a href="http://www.addthis.com/bookmark.php" 
    class="addthis_button"
    addthis:url="http://example.com"
    addthis:title="An Example Title"
    addthis:description="An Example Description"></a>

AddThis recommends using its Sharing API and personally I think it's the best way of implementing it.

Upvotes: 2

Related Questions