Add Postscript SDK to Your Headless Shop

Who gets this? Shops on all Postscript plans have access to the Postscript SDK. Learn more about Postscript Plans.

Shopify offers the ability to create an entire brand and shopping experience within Shopify--from About Us and Contact Us pages to product galleries and checkout. 

Some brands, however, choose to host the front end of their store separate from Shopify (e.g., WordPress, ClickFunnels, etc.). This type of shop is commonly referred to as a "headless shop."

If your brand is considered a "headless shop", please know that in order for Postscript to work for your shop, it's important to add the Postscript software development kit (SDK) to your shop's code.

About Postscript SDK

Our SDK code contains our desktop and mobile popups, our opt-in checkbox for checkout, and TCPA-compliant language.

In order for these items to display and work properly, you will need to include our SDK in the script for each page where an opt-in method will live or appear (e.g., popups, embedded forms, landing pages, checkout, etc.)

You can add it manually, as we'll walk through below, or you can use a tag manager solution, such as Google Tag Manager.

Add Postscript SDK

  1. Open the file that contains the code for the page where your popup, form, etc. will appear.
  2. Locate the <head> section. Beneath the <head> tag, paste the following code:
    <script async src=""></script>
  3. Replace XXXX with your Postscript Store ID. This ID is not your store name, but a numerical number.
  4. You can locate your store ID in your account settings. Select your Shop Name in the side menu of your Postscript dashboard, then select Settings.


Additional Resources

  • Have you already sent out your branded contact card? If not, encourage your subscribers to save your digital business card to promote conversational commerce and deliverability. Learn how here.
  • Did you know you can customize your attribution windows so you can better understand your SMS conversions? Learn more about tracking here.
  • Did you know customizing your subdomain can create a cohesive brand experience from site to text thread? Learn how to customize your subdomain here.

Get Support

Have questions? Please feel free to reach out to our wonderful Support team at or via live chat. You can also submit a support request here!

Need ongoing channel strategy guidance? Please fill out this form and we'll connect you to one of our certified partners.

Was this article helpful?
0 out of 0 found this helpful