Piwik: Provide a simple opt-out link? - matomo

How can you provide a simple link to opt-out Piwik on your privacy site?
I've seen complicated iframe / php scripts from 2010, but I heard this would be plain simple, no?

The opt-out iframe is still the solution to do that and the code is really simple: Include a Web Analytics Opt-Out Feature on Your Site.
If you want to customize its appearance, you can have a look at this plugin: CustomOptOut.

Related

AngularJS application problems appearance in Google search

I have a personal project which consumes my free time and effort for about a year without significant profit. I have problems with it appearance in Google and would really appreciate to get help here.
This project (http://yuppi.com.ua - similar to craiglist in US) is WEB-based AngularJS 1.2 application that uses PHP rest API hosted on GoDaddy. And in order to make this application popular it have to be very visible in internet and very searchable in Google and users have to be able to share pages via social networks or skype.
According to Google specification, google crawlers doesn't run javascript to get content of a web page before index, so I've added _escaped_fragment_ page that displays content of web page without javascript. For example:
Page: http://yuppi.com.ua/#!/items/sub/18/_
Dirty : yuppi.com.ua/?_escaped_fragment_=/items/sub/18/_
This dirty page will be redirected here where google will see content.
http://yuppi.com.ua/server/crawler_proxy/routee.php?path=/items/sub/18/
So basically I have two versions on HTML file for that page. One version is the one that available to users, which has styles, a lot more HTML tags etc. And the second is the version for Google crawler - very light-weight without any styles. And I am expecting to see clean link to my site in Google, not dirty.
So, If to search all links to a web site in Google you will see that one of the links displays it's "dirty" state.
Another problem is sharing links in Skype.
When I send a link to someone, I am expecting that this link will be transformed to thumbnail image but it is not happens. Instead I see ungly link to my web site.
Please help me to understand how to make happy everyone: users, google crawler, GoDaddy and me.
I was encountering the same problems last year with a big project and we ended to use : https://prerender.io/.
It's a prerendering system that work with a phantomjs browser to detect bot request and render a full html template. It does also instanciate a cache service to not render again a template that haven't change.
Hope it help's.

Paypal checkout in web view

I have a web site that I'm working on which has a fully implemented paypal checkout flow. We're working on a mobile client which re-uses this flow to accomplish checkouts.
Unfortunately, when we redirect to the paypal site, we get the full desktop style, rather than layout and styles tailored to mobile.
Is there any URL parameter I can supply or different approach I have to take so that the checkout is usable on a mobile device?
The URL we're redirecting to looks like this:
https://www.sandbox.paypal.com/webscr?cmd=_ap-payment&paykey=AP-LOTSOFNUMBERS
That's odd. I never realized Adaptive Payments didn't automatically kick in to the mobile. I know Express Checkout does, so you could switch to that unless you had some specific need for the Adaptive platform..??
If you do stick with adaptive check out the options for the checkout flow. You can do an iframe and other things that might work better for mobile. There's a lot of info at that link about it.

CakePHP Mobile Website

Any idea, how can we create already running website to Mobile Website?
Are there, ready made plug-ins / components available ?
I've found some like wapple.net however it is paid one, which is not feasible for client's budget.
I have found, XML creations is pretty easy in CakePHP, though your ideas would be appreciated.
Kindly share more details on the same !
Regards,
i dont think that you'll find a plugin that will transform your website for mobile. because there are too many decisions to make when creating a mobile web, for me it's like creating a completly different website with only the necessary information that your website has..
But maybe there are components that might help you with the small taks (like detecting the user agent and stuff).. here you can read two good articles about creating a mobile website:
http://www.smashingmagazine.com/2010/11/03/how-to-build-a-mobile-website/
http://www.smashingmagazine.com/2009/01/13/mobile-web-design-trends-2009/
There's also a few JS frameworks that will help you with the interaction with the user, i've only used Sencha touch..
But my guess is that you'll have to adapt/create "manually" the css, html and js for mobile, and I don't think that there's a magical tool to do that, you'll have to do it yourself (or pay someone to do it =D)
Hope this helps, Good Luck!
You may be interested in my answer over here:
CakePHP v2.2.1 Solution (+ Cookies to persist mobile/desktop/other layout)
In a nutshell:
Lets you setup mobile layouts /Views/Layouts/mobile/default.ctp
Mobile views /Views/Pages/mobile/home.ctp
Sets a template variable $is_mobile
Lets you force a specific layout ?forcedLayout=desktop, and remembers this in a COOKIE
If no layout is forced it uses CakePHP's User-Agent detection to make the decision $this->request->is('mobile')
If no ../mobile/ layout or view file exists then it falls back to the default layout or view.
Typically with cakephp you want to create a separate view layout for mobile viewing. The app controller should change the default view layout to the mobile one when detecting a mobile browser.
Your mobile view layout should be made by you, only you know what data on your site is important and what is not (aka, what should be removed /kept for mobile viewing) Also your mobile layout can use alternate CSS and only load the elements you want.
To learn more about creating views in cakephp see the cookbook:

Best looking administration panels for web applications

Please post a couple links to screenshots or demos to best looking administration interfaces for web applications and why do you think so.
Personally, I like what 37signals produces, also extJS based panels, though they tend to be rather slow.
lipsiadmin is what you're lookin' for I guess
Lipsiadmin is a new revolutionary admin for your projects.Lipsiadmin is based on Ext Js 2.0. framework (with prototype adapter) and is ready for Rails 2.0. This admin is for newbie developper but also for experts, is not entirely written in javascript because the aim of developper wose build in a agile way web/site apps so we use extjs in a new intelligent way a mixin of 'old' html and new ajax functions, for example ext manage the layout of page, grids, tree and errors, but form are in html code.

How can I include silverlight content in wordpress?

I tried to include silverlight content in my blog post. But wordpress is striping out many tags. Even I tried using 'text only editor' of wordpress, but of no avail.
I found it out. Plugin required: http://wordpress.org/extend/plugins/silverlight-for-wordpress/. Passed few parameters & boom, I was able to pull in silverlight on my wp blog.
I would suggest instead providing an image link to your Silverlight content and then hosting it on another location. This will also give your users a preview of your Silverlight content without requiring them to download the full application until they choose to.
You can't; WP restricts the HTML which is allowed in your blog to safe tags which means that there is no way to have active content in wordpress.com blog (which is also explained in the FAQ and the usage agreement).
This is to protect users of your blog against malicious code which has hit Facebook and MySpace badly in the recent years.

Resources