New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opt Out without an Iframe #2896
Comments
@mattab @robocoder Please can you give an nice short Statement about why "without an iFrame" is an dupplicate to "custom CSS"? I don't get it. I Need an opt out without an iFrame. Thought that is no Problem. Everything is ready, now just the JS AJAX to let piwik know, the user opted out is missing. And now I see: Seems that there is no solution. PIWIK Team ignores all requests for throwing away that iFrame with info "dupplicate to custom css ticket". That's not what I would do, custom style opt out. I would like to have an custom opt out. That starts with TEXT. That starts with CSS. That starts with UX. There are multiple reasons to don't load iFrame here. So please: Do I really have to code my own Plugin to Support AJAX requests for opt out? |
For all: I wrote an Plugin for opting out via AJAX. On public interest, I will push it to github. |
Hi @lippoliv - we can always consider adding such feature into core and provide a new API, but it would be even better for you to release your plugin on the Marketplace, so 👍 for this idea! |
@lippoliv would you please share your code? @piwik: Please add this feature in your next update, you really should know, that iframes are not state of the art... |
@mattab OK as we spoke per Mail I will add to marketplace. @chwebo Find the Plugin here AjaxOptOut.zip There are three AJAX-URLs:
IMPORTANT: As of this technique is using Cookies, you have to use JSONP-Requests, instead of just JSON. Let me know if it works and write me anything wich will not work (you find an Mail-Adress in |
Hi everybody.
I've looked in the settings > plugins section but there's no entry for that precise plugin. Maybe it's cache related, maybe it needs registration in the core, I can't tell since I'm not aware how Piwik precisely works... Regards. EDIT: EDIT2: |
Hey @lippoliv @Lozik, Arno EDIT: |
http://demo.piwik.org/index.php?module=CoreAdminHome&action=optOut
Hi,
I hate Iframes, because they can't adapt to the screen size of the user. Is there another possibillity to inform the user about his state and peform an Opt Out/In without an iframe?
This would be great =)
The text was updated successfully, but these errors were encountered: