Deep Linking Guide
There are 2 ways you can use links to launch reperks widget.
Using URL Hash
You can use the following url hash to launch reperks widget. One common approach is to add a nav link for "Rewards" and use URL hash to launch widget when user clicks on it.
Each of the hash will navigate to it respective tab. For example, #ov-reperks-activities will open widget and navigate to activities tab.
Using URL Parameter
Alternatively, you can use url parameter
ov-reperks-link
to launch reperks widget.
- https://example.com?ov-reperks-link=home
- https://example.com?ov-reperks-link=store-rewards
- https://example.com?ov-reperks-link=earning-points
- https://example.com?ov-reperks-link=activities
Different between using URL Hash VS URL Parameter
The key difference between using url hash and url parameter is that if a user clicks on hash link, the page won't be reloaded. So if you're using a nav link to launch widget, stick to URL hash for better usability.