Hi Cliff,
The cookie is set only on the admin panel and we use it only to let ShortPixel Image Optimiser plugin know that it was installed from Enable Media Replace. I’m sorry this, together with the dashboard advertisement are causing frustration to you. There are many requests for improvements to Enable Media Replace and we’re trying to find ways to fund these.
There are no other cookies set in the plugin.
Best regards,
Simon.
Thanks! A comment in the code noting its purpose would have been helpful—it was the labeling as “affiliate” that seemed off.
I totally understand scaling your business, but advertising your specific product on the dashboard isn’t the way to go. Consider something more contextual, like what Yoast does! Put calls-to-action in areas that EMR exists. Otherwise, you bombard a majority of users that are just using the site, not making decisions about the technology. In my case, I had to go in and manually remove this notice from all client sites because of how confusing it was for them.
Hope that helps. Thanks again for clarifying.
Hi Cliff,
thanks for explaining your use case and sorry for the issues EMR may have caused for you, we’ll try to better this in our next plugin update.
Best regards,
Alex
@shortpixel: Actually, it appears you are phoning home and tracking users without consent, which would be a violation of the plugin guidelines.
176 function emr_install_plugin() {
177 $slug = isset($_GET['slug']) ? trim($_GET['slug']) : null;
178 if($slug == 'shortpixel-image-optimiser') {
179 $response = json_encode(wp_remote_get('https://shortpixel.com/h/af/YXA6CHO28044', array(
180 'method' => 'GET',
181 'timeout' => 15,
182 'redirection' => 3,
183 'sslverify' => false,
184 'httpversion' => '1.0',
185 'blocking' => true,
186 'headers' => array(),
187 'body' => null,
188 'cookies' => array()
189 )));
190
191 setcookie("AffiliateShortPixel", "YXA6CHO28044", time() + 2592000, parse_url(get_admin_url(),PHP_URL_PATH), parse_url(get_admin_url(),PHP_URL_HOST));//30 days
192 /*
193 $spCookie = isset($response['cookies']['AffiliateShortPixel']) ? $response['cookies']['AffiliateShortPixel'] : false;
194 if($spCookie) {
195 setcookie("AffiliateShortPixel", $spCookie, time() + 2592000, "/", parse_url(get_site_url(),PHP_URL_HOST));//30 days
196 }
197 */
198
199 exit(json_encode(array("Status" => 2)));
200 }
201 }
Hi @pputzer,
do you mind reporting this to [email protected]? I won’t find time to do it.
Thanks!