1. Home
  2. Integration & Setup
  3. Practice tips & guides
  4. Sample Concept for eCommerce Sites
  5. Internal Searches & On-site Teaser

Internal Searches & On-site Teaser

When orders are recorded, etracker will automatically calculate a value for each event as well as for the individual pages and page areas. This shows how valuable an individual page, area or event object is in regard to the following transactions, that is, how often the page or event was viewed by visitors, who executed an order.

Along with this, there is also the option to directly determine how many orders and what volume was generated by website visitors after a certain event. On-site campaigns are used for this.

On-site campaigns for recording the internal search

Depending on whether or not the display is with or without results on the search result page, the following code must be transferred in the etracker code. Example: Search phrase “Product A” with result

var cc_attributes = new Object();
cc_attributes["etcc_cu"] = "onsite";
cc_attributes["etcc_med_onsite"] = "Internal search"; 
cc_attributes["etcc_cmp_onsite"] = "With result"; 
cc_attributes["etcc_st_onsite"] = "Product A"; 

Example: Search phrase “unknown” without result

var cc_attributes = new Object();
cc_attributes["etcc_cu"] = "onsite";
cc_attributes["etcc_med_onsite"] = "Header search"; 
cc_attributes["etcc_cmp_onsite"] = "without result"; 
cc_attributes["etcc_st_onsite"] = "unknown";