跟踪在不同站点上特定产品的购买 [英] Tracking purchase of particular product on different sites

查看:114
本文介绍了跟踪在不同站点上特定产品的购买的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网站,其他网站所有者可以在该网站上列出其产品.为了列出产品,他们需要通过提供产品的titledescriptionimagelink手动创建产品.

当任何用户访问我的网站时,他将能够查看这些产品,并且在单击任何产品时,他将被重定向到所有者的网站,并在他的网站上进行购买.

现在,我需要构建一个功能,通过该功能,我可以跟踪该特定产品的销售,该特定产品是否已售出的完整交易.

  • 只要网站所有者来我的网站列出他的产品,他都需要先在我的网站上注册.
  • 注册后,我可以为他提供一部分脚本,他需要将其放在网站标题上.
  • 除此之外,我无法修改他的网站.我只需要跟踪特定产品的交易即可.

我搜索并发现 Trivago 解决方案

为确保您的Postback在所有平台和提供商上均可使用,您必须为商家提供多种方式在其网站上实施.

  • JS脚本(您已经完成了此操作)
  • 服务器到服务器的实现(S2S回调)-在其中发送标头中的订单ID或获取参数,商人必须将其提供回来.

示例:您按照以下格式发送点击量: http://merchant_url.com/?tracking_id = 123123123

在对您的跟踪网址进行购买后,商家会返回:

http://your_tracking_url/?merchant_id = 1& tracking_id = 123123123

通过这种方式您可以识别流量

  • 1个像素iframe,它们会在其感谢"页面上加载,并通过点击order_id参数

示例:您的商家应在其谢谢"页面上放置以下内容:

    <iframe src="http://your_tracking_url_iframe/tracking_id=123123123"
    style="height:1px;width:1px"/>

  • 最后,在这种情况下,通常也使用1px的图像元素.

示例:

    <img src="http://your_tracking_url_img/?tracking_id=123123123" style="height:1px;width:1px"/>

这样,即使商家在感谢页面上使用简单的html/js,他们也可以始终使用指定的参数加载iframe,这将有助于您跟踪销售情况.

希望这会有所帮助.

I have a website on which other websites owner can list their products. For listing the product they need to manually create the product by providing title, description, image and link of products.

When any user will visit my website he will be able to view these products and on click of any product he will be redirected to the owner's website and purchase will be done on his website.

Now I need to build a functionality by which I can track the complete transaction of the sale of that particular product, that particular product has been sold or not.

  • Whenever any site owner is coming on my site to list his product he needs to first register on my site.
  • After registration, I can provide him a chunk of a script that he needs to put on his site header.
  • Apart from this, I cannot modify his site. And I just need to track the particular product's transaction.

I have searched and found that Trivago and Skyscanner are using something like this.

I have tried to create some scripts in JS but couldn't track the desired things, as sometime user does not purchase my item and I did not know about this. In some sites, thank you page does not have enough information about the sale to capture.

If that can be possible just by adding few more things on Marchent's website please let me know.

解决方案

To make sure that your Postback works on all platforms and providers, you must provide more than one way to your merchants to implement on their websites.

  • JS script ( you already done that )
  • Server to server implementation (S2S callback) - where you send the order id in the headers or get parameters, and the merchant must provide it back.

Example: you send your traffic as below format: http://merchant_url.com/?tracking_id = 123123123

The merchant returns back when a purchase is made to your tracking url:

http://your_tracking_url/?merchant_id=1&tracking_id=123123123

This way you can identify your traffic

  • 1px iframes, that load on their thank you page and they pass the click order_id parameters

Example: your merchant should place something like the below on their thank you page:

    <iframe src="http://your_tracking_url_iframe/tracking_id=123123123"
    style="height:1px;width:1px"/>

  • lastly, even 1px image elements are usually also used in such cases.

Example:

    <img src="http://your_tracking_url_img/?tracking_id=123123123" style="height:1px;width:1px"/>

This way, even if merchant is using simple html/js on their thank you page they can always load your iframe with the specified parameters which will help you track a sale.

Hope this helped.

这篇关于跟踪在不同站点上特定产品的购买的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆