Adding checkout script - In latest update where additional scripts are deprecated

Adding checkout script - In latest update where additional scripts are deprecated

EcomTechie
Shopify Partner
4 1 1

I need to setup the Microsoft Bing ads and for that I need to add a script in additional scripts in checkout setting, but now that is deprecated. How can I now setup the same kind of thing to track my conversion for bing without that additional script feature.

Reply 1 (1)

Sandip-Harkhani
Shopify Partner
2 0 0

Hi @EcomTechie

 

Since Shopify has deprecated the "additional scripts" feature for the checkout settings, you can still set up Microsoft Bing ads conversion tracking by using Shopify's new checkout extensibility options.

 

To Add Bing Ads Tracking Script Using Google Tag Manager set up Google Tag Manager, create a new tag in GTM and publish the tag.

 

Adding the Script to Your Theme

  1. Edit Theme Code:
    • From your Shopify admin, go to Online Store then Themes.
    • Click Actions then Edit code on your current theme.
  2. Add Script to the Order Confirmation Page:
    • In the theme editor, find the file for the order confirmation page, often called checkout.liquid or order-confirmation.liquid.
    • Paste your Bing Ads tracking script within this file, ensuring it's placed in the appropriate section to execute upon order completion.

By following these steps, you can set up Bing Ads conversion tracking on your Shopify store without the deprecated "additional scripts" feature.