Skip to content
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

Question: how to show a widget without leaving a cookie? #637

Closed
anonymous-matomo-user opened this issue Mar 29, 2009 · 3 comments
Closed
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@anonymous-matomo-user
Copy link

Hi,

I am trying to show a widget and I need to login for that.
The thing is that the login process leaves a cookie.
I need to find a way to show this widget without leaving a cookie behind.
(The reason is that I don’t want anyone to go to the admin interface and be logged in)
I tried to use token_auth but it didn’t work.

Any suggestions?

Thanks,
Udi

@robocoder
Copy link
Contributor

Create a user with view access to that site. Get the token assigned to that user and make sure you’re using the right siteid.

The widget URL embedded in your website should be properly encoded for browser portability, eg & becomes &

View the source for Piwik’s home page http://piwik.org for a example.

Please use the forum for questions? Thanks.

@robocoder
Copy link
Contributor

Sorry that doesn’t make sense. I goofed while editing & posting from my iPhone.

There are two ways to embed a widget. The first is Widgetize. If you go to your Widgets menu, you’ll see that each widget has an “Embed Iframe”. That URL can be embedded in your website.

The other option is to embed a Flash chart directly. You can see examples of this on Piwik’s home page.

@mattab
Copy link
Member

mattab commented Mar 29, 2009

see also #283 Possibility to export some widgets only without having to give everybody access to all data for a website

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

3 participants