Opt-Out without iFrame

Would somebody know how to include the opt-out text without using an iframe ? I am trying to use and Ajax call but due to the the site URL being different it fails :frowning: Reason do not wish to use and iframe is so that it can be styled into any sites privacy policy.

http://dev.piwik.org/trac/ticket/1929

I presume from posting that you would prefer comments were annotated to that ticket ?

Sorry, I didn’t have time to post a full reply.

You won’t be able to use AJAX with the existing optOut code because of the nonce check. I recommend waiting for the ticket to be implemented, which would then allow you to pass styles to the iframe.

In the meantime, you can modify the template (plugins/CoreAdminHome/templates/optOut.tpl).

Just encountering the same problem… still don’t know how to figure it out…
bidet