feat(analytics): add behavior and payment funnel tracking
This commit is contained in:
@@ -52,6 +52,7 @@ describe("auth Tailwind components", () => {
|
||||
expect(html).toContain("w-full");
|
||||
expect(html).toContain("gap-md");
|
||||
expect(html).toContain("Login");
|
||||
expect(html).toContain('data-analytics-key="auth.email_login"');
|
||||
});
|
||||
|
||||
it("renders EmailRegisterForm with Tailwind form layout", () => {
|
||||
@@ -62,6 +63,7 @@ describe("auth Tailwind components", () => {
|
||||
expect(html).toContain("w-full");
|
||||
expect(html).toContain("gap-md");
|
||||
expect(html).toContain("Register");
|
||||
expect(html).toContain('data-analytics-key="auth.email_register"');
|
||||
});
|
||||
|
||||
it("renders AuthBackground with Tailwind layout classes", () => {
|
||||
@@ -128,6 +130,7 @@ describe("auth Tailwind components", () => {
|
||||
);
|
||||
|
||||
expect(html).toContain("Login with Facebook");
|
||||
expect(html).toContain('data-analytics-key="auth.facebook_login"');
|
||||
expect(html).toContain("bg-auth-surface");
|
||||
expect(html).toContain("enabled:hover:brightness-[0.97]");
|
||||
expect(html).toContain("Other Sign In Options");
|
||||
|
||||
Reference in New Issue
Block a user