Search
 
 

 

Setting up Google Analytics with the DPD Instant Checkout Products

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.

To do Google Analytics tracking with Instant Checkout Products you will need:


1.   A Google Analytics account
2.   A DPD Account

Step 1:  Add your Google Analytics tracking code to your Instant Checkout Product


First, you have to tell DPD what tracking code to display on your Instant Checkout product delivery page

1.  Log in to DPD
2.  Go to Products > DPD Products list to open your list of products
3.  Find the product you want to track in the list and click the edit icon to open the product editor
4.  Hit next and Skip Upload to skip to the Delivery Options page
5.  Open the Download Page Tracking / Analytics Code box and paste your complete Google Analytics tracking code in to the box.  Click next to save the change.
6.  Get your product ID:

To get your product ID, look at the URL in the buy now button code generated by DPD for your product:

Examples:  

Buy Now Button Code URL:  https://www.digitalproductdelivery.com/buy/1234

In this example, 1234 is your product ID.   Note this number as you'll need it in a moment to set up Google Analytics to look for the right URL.


Step 2:  Set up Google Analytics


In order to track conversions you'll need to tell Google Analytics the URL that would signal a completed sale.

7.  Log in to Google Analytics
8.  Open your sales site's profile
9.  Click on Analytics Settings and edit the profile for your sales site
10.  Under the Goals section, select "Add Goal" to create a new goal
11.  Enter your goal name (for example, "Completed Sale"), set the goal to active and choose your goal position.
12.  For Goal Type, choose "URL Destination"
13.  Enter the following for Goal Details:

Match Type:   Head Match
Goal URL:    http://www.digitalproductdelivery.com/deliver/1234/  where 1234 is YOUR PRODUCT ID from #5 above
Case sensitive:  No (unchecked)
Goal Value:   The price of your product (for example, $19.95)

14.  Save the goal and you're done.

How this works:


All DPD delivery URLs follow a common structure:


http://www.digitalproductdelivery.com/deliver/<PRODUCT-ID>/purchase_id/<PURCHASE-ID>/salt/<UNIQUE-IDENTIFIER>

The portion of the URL in purple above will always be the same for your store.  The Purchase ID and salt/unique identifier change for every purchase as an anti-theft and security feature.

By performing a Head Match on the
http://www.digitalproductdelivery.com/cart/deliver/<PRODUCT-ID>/ portion of the URL, Google Analytics will track every completed purchase, regardless of the purchase ID and unique identifier.