Jason Chance
posted this on April 20, 2010 22:57
DPD supports conversion tracking with Google Analytics. Both Storefront cart and instant checkout can be tracked with Google Analytics, and setup only takes a few minutes.
1. A Google Analytics account
2. A DPD Account
First, you have to tell DPD what tracking code to display on your storefront cart and delivery pages.
1. Log in to DPD
2. Select the store you want to set up Analytics for from the Store pull down at the top of the page.
3. Click on Settings from the left navigation.
4. Enter your complete Google Analytics tracking code in the "Tracking HTML" field and save
5. Get your storefront ID:
To get your storefront ID, look at your "view cart / checkout" button code that you have pasted in to your site. The URL in this button code contains your storefront ID. Alternately, you can look at the page URL of your storefront options page for your store's unique Storefront ID:
Examples:
View Cart button code: https://getdpd.com/cart/view/1234
In this example, 1234 is the storefront ID. Note this number as you'll need it in a moment to set up Google Analytics to look for the right URL.
In order to track conversions and create a goal funnel, you'll need to tell Google Analytics the URLs that would signal a completed sale.
6. Log in to Google Analytics
7. Open your sales site's profile
8. Click on Analytics Settings and edit the profile for your sales site
9. Under the Goals section, select "Add Goal" to create a new goal
10. Enter your goal name (for example, "Completed Sale"), set the goal to active and choose your goal position.
11. For Goal Type, choose "URL Destination"
12. Enter the following for Goal Details:
Match Type: Head Match
Goal URL: https://getdpd.com/cart/deliver/1234 where 1234 is YOUR STORE ID from #5 above
Case sensitive: No (unchecked)
Goal Value: The price of your product (for example, $19.95)
Advanced Option: Optionally, you can create a Goal Funnel to track cart abandonment. After adding all the URLs that customers will go through on your site BEFORE reaching the cart, Add a funnel URL and enter the following:
URL: /cart/view/1234 where 1234 is YOUR STORE ID from #5 above
Name: View Cart
Note: The /cart/view/1234 URL should be the last step in your goal funnel after all pages on your site.
13. Save the goal and you're done.
All DPD delivery URLs follow a common structure:
https://getdpd.com/cart/deliver/<STOREFRONT-ID>
The portion of the URL above will always be the same for your store.
By performing a Head Match on the https://getdpd.com/cart/deliver/<STOREFRONT-ID> portion of the URL, Google Analytics will track every completed purchase, regardless of the other parameters used to verify the cart.
Comments
How this changes if I used the single product option and I am also sending the buyer to a second offer after checkout?
Many thanks for the in depth tuts!
Hi, I seem to have trouble in tracking checkout begin with instant checkout. As you can see below my conversion is pretty dismal, and i still want to see where those checkout begins come from.
I dont see any records of begin checkout in my G analytics account.