---
title: Umbraco Script Library
description: >-
  Explore the Umbraco Script Library for Photo Finale sites, featuring code
  examples for loading third-party scripts and customizing page text.
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

Photo Finale Website > Photo Finale Upgrade Options > [Photo Finale Enterprise (PFE)](..\..\Photo%20Finale%20Enterprise%20(PFE).md) > [PF Enterprise FAQ](/pf-website/photo-finale-upgrade-options/pf-enterprise-faq)

A collection of useful scripts for use on PFE / PFM / PFSR sites.

#### Load & Call a 3rd-Party Script

This example shows a 3rd-party script being loaded, and then the code waiting for the external script and the orderSummary object to exist before being invoked.  This example would be appropriate on the ConfirmationExtra-mobile PagePart.

```js
<script type="text/javascript" src="//www.some-shopping-cart-tracker.com/script.js"></script>
<script type="text/javascript">
 ( function _trackerScript() {
        if (typeof (MyTracker) == "undefined") {
            setTimeout(function () { _trackerScript(); }, 500);
        } else {
            MyTracker.TrackOrder(PF.orderSummary.confirmation, PF.orderSummary.total);
        }
   })();
</script>
```

#### Change a text string on a page

<Info>
This example has been removed. The platform now has a built-in method (introduced in v17.1) for customizing text strings for a Dealer site, so the JavaScript workaround is no longer needed or recommended.
</Info>
