Customise the domain name search affiliation widget

Procédure

What is the Domain Name Search Widget?

This is a tool that we provide to our affiliates so that they can easily integrate a domain name search module into their site. We pay a commission to the affiliate on all sales made using this tool.

Customise the domain name search affiliation widget

To find out more about our affiliate programme, go to : LWS Affiliation.

Customise the Widget

Change the default extension:

By default, we offer the .COM extension as the first suggestion. If you wish to display another extension as a priority, you will need to indicate the desired extension in place of com when calling up the Widget:

http://affiliation.lws-hosting.com/banners/widget/[BANNER_ID]/[MEMBER_USERNAME]/com/default/Order/blank


If the indicated extension does not exist or is not sold, we will display the .COM extension first.

Changing the button colour:

We offer several button colours so that you can integrate the Widget into your site in the best possible way.

To do this, simply change the name of the default theme in the Widget call:

http://affiliation.lws-hosting.com/banners/widget/[BANNER_ID]/[MEMBER_USERNAME]/com/default/Command/blank

We offer several themes:

  • default :

Customise the domain name search affiliation widget

  • primary :

Customise the domain name search affiliation widget

  • info :

Customise the domain name search affiliation widget

  • success :

Customise the domain name search affiliation widget

  • warning :

Customise the domain name search affiliation widget

  • danger :

Customise the domain name search affiliation widget

Modify the button text:

To customise the text of your button, replace the word Order with your own text when the Widget is called up:

http://affiliation.lws-hosting.com/banners/widget/[BANNER_ID]/[MEMBER_USERNAME]/com/default/Command/blank

Do not open a new tab:

By default, when a visitor clicks on a suggested domain name or on the button, a new tab opens so that the visitor doesn't leave your website.

You can change this behaviour so that no new tab is opened and the redirection is made to the current page.
To do this, replace the term blank with parent in the Widget URL:

http://affiliation.lws-hosting.com/banners/widget/[BANNER_ID]/[MEMBER_USERNAME]/com/default/Order/blank

help.lws.net/a/506
Was this article helpful?

Yes

No

Read 26 254 times

Thank you! Feel free to ask questions about our documentation if you would like more information, and help us improve it.

Similar articles

A question about this article?

Ask the LWS team and the community. Answers are published after moderation.

Ask the LWS team and its community a question

GDPR: Controller: LWS-Ligne Web Services. Purpose: moderation and public publication of your question, possible notification of an answer. Legal basis: consent (Art. 6(1)(a) GDPR). Email retention: 90 days after notification, 12 months maximum without an answer. To exercise your rights, see the GDPR section of our Terms and Conditions.