What's your biggest current challenge? Have your say in Community Polls along the right column.

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
1 0 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.

Replies 2 (2)

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.

Sam_Mahmud
Shopify Partner
266 11 14

Hi ecomtechie,

 

Thanks for your query.

 

could you please share your website URL?

 

IF you would like to track the purchase event for any platform like bing ads, google ads, meta pixel through google tag Manager you must have the purchase event datalayer to push event when someone makes the purchase. 

 

Purchase datalayer in customer events.pngpurchase event in the GTM preview.png

 

 

After installing datalayer you can trigger purchase event with Microsoft event tracking tag in Google tag Manager.

 

 

Feel free to ask if you have any questions or don't hesitate to PM me for further discussion.

 

Thanks

Your COFFEE TIP! Can Create something incredible!
Require Assistance with website design or enhanced conversion tracking Via Google Tag Manager GTM ?
sam.analyst4@gmail.com! or WhatsApp!
Solved? accept it as solution with like