Please point me into the right direction for how I should achieve this .
I need it for affiliate system integration purpose.
So, we need to specify 1-2 variables into the embedding iFrame url .
Then, when the visitor hit the submit button we need those variables to be passed to the EventEspresso page so the affiliate script within the page will create the affiliate cookie accordingly .
Can you please give me a hint about the file to look into for that as the EE structure seems very complex to me.
If the iframe is on a different site (domain) you will struggle with this as browsers don’t allow cross site scripting (it’s a security risk) – https://en.wikipedia.org/wiki/Same-origin_policy
Detecting the change will be hard, and maybe impossible if you don’t control both sites code, and would involve some in depth JavaScript coding.
If you are not code savvy, I would suggest contacting a developer for advice and assistance with this, as it will likely get complex if it is even possible to do.
The support post ‘Passing variables from the embedded iFrame to event and checkout pages .’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.