Re: App embed block on Order thank you page?

App embed block on Order thank you page?

liamhey
Tourist
8 0 4

Hi All

Currently my app is using a ScriptTag on the order thank you page and I am looking at how to upgrade my app for 2.0...

When I setup an app embed block targeted to body, and enable it on my theme I notice it doesn't render on the order thank you page.

Is it possible to use app embed blocks on the thank you page or is there another way to do this in 2.0?

 

Cheers

Liam

Replies 4 (4)

mikefortney
Shopify Partner
16 0 10

I have this same question right now. I would prefer not to use post-purchase checkout extension since it is in beta and has so many limitations, so I would like to continue using ScriptTag to load a content block on the order status page. However I can't find a straight answer on whether ScriptTag API use will be allowed in newly submitted apps.

harrisonstdev
Shopify Partner
1 0 0

Same exact question here. Our app depends upon a ScriptTag in the thank_you page to track sales and I'm at a loss for how we'll be able to do this in 2.0.

How are any apps that provide advertising going to be able to track conversions in 2.0? Thanks for any help.

mikefortney
Shopify Partner
16 0 10

Ok I've gotten a little clarity on this thanks to a Shopify consultant I consulted with 😉

Apparently the Shopify.Checkout.OrderStatus.addContentBlock method was added in the last 12 months or so, and will likely not be going anywhere until they release a 2.0-specific replacement. Same goes for ScriptTags in general. So for now it seems that those of us using the addContentBlock method and ScriptTags in general are safe for now. Take this with a huge grain of salt, since I am brand new to Shopify development and this is second hand information. I'm going to take it as a green light to keep pursuing ScriptTags as my integration path for order status page content.

abhishektaparia
Shopify Partner
9 0 6

Hi @mikefortney 

 

Are you getting the order/purchase details for 2.0 themes as well using ScriptTags on thank_you page? Also, Is there any major challenge by adding `write_script_tags` scope for app in the review process?

 

Hi all,

Is there another way introduced in the past year to make make sure app embed block(app extension) works in thank_you page? @liamhey @mikefortney @harrisonstdev