Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analytics: Conversion summary starting at checkout link, useShopifyCookies is in place #1896

Open
jakejgk opened this issue Mar 24, 2024 · 2 comments
Labels
analytics Issues with analytics, dashboards, etc.

Comments

@jakejgk
Copy link

jakejgk commented Mar 24, 2024

What is the location of your example repository?

No response

Which package or tool is having this issue?

Hydrogen

What version of that package or tool are you using?

2024.1.3

What version of Remix are you using?

2.2.0

Steps to Reproduce

Ensure the store url and checkout url share the same domain (in my case: mydomain.com and checkout.mydomain.com)
In the root file, add:
useShopifyCookies({hasUserConsent: true, domain: 'mydomain.com')};
To test, go to site and clear cookies. Navigate to any page and note _shopify_s and _shopify_y cookies. Then proceed to checkout and note the new _shopify_s and _shopify_y cookies. these should remain consistent, allowing the conversion summary to show as one session from start to finish.

Expected Behavior

The _shopify_s and _shopify_y cookies should remain the same on the base url and checkout url. The conversion summary should show the session that led to the checkout.

Actual Behavior

The _shopify_s and _shopify_y cookies are different when moving from base url to checkout url. The conversion summary starts at the checkout link.

@michenly michenly added the analytics Issues with analytics, dashboards, etc. label May 2, 2024
@wizardlyhel
Copy link
Contributor

@jakejgk This is a known limitation for conversion tracking report. We are working on it along with customer privacy api integration. No eta I can give with regards to this particular issue.

@wizardlyhel
Copy link
Contributor

wizardlyhel commented May 22, 2024

@jakejgk could you try changing the domain so that it has a leading period?

useShopifyCookies({hasUserConsent: true, domain: '.mydomain.com')};

My previous comment is for when useShopifyCookie is used along with customer privacy api. This is when the Shopify cookies got reassigned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analytics Issues with analytics, dashboards, etc.
Projects
None yet
Development

No branches or pull requests

3 participants