
Product
Unify Your Security Stack with Socket Basics
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
@firstandthird/ab-test
Advanced tools
Simple A/B Testing library using Domodule and Micro Metrics
npm install @firstandthird/ab-test
import '@firstandthird/ab-test'
<body>
<!-- Additional given data will be passed along too -->
<div data-module="ABTest" data-module-name="backgroundColor" data-module-value="red">
<a href="" data-action="success" data-action-text="Test">Test</a>
<a href="" data-action="success" data-action-text="Foo">Foo</a>
</div>
<!-- If action is not defined, assume click on element -->
<a href="" data-module="ABTest" data-module-name="ctaText" data-module-value="Sign up Now">Sign up now</a>
</body>
It needs to receive some options or they should be defined on the window object:
url
: data-module-url
as an option or have metricsEndpoint
defined on the window
object.session
: data-module-session-id
as an option or have metricsSession
defined on the window
object.FAQs
Simple A/B testing using Domodule and Micro Metrics
We found that @firstandthird/ab-test demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.
Research
/Security News
The Socket Threat Research Team uncovered a coordinated campaign that floods the Chrome Web Store with 131 rebranded clones of a WhatsApp Web automation extension to spam Brazilian users.