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 Store → Preferences. 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.
Where is the checkout.liquid template file?
Answer: The checkout.liquid template file can be found on your Shopify dashboard → Online Store → Themes.
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
Can I talk to someone?
Answer: Absolutely - we are more than happy to help! Please contact us via any of the channels:
- email: [email protected]
- chat: initiate a conversation via the button on the bottom right of the Address Validator dashboard
- call: pick a time on our calendar here