Shopify code snippet issues

FAQ on code snippet issues for Shopify merchants
S
Written by Support
Updated 1 year ago
In order to insert the code snippet, you must have Shopify Plus

The code snippet allows Address Validator to load during checkout rather than post-checkout on the Thank You page. 

Do I have the additional scripts feature enabled?

Answer: If you are not on Shopify Plus, please add this code snippet to the Google Analytics Additional Javascript section:

;console.log(document);

This section can be found on your Shopify dashboard → Online StorePreferences. Contact us at [email protected] after this is done so we can determine if the additional scripts feature is enabled.

With Shopify Plus, you can insert the code snippet into the checkout.liquid template file so there is need to worry about this.

What is the checkout.liquid template file?

Answer: The checkout.liquid template file allows merchants to fully customize and to add functionality to the checkout experience.

This file is only available to Shopify Plus merchants.

Where is the checkout.liquid template file?

Answer: The checkout.liquid template file can be found on your Shopify dashboard → Online StoreThemes.

If you do not see the checkout.liquid template file and have Shopify Plus, please contact Shopify support and ask them to activate the checkout.liquid template file for your account. This request just takes a few minutes and must come from the store owner.

I inserted the code snippet, but why isn't the app loading?

Answer: Make sure you do the following:

  • Insert the code snippet directly below the {{ checkout_scripts }} line in the checkout.liquid template file
  • Click the Save button on the Shopify dashboard after inserting the code snippet
  • Toggle the first option on the the Address Validator dashboard → Location of Address Prompts box
  • Go to your checkout with a new incognito browser and try again
If you still do not see the app loading, please contact Shopify support and ask them to activate the checkout.liquid template file.

Can I talk to someone?

Answer: Absolutely - we are more than happy to help! Please contact us via any of the channels:

Did this answer your question?