Follow the below steps to set up for EnquireLabs post-purchase survey on your CartHook order confirmation page. CartHook recently launched a native Shopify integration that does not require this custom setup.
In your Integrations tab, select connect to access your Enquire survey script. To note, you'll need to be on the Enquire Pro plan to enable this integration.
After you enable your CartHook integration, you'll be presented with your installation code. Copy this code as you'll need it for step 3.
To access the Global Code page in your CartHook account, click the menu button on the top right and then "Global Scripts."
On the Global Code page, scroll down until you find the "Thank You page scripts" section and paste the Enquire installation code into the input box.
If you have multiple scripts in this section, you'll need to edit our script due to how CartHook processes their Global Scripts. Use the below script and copy and paste the enquirelabs.com URL from your script in line 3. More information in CartHook's docs here.
If you're using CartHook's default confirmation page, this step may not be needed.
In your CartHook account, head to Funnels and click the funnel you're looking to add your Enquire post-purchase survey on. Next, click "Thank You Page" then "Edit Page."
On the following page, click </> to access the HTML of your confirmation page.
Insert the below code after line 8.
<div data-ch-type="text" data-post-purchase-survey></div>
Updated 4 months ago