How to pass information across domains to ask for newsletter only once?
Posted
by
Michal Stefanow
on Pro Webmasters
See other posts from Pro Webmasters
or by Michal Stefanow
Published on 2014-06-06T08:43:22Z
Indexed on
2014/06/06
9:41 UTC
Read the original article
Hit count: 189
Lets assume following scenario, I have two sites:
- example1.com
- example2.com
When user visits 1 there is a prompt "please signup to a newsletter". Same thing happens when user visits 2.
However when navigating from 1 to 2 I don't want signup form to be shown.
My first thought were 3rd-party cookies, but it seems that they are blocked / not working:
- http://stackoverflow.com/questions/4701922/how-does-facebook-set-cross-domain-cookies-for-iframes-on-canvas-pages?rq=1
- http://stackoverflow.com/questions/172223/how-do-i-set-cookies-from-outside-domains-inside-iframes-in-safari?rq=1
Another thought is to append #noshow
for each URL but that would require some work - for instance a script that would intercept click / tap events and modify URL structure depending on the address. (but that seems hacky)
I wonder if you know a robust well-established solution to this issue?
Thanks
© Pro Webmasters or respective owner