Single number link mode

Add a link to your tracking number on your website, when click the number, the tracking results will float underneath the number.

Example effect
Your packages:
  • Order #098365
  • Order #098366
  • Order #098367

Preferences

trackNumber

Track number

Optional
elementId

If this element ID is hovered / clicked, the iframe with the parcel tracking results will be added to the DOM

Optional
height

Frame height, where the package tracking results will be displayed. The default value is 370.

Required
width

Frame width, where the package tracking results will be displayed. By default, it is stretched to the entire width of the container.

Required
language

UI language, default language is automatically detected based on the browser settings.

  • de=Deutsch
  • en=English
  • es=Español
  • fr=Français
  • it=Italiano
  • ja=日本語
  • ko=한국어
  • nl=Nederlands
  • pl=Polski
  • pt=Português
  • ru=Русский
  • th=ไทย
  • tr=Türkçe
  • uk=Українська
  • zh=汉语
Required

Code

<!--Elements followed by the created frame with the parcel tracking results.-->
<button id="pkge-track-1-test">ZA871946730HK</button>
<button id="pkge-track-2-test">5610177923517</button>

<!--The script required for the widget's work. It can be inserted at the end of the page.-->
<script type="text/javascript" src="https://pkge.net/externalwidget.min.js"></script>

<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function () {
    PKGEExtWidget.trackButton({
        //Optional. Track number
        'trackNumber': 'ZA871946730HK',
        //Optional. If this element ID is hovered / clicked, the iframe with the parcel tracking results will be added to the DOM
        'elementId': 'pkge-track-1-test',
        //Required. Frame width, where the package tracking results will be displayed. By default, it is stretched to the entire width of the container.
        'width': 460,
        //Required. Frame height, where the package tracking results will be displayed. The default value is 370.
        'height': 370,
        //Required. UI language, default language is automatically detected based on the browser settings.
        'language': 'en'
    });


    PKGEExtWidget.trackButton({
        //Optional. Track number
        'trackNumber': '5610177923517',
        //Optional. If this element ID is hovered / clicked, the iframe with the parcel tracking results will be added to the DOM
        'elementId': 'pkge-track-2-test',
        //Required. Frame width, where the package tracking results will be displayed. By default, it is stretched to the entire width of the container.
        'width': 460,
        //Required. Frame height, where the package tracking results will be displayed. The default value is 370.
        'height': 370,
        //Required. UI language, default language is automatically detected based on the browser settings.
        'language': 'en'
    });
});
</script>
This site uses cookies. You can read how Pkge.net use them in privacy policy