Skip to content

💄 style: add x ads analytics provider - #7

Merged
sudongyuer merged 1 commit into
masterfrom
codex/lobe-7120-x-ads-provider
Apr 19, 2026
Merged

💄 style: add x ads analytics provider#7
sudongyuer merged 1 commit into
masterfrom
codex/lobe-7120-x-ads-provider

Conversation

@sudongyuer

Copy link
Copy Markdown
Collaborator

Summary

  • add an X Ads client provider backed by the official twq + uwt.js pixel
  • support purchase plus configured custom event id mappings for web analytics
  • add coverage for initialization, purchase mapping, custom events, and missing pixel id handling

Testing

  • bunx vitest run --silent='passed-only' 'src/providers/xads.test.ts'\n- bun run type-check\n\nFixes LOBE-7120

@lobehubbot

Copy link
Copy Markdown
Member

👍 @sudongyuer


Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@pkg-pr-new

pkg-pr-new Bot commented Apr 19, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@lobehub/analytics@7

commit: 22e5592

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine

@sudongyuer
sudongyuer merged commit 3ace191 into master Apr 19, 2026
6 checks passed
@lobehubbot

Copy link
Copy Markdown
Member

❤️ Great PR @sudongyuer ❤️


The growth of project is inseparable from user feedback and contribution, thanks for your contribution!
项目的成长离不开用户反馈和贡献,感谢您的贡献!

github-actions Bot pushed a commit that referenced this pull request Apr 19, 2026
### [Version 1.6.2](v1.6.1...v1.6.2)
<sup>Released on **2026-04-19**</sup>

#### 💄 Styles

- **misc**: Add x ads analytics provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add x ads analytics provider, closes [#7](#7) ([3ace191](3ace191))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot

Copy link
Copy Markdown
Member

🎉 This PR is included in version 1.6.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants