does anyone know how to add js code for accessibility on the checkout page?
we are using Checkout Extensibility
we are on shopify plus, and succeed to add the js code on the rest of the pages via gtm
does anyone know how to add js code for accessibility on the checkout page?
we are using Checkout Extensibility
we are on shopify plus, and succeed to add the js code on the rest of the pages via gtm
the only 2 things you can do is add âfunctionsâ and âpixelsâ. depending on what youâre looking for, i would like into these 2.
isnât Shopify Functions are being phased out soon?
Shopify scripts is being phased out and its replaced by Functions.
Hi David,
Did you try to use âCustomer Eventsâ ?
Iâm using it for DataLayers and Pixels
https://shopify.dev/docs/api/web-pixels-api/standard-events
Yes, if by accessibility you mean modifying HTML attributes in the DOM (such as adding events to elements or create new elements) on the checkout page with JavaScript, this isnât possible due to restrictions.
If you want to add JavaScript to capture custom events during interactions with the checkout, you can use custom pixels or other limited JavaScript configurations.
Please provide more details about your use case so I can better understand what youâre trying to achieve.
This is how you want to add GTM in the checkout:
https://help.shopify.com/en/manual/promoting-marketing/pixels/custom-pixels/gtm-tutorial