Track Buy Now Activity With Google Analytics
Introduction
Buy Now can be used with 3rd-party analytics tools like Google Analytics to target specific URL parameters. Gain precise insights into how customers engage with Buy Now. This article will outline the basics of product seller link URL and the key URL parameters used.
The following is a product seller link URL example that contains three properties of note that can be used to track which interaction the user performs, which retailer (or distributor) the user is interacting with and which product model (if applicable) these interactions are for:
Product Locator Link Example
https://services-v2.omacro.com/BuyNow/ProductTransaction?x=lbnNnWmkL0WvnYd5bf1e9w&t=8r9yAirAU0qfA9cHERX0Cw&w=&q=OnlineSellerClicks&ga-retlr=Best+Buy&ga-prd=D-X2EGeneral Dealer Locator / Distributor Locator Link Example
https://services-v2.omacro.com/BuyNow/ProductTransaction?x=lbnNnWmkL0WvnYd5bf1e9w&t=8r9yAirAU0qfA9cHERX0Cw&w=&q=OnlineSellerClicks&ga-retlr=Best+BuyURL Parameter Definitions
The following are the parameters that are appended to the URL:
Parameter Key | Parameter Value |
ga-retlr | This parameter will contain the retailer name (for example: Best+Buy). Please note, values are URL encoded. |
ga-prd | This parameter will contain the product model name (for example: D-X2E) Please note, values are URL encoded. ***This parameter will not be present when using the General Dealer Locator or Distributor Locator. |
q
| This parameter will contain the omacro "Link Type" associated with the user interaction. For a description of the different link types, please use the chart below.
|
Link Types
The following are parameter values used for the "q" parameter:
Parameter Value | Description |
PageViews | The page that hosts the Buy Now script is called. |
PopupClicks | The user interacted with the Buy Now feature (to recall the popup or access the script if loaded via
|
OnlineResultsViewed | The user has viewed the Online market tab. |
OnlineSellerClicks | The user has clicked on an Online market retailer, dealer, or distributor (depends on how the Buy Now control is implemented) |
LocalResultsViewed | The user has viewed the Local market tab. |
ClickForDirections | The user has clicked on a Local market retailer map for directions. |
ClickForCall | The user has clicked on a Local market phone number or call button. |
ClickForShare | The user has clicked on a Local market retailer share information button. |
ClickForWebsite | The user has clicked on a Local market retailer website link. |
ClickForDetails | The user has clicked on a Local market retailer to view details panel. |
Related Articles
Buy Now API Guide
The following guide is aimed at assisting developers in understanding how the omacro Buy Now services work in an effort to develop a custom front-end solution. If you are not familiar with this type of development, it is highly recommended that you ...
Supplier Buy Now Implementation Guide
The following article discusses various ways to implement Buy Now as a popup or embed within a page as a Product Based Dealer Locator or General Dealer Locator. Buy Now can be configured to open to a specific market (Online or Local) to show one or ...
Product Based Dealer Locator Website Code Implementation
Step 1: Include script within website The example below demonstrates what's needed to integrate the Buy Now widget with your site. Simply update desired parameters then copy the snippet into your website. <script id="omacro-widget-buynow" ...
Buy Now Service Information for Network Professionals
The Buy Now popup client-side script works in conjunction with a number of omacro web service endpoints to deliver it's content. For successful operation of the service, it is important to ensure the Buy Now script can properly communicate with it's ...
Manage Supplier Buy Now Links In Bulk
Introduction Easily and effectively manage your supplier "Buy Now" links in bulk and better visualize which products are available to your company using the "Buy Now Links" data grid. View which products are available and from which suppliers: See ...