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

Document ss-track localStorage #1209

Open
dkonieczek opened this issue Nov 19, 2024 · 0 comments
Open

Document ss-track localStorage #1209

dkonieczek opened this issue Nov 19, 2024 · 0 comments
Labels
type: documentation Improvements or additions to documentation

Comments

@dkonieczek
Copy link
Contributor

dkonieczek commented Nov 19, 2024

API clients using the Shopify pixel app need to set localStorage ss-track so that the pixel can read the siteId. We should document this and on this page? https://help.searchspring.net/hc/en-us/articles/24882106349467-Web-Pixel-Tracking-for-Shopify#:~:text=I%20have%20multiple%20SMC%20accounts%20but%20only%20a%20single%20shopify%20store%20(i.e.%2C%20Shopify%20Markets)%3B%20what%20should%20I%20do%3F

window.localStorage.setItem('ss-track', JSON.stringify({ siteId: 'abc123' }))
@dkonieczek dkonieczek added the type: documentation Improvements or additions to documentation label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant