Plan Your Trip Widget
Add a lightweight trip planner to your website with a single script tag. Visitors pick a travel date and are sent to Best of Park City for a personalized guide with local tips, lodging, and activity recommendations.
Configure Your Widget
Options
Your Embed Code
<script src="https://bestofparkcity.com/widgets/trip-planner.js"></script>
Preview
Click the button to expand the preview.
Installation
Add via HTML
Paste your embed code before the closing </body> tag on every page where you want the widget to appear. Placing it at the end of the body ensures it loads after the rest of your page content.
<!-- Before </body> -->
<script src="https://bestofparkcity.com/widgets/trip-planner.js"></script>
</body> If your site uses a shared layout or template file, add the script there once and it will appear on every page automatically.
Add via Google Tag Manager
If you manage scripts through Google Tag Manager, create a Custom HTML tag to inject the widget on every page without editing code.
- 1. Open your Google Tag Manager container and go to Tags → New.
- 2. Click Tag Configuration and choose Custom HTML.
- 3. Paste the following into the HTML field:
<script src="https://bestofparkcity.com/widgets/trip-planner.js"></script> - 4. Under Triggering, select All Pages (or a specific page trigger if you only want the widget on certain pages).
- 5. Name the tag (e.g., "Best of Park City Widget"), click Save, then Submit and Publish your container.
If you configured custom colors or position above, paste the full embed code from the configurator instead of the default script tag.
How It Works
Lightweight
Under 3 KB gzipped. No frameworks, no dependencies. Just one script tag.
Style-Isolated
Uses Shadow DOM so your site's CSS never leaks into the widget and vice versa.
Customizable
Match your brand with custom colors, position, and label — all via data attributes.