For the complete documentation index, see llms.txt. This page is also available as Markdown.

Shopify

步骤 1:创建 Offer

对于无 Cookie 跟踪,必须在 Offer URL 中以及创建 Offer18 仪表板中的 Offer 时的所有落地页中包含点击 ID 参数和 token。

示例
https://shopurl.com/?<YOUR-CLICK-ID-PARAMETER>={tid}


步骤 2:代码放置

  1. 在您的 Shopify 管理后台中,前往“设置"

  2. 导航到“客户事件" » "添加自定义像素"

  3. 输入“像素名称”,然后点击“添加像素"

  4. 删除“中的现有内容代码”部分

  5. 现在,将下面提供的脚本放入“像素编辑器”部分

请确保脚本中的占位符已替换为该活动的实际信息。占位符说明如下表所示。

Placeholder

Explanation

<YOUR-CLICK-ID-PARAMETER>

This is the clickid parameter used while creating the offer.

<YOUR-POSTBACK-DOMAIN>

Postback domain of the user. (domain)

<YOUR-ACCOUNT-ID>

Offer18 account id of the user. (accountId)

<CAMPAIGN-ID>

Id of the offer. (offerId)

  1. 前往保存


自定义结账选项

如果您使用下面列出的任何自定义结账方式,则必须使用对应于该第三方结账的相应转化脚本。

Shiprocket

GoKwik

Razorpay Magic Checkout

在您的 Shopify 账户的 "theme.liquid" 中实现下面的脚本。

  1. 在您的 Shopify 管理后台中,前往 在线商店 » 主题.

  2. 点击“…”(三个点) » 在您当前启用的主题上编辑代码。

  3. 打开文件: 布局 » theme.liquid

  4. 现在,将下面提供的脚本放在关闭 </body> 标签 » 保存

将下面的代码放入 客户事件 在 Shopify 账户中。

Flexype


收集数据

您可以使用各种 Offer18 Postback 参数来收集转化数据

转化数据

Offer18 Postback Parameter

Variable to use

Currency

currency

Total Amount of the Order

sale

Order ID of the Order

adv_sub5

Discount Coupons

coupon


调试模式

用户可通过取消注释 'window.Offer18WebSDK.activateDebugMode();'

最后更新于