承接 flamix/b24-lead 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

flamix/b24-lead

Composer 安装命令:

composer require flamix/b24-lead

包简介

B24 Lead SDK

README 文档

README

Screenshot

Site - https://flamix.solutions/bitrix24/integrations/site/ Docs with API and examples - https://lead.app.flamix.solutions/docs

Install

composer require flamix/b24-lead

Usage

try {
    //If need change APP use changeSubDomain('wpapp') method
    \Flamix\Bitrix24\Lead::getInstance()->auth('YOUR.BITRIX24.COM', 'YOUR.API.KEY')->send(['FIELDS' => ['name' => 'Roman']]);
} catch (\Exception $e) {
    $e->getMessage();
}

Switch plugin

This SDK can works with many all our "Website Integration". For default its work with general app - Site integrations. If you want switch to another module, please, youse method change changeSubDomain(). For example, if you installed "Integration with frameworks: Laravel, Symfony, Zend and Yii":

try {
    //If need change APP use changeSubDomain() method
    \Flamix\Bitrix24\Lead::getInstance()->changeSubDomain('leadframework')->auth('YOUR.BITRIX24.COM', 'YOUR.API.KEY')->send(['FIELDS' => ['name' => 'Roman']]);
} catch (\Exception $e) {
    $e->getMessage();
}

Module domains:

  • lead - Website Integration (Default);
  • leadframework - Integration with frameworks: Laravel, Symfony, Zend and Yii

SmartUTM

When we didn't have UTM source, but have REFERER (for example, facebook.com) - we can set UTM_SOURCE=facebook.com Put this code in header sections in every page.

\Flamix\Bitrix24\SmartUTM::init();

Trace

Trace save visited pages and user devise.

\Flamix\Bitrix24\Trace::setPage('Your page title');

Trace & SmartUTM

\Flamix\Bitrix24\Trace::init('Your page title');

Auto analytics

On send() the SDK enriches the lead with analytics data collected from the visitor's cookies (unless disabled with disableAutoAnalytics()):

Field Source cookie Platform
GA_UID _ga Google Analytics
FB_UID _fbp Facebook Pixel
YM_UID _ym_uid Yandex Metrika
TT_UID _ttp TikTok Pixel
ROISTAT_VISIT_ID roistat_visit Roistat

Make sure the matching user fields exist on the Bitrix24 side, otherwise the values are ignored.

Click ids

Trace::init() also captures ad click ids from the URL and stores them in a 7-day cookie, so they survive until the lead is submitted:

  • gclid — Google Ads click id
  • ttclid — TikTok click id

These click ids are folded into UF_CRM_FX_CONVERSION by flamix/conversions (requires ^1.1 for TikTok support).

统计信息

  • 总下载量: 2.42k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 11
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2021-01-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固