Follow

Url Tracking Click

This method consist in use our product url with parameters in each href of the recommender HTML. The url are taken from the recommendation response and must have the parameters idRecommendation and idPrevPage.

  • idRecommendation (mandatory): and is composed by the ID of the recommender and ID of the product in this form: idRecommender-idProduct.
    Hardcoded example: idRecommendation=5-421
  • idPrevPage (optional)represent the previous page where the user was before the redirection. Is good to use it in case you have numeric identifiers for the pages in your web.
    Hardcoded example: idPrevPage=6814 

This is an example using the product HTML code of one of our default recommenders:

<tr>
<td class="RecSINS-W-ItemsTD">
<div>
<div class="RecSINS-W-ItemsImage">
<a href="${url}">
<img class="RecSINS-W-ItemsImage" src=${image} border="0">
</a>
</div>
<div class="RecSINS-W-ItemsLine1" id="ItemsLine1">
<a href="${url}">${name}</a>
</div>
<div class="RecSINS-W-ItemsLine2">${price}</div>
</div>
</td>
</tr>

Now, the same example with hardcoded url: 

<tr>
<td class="RecSINS-W-ItemsTD">
<div>
<div class="RecSINS-W-ItemsImage">
<a href="http://catalog.brainsins.com/default/catalog/product/id/28984/toalla-gris/?idRecommendation=1-28984&idPrevPage=8623">
<img class="RecSINS-W-ItemsImage" src=${image} border="0">
</a>
</div>
<div class="RecSINS-W-ItemsLine1" id="ItemsLine1">
<a href="http://catalog.brainsins.com/default/catalog/product/id/28984/toalla-gris/?idRecommendation=1-28984&idPrevPage=8623">${name}</a>
</div>
<div class="RecSINS-W-ItemsLine2">${price}</div>
</div>
</td>
</tr>

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk