-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add disable-set-cookie header to /targeting/graphql (#186)
* add disable-set-cookie header to targeting/graphql * DTSHOPSEOL-2059: make `disable-set-cookie=true` permanent header for visitor info requests * DTSHOPSEOL-2059: tech dept. * Fix local/prod build * Update identity/README.md * DTSHOPSEOL-2059: replace double quotes with single * DTSHOPSEOL-2059: update babel plugin * DTSHOPSEOL-2059: remove flow for build script --------- Co-authored-by: Spencer Sablan <[email protected]> Co-authored-by: Yehor Anisimov <[email protected]>
- Loading branch information
1 parent
c16d527
commit c94e90a
Showing
6 changed files
with
46 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,30 @@ | ||
# Identity Iframe | ||
|
||
This iframe is designed to identify user country. | ||
This iframe is designed to identify user country and user info. | ||
|
||
This iframe is served by **musenodeweb** | ||
It is served by **musenodeweb** | ||
|
||
Iframe Url: | ||
* `https://www.paypal.com/muse/identity/index.html` | ||
* `https://www.paypal.com/muse/identity/v2/index.html` | ||
* `https://www.paypal.com/muse/identity/v2/index.html` | ||
|
||
### Local debugging | ||
For local check run following command: | ||
|
||
``` | ||
npm run identity:dev | ||
``` | ||
|
||
By default, iframe is served on URL http://localhost:8080/muse2/ | ||
|
||
Shopping analytics accepts following parameters: | ||
|
||
``` | ||
ShoppingAnalytics({ | ||
paramsToIdentityUrl: ()=> 'http://localhost:8080/muse2/', | ||
}); | ||
``` | ||
|
||
### Deploy process | ||
1. Run `npm run build-identity-iframe` | ||
2. Copy content of `dist/identity/` in `musenodeweb/public/identity/v2/` | ||
3. Deploy `musenodeweb` in production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters