Note: This script is not needed for shops on the Shopify Plus plan!

Shopify has limited access to the checkout steps pages for apps and scripting. However, the TrackifyX script is approved to run on these pages. Here are the steps to make it work:

1. Go to the Pixel Engine page in the TrackifyX admin. Open the tab "Additional Google Analytics...", click the Copy button and click on Shop Prefs. This will open up the Online Store Preferences settings for your shop in a new browser tab. 

2. Scroll down to the Google Analytics section and paste the script into the "Additional Scripts" field and click Save at the top right. (Note: You have to have your Google Analytics account set up in that section before the Additional Scripts field will show.)

Possible Obstacles:

If you get a red message that says "Edit has been disabled for this field. Please contact Shopify support to enable it..", get on a chat with Shopify support and ask them to 'Please enable scripting for the "Additional Google Analytics JavaScript" field for the store: ... '. If they ask what you want to use it for, say "Google Analytics".

IMPORTANT:

Test and make sure that Trackify pixels are firing on the checkout pages! Let us know via the in-app chat if you need any help with this! If you don't see any pixel events there, please proceed with the following:

Contact Shopify Support and request that the permissions for your GA additional scripts field get changed to allow execution of the script that is in there now.

😄 Ask the Guru to look up the "Guru card" called "Additional-Google-Analytics-Javascript-Enable-Edit-Access", and remind them that stores before Jan 30 2019 are allowed to have this enabled:

"additional_scripts enabled" is what you need to request:

If they ask, what you're using the script for let them know it's for enhanced Google Analytics tracking. Contact Trackify support via the in-app chat if you encounter any difficulties!

Was your shop created after Jan 30, 2019?

Shopify won't allow any app script to execute on the checkout steps pages because your store was created after Jan 30, 2019.

Shopify recommends that you file a protest/request with their support chat. They say that if enough users protest this policy decision they might reverse it.

However, the InitiateCheckout events are firing on the button click before the checkout step pages, and you are only missing the non-essential AddPaymentInfo event with the current policy.

You could test other checkout alternatives, like Checkout-X, if you think the additional events would be a great benefit

Did this answer your question?