Tray External Scripts Manager

•
4
•

Manages and injects custom JavaScript, tracking pixels, and third-party scripts into Tray e-commerce storefronts.

The Tray External Scripts skill enables developers to programmatically control the lifecycle of JavaScript integrations on the Tray e-commerce platform. It provides specialized capabilities for listing, creating, updating, and deleting scripts across various page locations including the head, body, and footer. This tool is essential for implementing marketing tags like Google Tag Manager and Facebook Pixels while adhering to performance best practices such as HTTPS enforcement and non-blocking script placement to ensure optimal store speed and security.

主な機能

01Enforcement of HTTPS security and non-blocking loading practices
024 GitHub stars
03Standardized JSON payload generation for the Tray /scripts endpoint
04Quick activation and deactivation of tracking pixels without code removal
05Automated script injection into head, body, or footer locations
06Full CRUD operations for external script management via Tray API

ユースケース

01Integrating Google Tag Manager or marketing pixels into an online store
02Auditing and listing all active third-party scripts on a Tray storefront
03Temporarily disabling tracking scripts for troubleshooting or site maintenance