Custom URL, [https:// to http://]

jared.church Jul 09, 2012 04:58AM EDT

Looking at integrating AddThis and curious if its possible to do the following:

Our product has an incentive for customers to tell their friends about the product via a referral link. We call it "Share The Wealth". The customer accesses a page inside the log in [https://secure.] where they can find their referral link. The referral link points outside the secure section of the site [http://www.] with a tracking ID [?rid=...].

Can we integrate "AddThis" into the (https) page, so that the user can use the one-click functionality to post their referral URL {http) to their social networks. (we can pass the referral URL as a parameter to AddThis).

Is this possible?

Thanks

Up 0 Rated Down
Sol (AddThis Happiness Specialist) Jul 09, 2012 09:38AM EDT
HI Jared, yes, you can specify a custom URL that is different than the page the buttons are located on. You would use the "addthis:url" attribute to specify the URL (I would also recommend setting the addthis:title and addthis:description attributes as well). Here is an example of how to use them:

<div class="addthis_toolbox addthis_default_style "
addthis:url="http://example.com"
addthis:title="An Example Title"
addthis:description="An Example Description">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
</div>

And here is a Support Doc that goes into detail on how to use it:

http://support.addthis.com/customer/portal/articles/381242-url-title

If you have any problems, please let me know.

This question is closed to new answers.

Still need help?


General Topics

 

Developers