Asset API Access Transition to Theme App Extensions

user072319
Shopify Partner
128 0 15

I have a live Shopify app. I am seeing the below message in the API Health section of the app.

 

Shopify Partners 2023-11-21 00-43-26.png

 

My app uses Assets API to insert Google meta tag and Google Tag Manager (GTM) script tag to the <head> section of client's website. In this case do I need to create a theme extension for the app?

 

The app is an SEO app. There is no UX blocks added by the app. 

 

Thanks in advance.

Reply 1 (1)

SBD_
Shopify Staff
1829 269 406

Hey @user072319 

 

Yep, this would make sense as a theme extension. To modify the <head>, check out the `target` attribute in the schema.

Scott | Developer Advocate @ Shopify