Step for integrating into website / web app / mobile app.
Copy the code below and paste it into the appropriate location of your webpage / web app / mobile app to embed the "powered by PetHub" widget. Height and width iFrame parameters are fully customizable.
Replace the #PARTNERCODE# in the below string with your partner code.
To get the partner code, please complete our request form.
Sandbox
For our Sandbox (testing) environment, the code snippet would be:
<iframe height="850px" id="pbph-widget" src="https://#PARTNERCODE#-sandbox.pethub.io/" style="border: 0px !important;" width="98%"> </iframe>
Production
For our Production (public) environment, the code snippet would be:
<iframe height="850px" id="pbph-widget" src="https://#PARTNERCODE#-widget.pethub.io/" style="border: 0px !important;" width="98%"> </iframe>
Widget Display Types
PetHub offers two variations of its front end widget: full and mini widget. The full widget is optimized for 740px height while the mini widget is optimized for 400px height.
To configure the mini widget, append ?widget_type=mini in the source URL.