Learn to add our Web behavior tracking script to your WooCommerce store.
Overview
Web behavior tracking is an advanced module giving you the power to collect identifiable contact data from your site, based on your contacts' browsing behavior.
To learn more about Web behavior tracking, check out the article Understand Web behavior tracking.
Before you start
Things you need to know:
- Check out The WooCommerce integration checklist to help track your progress.
- You must have a WooCommerce store connected to your Dotdigital account.
- Adding Web behavior tracking will automatically enable Abandoned browse.
To learn more, check out the article Using abandoned browse.
Step 1: Create your web behavior tracking profile
To create your Web behavior tracking profile:
- In Dotdigital, go to Settings > Access, and select the Web behavior profiles tab.
- Select NEW PROFILE.
- For Name, enter a name for your profile.
This can be anything you want, but make it recognisable.
- For Website domains, enter each domain you want to add the tracking script to.
Max: 15 unique domains. Omit the
https://www
– for example,example.com
. - Select CREATE.
- On Web behavior tracking profile, switch on Track abandoned carts.
- If you want to enable guest carts, switch on Enable guest carts.
- Copy your Unique ID.
You need this in Step 2.2.
- Select SAVE.
Step 2: Set up Web behavior tracking in WooCommerce
To set up Web behavior tracking in WooCommerce:
- In Wordpress, go to Dotdigital for WooCommerce > Settings.
- Under the header Tracking, select the Enable site and ROI tracking check box.
- Expand the Select region drop-down menu, and choose your Dotdigital region.
- For Web behavior tracking profile ID, enter your Unique ID.
This is the Unique ID you copied in Step 1.8.
- Select Save Changes.