AyolShop

@wocart/storefront v4.1.0


@wocart/storefront / astro / trackingHead

Function: trackingHead()

trackingHead(pixelId): string

The page's tracking head: its pixel, Meta's library and the no-script page view — or nothing when the page reports to no pixel. Place it in the head with <Fragment set:html={trackingHead(pixelId)} />.

Parameters

pixelId

string

Returns

string