cross domain tracking
We have a widget which works like as lightbox in iframe (as domain A) and is installed into client's website (domain B). We would like to track goals in our lightbox (in iframe), but all major browsers block third party cookies.
This workaround not working: https://help.optimizely.com/hc/en-us/articles/2013
What I want is very simple - I want just push (force) +1 visitor count into optimizely. Goals will be send via server side.
1. Unique user get variation from optimizley (I know that user is unique and I save the variation into DB). So no need save cookies. (Done)
2. Optimizely count visitor +1 (not working). Is possible send it as event (like as goals via serverside)?
3. When user do something, I send the event "goal" into optimizely via serverside. (Done)
Who can help me?
Solved! Go to Solution.
Can you share your website and the URL where you're attempting to implement the iFrame with us here? If not, can you direct message me?
In this situation, the iFrame solution for Cross-domain tracking is the best solution. I'd suggest we investigate why that's not working before exploring alternatives.
Amy, I think you are right. In production with traffic optimizely code works. Cookies are not stored, but visitors are counted.
My last question related with this thread - I need to save into my DB "optimizelyEndUserId" (for tracking offline conversion events), but I can't get it from cookies. Is possible to get it from optimizely object like as I get an variation?
Sure and my question is related with that. I can't get nothing from cookies (browsers block all cookies (cross domain)) so my question: "Is possible to get it from optimizely object like as I get an variation?"