Skip to main content
Home
PetHub Dev Net (Alpha)

Main navigation

  • Home
  • APIs
  • Widget
  • Apply
User account menu
  • Log in

Breadcrumb

  1. Home

Appending Data

Partners have the ability to pass customer data. This can be used to pre-fill the widget or for analytics purposes via UTM parameters.

There are multiple ways to implement this; however, passing customer data is completely optional and does not affect widget functionality.

Query parameters is the set of key value pairs appended to the widget URL. The URL is appended with a ?key={value} and separated by & for multiple key value pairs.

Approaches for Appending Data:

  • Approach 1 - Sending data from the widget URL
  • Approach 2 - Sending data from the client URL web page
  • Approach 3 - Sending data from partner web application or mobile application

Widget Docs Index

  • Introduction
  • Widget Docs
    • Integration Code
    • Appending Data
      • Approach 1
      • Approach 2
      • Approach 3
    • Style Elements
  • Support

Footer

  • Contact
  • Terms of Use
  • API Documentation
  • Widget Documentation
  • Frequently Asked Questions
  • Support

Copyright 2025, PetHub, Inc. All rights reserved.