Product Views

A Product View tracker is an action to remember a visitor's interests of certain products.

The use-case for this tracker is to enable dynamic banners.

ProductView Variables

The following tables contain implementation details about variables supported when using the Delta Projects tracker scripts.

All variable names and values are case sensitive.

Variable Definition Importance Note
action The string representing an action that should trigger. Required Value must be "productView" to register a productView.
skuList List of product identifiers related to this page. Required Max 10 products. Example value: ['sku123','sku789'].

Tracker implementation guidelines

General conventions

String encoding

All strings going in or out of Delta Projects must be in UTF-8.

Secure pages

The Delta Projects javascript tracker automatically adjusts for secure pages. You can use it on either protocol.

Tracker placement

There are no restrictions on where to put the javascript tracker, our recommendation is to put the script at the end of body as per yahoos best practices for speeding up your web site. But since the script is asynchronous and every measure has been taken not to block your page from loading the choice of placement is in your hands.

Placeholders

The tracker script added to pages should never contain the placeholder values, please remove the variable entirely if not used/needed. See examples below. Note that YOUR_UNIQUE_DELTA_TRACKING_ACCOUNT_ID will be replaced by Delta Projects.

YOUR_UNIQUE_DELTA_TRACKING_ACCOUNT_ID

In the examples in this document YOUR_UNIQUE_DELTA_TRACKING_ACCOUNT_ID is a placeholder string. In the trackers shipped from Delta Projects this placeholder is replaced with the id of your account in Delta Projects systems.

YOUR_PRODUCT_ID

The skuList variable is unique for the productView action and will register the unique product identifiers when triggered. This can for example be used in HTML5 materials together with the Feed API.

ProductView example

<script type="text/javascript">
  var _d7=_d7||[];

  _d7.push({
    action:"productView",
    skuList:["YOUR_PRODUCT_ID"] //REPLACE WITH ARRAY OF PRODUCT IDENTIFIERS
  });

  (function(){
    var d=document.createElement("script"),s=document.getElementsByTagName("script")[0];
    _d7.id="YOUR_UNIQUE_DELTA_TRACKING_ACCOUNT_ID";_d7.p=("https:" == document.location.protocol ? "https://" : "http://");
    d.src=_d7.p+"tb.de17a.com/d7.js";d.type="text/javascript";d.async=1;s.parentNode.insertBefore(d,s);
  })();
</script>

Last modified: Tue Jun 14 2016 15:22:26 GMT+0200 (Central European Summer Time)

results matching ""

    No results matching ""