Know Your Customers
Install the snippet to track visitors on your site and to create personalized customer interactions. The snippet allows you to:
Locate Your Snippet
Find your snippet under Settings > Account > Site Setup. There is no need to modify the code, you can copy and paste it directly into your website code as it is.
You must be an account owner or an account admin to locate the Snippet in Drip.
Install Your Snippet On a Custom Site
Before you install your snippet, make sure that it has not been previously installed with any third-party integrations on your site. Once you’ve confirmed that the snippet is not on your site, copy and paste the code found under Site Setup right before the closing
</body> tag. Include this code on pages where you aren’t displaying any Drip forms so that we can accurately track visitor stats for you.
If you’re using Google Tag Manager, WordPress, Shopify, or Magento V2, you do not need to manually install the snippet on your website.
Install Your Snippet on a WooCommerce Store
- Log in to your WordPress account
- Go to Plugins > Add New
- Search by author for "getdrip"
- Click Install Now on Drip for WooCommerce (NOT Drip for WordPress)
- Click Activate plugin
Install Your Snippet on a Squarespace Site
Log in to your Squarespace account
Got to your site Settings
Go to Advanced settings > Code Injection
Locate the Footer heading and paste your Drip snippet into the text area
Click Save to update your changes
Once saved, any active Widget opt-in forms currently activated in your Drip account will appear on your Squarespace site.
Install Your Snippet on a Weebly Site
Log in to your Weebly account
Go to Sites Admin > Edit Site
Click Settings > SEO
Click Save > Publish
Install Your Snippet on a Wix Site
Follow these instructions on how to locate and add custom code to your site
In your Wix site code, paste the snippet in between the "Body - Start" and "Body - End"
Install Your Snippet on a Shopify Site
Install Your Snippet on a Magento Site
To manually install the snippet for the M1 extension:
Log into your Magento store
Go to the Admin Panel > CMS > Pages
Click on the page you would like to install your snippet on
Click on the HTML button to view the source code
Click Update > Save Page
Now your Drip JS snippet is installed on that page. Repeat these steps for each page that is not a product page.
For the Magento 2 extension, the Drip JS snippet is automatically installed on non-product pages so you do not need to manually install it.
Check the Snippet on your Website
Inspect your site’s source code in Chrome, Firefox, or Explorer
Go to your website’s URL
Right-click on the page and select "View page source"
Search the code (Control + F) for “getdrip”
Arrow down until you see your snippet
Inspect your site’s source code in Safari
Go to the Safari menu bar
Click Safari > Preferences
Select the Advanced tab
Choose Show Web Inspector