By default, the widget displays for each Location a link that leads to the BRIDGE local page, or the Website URL defined in the Back Office, in the Administrative information of the Location.
You also have the possibility to define a second button, leading toward your own locations pages, for example. Possibilities are infinite, as you can build this link from some parameters in the BRIDGE Back Office and in widget script.
Building the custom link
The redirection is built from an attribute, added to the widget script :
data-custom-redirection-url="https://your.custom.url"
In the location, the redirection is defined from the custom id of the location, defined in the BRIDGE Back Office, in the Administrative information of a location.
Example :
Referring to the previous example, if you defined, for example:
data-custom-redirection-url="https://www.leadformance.com"
you will obtain, behind the second buton, this custom url:
https://www.leadformance.com?locationId=merevo02
Customizing the appearance of the custom link button
Here is an example of the second button we can build by applying some CSS style:
To customize the appearance link, apply some CSS style to the following classes :
<div class="location-custom-page">
<a class=”location-custom-page-link”> </a>
</div>
Comments
0 comments
Please sign in to leave a comment.