Sample
Last updated
Last updated
Let's imagine an online fashion store that wants to enhance its relationship with its customers through a loyalty program. By integrating the LoyaltyLion tool through the Developer Pages, the store can can completely customize the user experience.
Through tight integration with the existing system, it is possible to offer customers loyalty points not only for purchase, but also for actions such as sharing on social media or registering for a newsletter.
The example below shows how Developer Pages allow you to create a dedicated section within the app where customers can monitor their loyalty score, view exclusive rewards, and participate in special events. This integration not only encourages customer loyalty, but also offers fluid and engaging navigation, thus demonstrating the potential of Developer Pages in creating and offering a thoroughly personalized experience.
These steps below outline how it is possible to allow your users to view their loyalty score report within the app via a Developer Page. The tool used in this example is Loyaltylion, therefore the initial steps will be carred out on their platform. The integration will be carried out using an SDK and Javascript, and we will use Loyaltylion's documentation as a point of reference.
Step 1
Register or login to the Loyaltylion portal.
Step 2
Follow the steps to create a site. Make sure to select 'Custom' as your site's type.
Step 3
Complete the set up process, inserting the necessary information until you reach your Dashboard.
Step 4
Obtain the Token and Secret Parameters necessary to initialize the SDK within your Developer Page. The paremeters can be viewed by going to Manage > Settings > Token and Secret section.
Step 5
Now that we have all of the necessary data, we can set up our Developer Page by following the Loyaltylion developer guide.
Insert the SDK a bit before the ending of the tag </head>
Inside of the tag <body> insert the HTML code:
Step 6:
In the script section, we can insert the following before the closing of the tag </body>
Step 7:
After publishing the page on your domain, you can now create the Developer Page on your Shoppy Pages, as indicated in the beginning of this guide. By inserting the id, name, surname, and email as dynamic values, you will be able to use them within the Javascript code in point 5.
Step 8:
Make sure to save the modifications you've made!
Step 9:
Insert the Developer page inside the navigation bar by going to App Builder > Navigation on your Shoppy Dashboard:
Step 10:
Add or modify a section from the bottom bar:
Step 11:
You can name your page as you wish. In this case, we will name it Loyaltylion Points.
And there you have it, you've set up your Developer Page! Now you can see your results from your app by going to your app and navigating to the Developer Page.
The Developer Pages offered by Shoppy stand out for their incredible flexibility and adaptability, allowing develoeprs to use a wide range of technologies and programming languages for their creation. Whether you prefer PHP, Vue.js, HTML or any other language, the open structure of Developer Pages allows you to express your creativity without limits. The key to this versatility lies in the way parameters are passed, which occurs intuitively and dynamically via URLS.
Developer pages give developers the ability to leverage their skills and preferences to create highly personalized pages, offering a unique and engaging experience to their shoppers.