{"id":407,"date":"2012-06-28T16:10:52","date_gmt":"2012-06-28T19:10:52","guid":{"rendered":"http:\/\/thiagosantos.com\/blog\/?page_id=407"},"modified":"2012-09-28T23:20:47","modified_gmt":"2012-09-29T02:20:47","slug":"ts-auto-login-mailchimp","status":"publish","type":"page","link":"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/","title":{"rendered":"TS Auto login &#8211; MailChimp"},"content":{"rendered":"<p><strong>About<\/strong><\/p>\n<p>With this extension you will be able to export a custom hash from Magento to Merge Tag on MailChimp and use as a parameters to logged in your customer on you store, after they click them on e-mail.<\/p>\n<p>This extesion use Magento Crypt to crypt and decrypt the value of the Merge Tag. For those don&#8217;t knew about it, each Magento installation have a unique phrase used to crypt some data. So &#8220;thiagosantos&#8221; string crypted using my Magento instalation will have a diferent return string, of doing the same on your own store. This make my extension much secured and very usefull, for AutoLogin.<\/p>\n<p><strong>How to use<\/strong><\/p>\n<p><span style=\"color: #ff6600;\"><strong>Mailchimp Step<\/strong><\/span><\/p>\n<p>TS Autologin for Mailchimp extend the MageMonkey &#8211; MailChimp Integration by ebizmarts, then before use this extension you must install MageMonkey extension (http:\/\/www.magentocommerce.com\/magento-connect\/mage-monkey-mailchimp-integration-4865.html).<\/p>\n<p>Take a look on how easy is (see the pictures):<\/p>\n<p>1 &#8211; First create a Merge Tag on yours subscribe list on Mail Chimp called: CUSTSHASH<\/p>\n<p>2 &#8211; On Magento go to System-&gt;Configuration-&gt;MailChimp. In &#8220;Customer Fields Mapping&#8221; add a new field to and put on the customer column &#8220;custshash&#8221; and MailChimp column &#8220;CUSTSHASH&#8221;.<\/p>\n<p>It is very easy to use this extension, after all the two steps you only need to add a GET parameter to all your links on MailChimp email campaign. And your user will be enter logged in on your store.<\/p>\n<p>http:\/\/mymagento.com\/my-categorory-page\/?c=*|CUSTSHASH|*<\/p>\n<p>The CUSTSHASH Merge Tag on MailChimp contain a custom hash for each user on your store, TS AutoLogin will create a value for this tag for you.<\/p>\n<p>Whether you need a custom AutoLogin for any others kind of integration get in touch with the form below.<\/p>\n<p><strong><span style=\"color: #ff6600;\">Stand alone Step<\/span><\/strong><\/p>\n<p>For those who want to export the &#8220;custom hash&#8221; to use in another system or even to Magento transaction email, it&#8217;s very easy.<\/p>\n<pre lang=\"php\">&lt;?php\r\n\/\/[...]\r\n\/\/encrypt\r\n$hash = Mage::helper(\"loginautomatico\")-&gt;encrpy($customer);\r\n\r\n\/\/[...]\r\n?&gt;<\/pre>\n<p>With the $hash in hands just create a link like this one:<\/p>\n<pre lang=\"php\">$autologin_link = \"http:\/\/mymagento.com.br\/?c=\".$hash;<\/pre>\n<p><strong>Updated<\/strong><br \/>\n<strong><span style=\"color: #ff6600;\">1.0.22 &#8211; 28\/09\/2012<br \/>\n1.0.21 &#8211; 15\/09\/2012\u00a0<\/span><\/strong><\/p>\n<p><strong>Forever free<\/strong><\/p>\n<p>See some reviews, notes and release notes on Magento Connect:\u00a0<a title=\"Auto Login\" href=\"http:\/\/www.magentocommerce.com\/magento-connect\/catalog\/product\/view\/id\/14565\/s\/ts-auto-login-mailchimp-1967\/?___store=mc_default_store\">http:\/\/www.magentocommerce.com\/magento-connect\/catalog\/product\/view\/id\/14565\/s\/ts-auto-login-mailchimp-1967\/?___store=mc_default_store<\/a><\/p>\n<div id='gallery-1' class='gallery galleryid-407 gallery-columns-3 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/attachment\/campo_no_mailchimp\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/thiagosantos.com\/blog\/wp-content\/uploads\/\/2012\/06\/campo_no_mailchimp-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/attachment\/campo_no_magento\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/thiagosantos.com\/blog\/wp-content\/uploads\/\/2012\/06\/campo_no_magento-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/attachment\/ts_auto_login_with_ebzmart_1_1\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/thiagosantos.com\/blog\/wp-content\/uploads\/\/2012\/06\/ts_auto_login_with_ebzmart_1_1-150x150.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure>\n\t\t<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>About With this extension you will be able to export a custom hash from Magento to Merge Tag on MailChimp and use as a parameters to logged in your customer on you store, after they click them on e-mail. This extesion use Magento Crypt to crypt and decrypt the value of the Merge Tag. For [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":420,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-407","page","type-page","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>TS Auto login - MailChimp - Pereira, Thiago Santos.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"TS Auto login - MailChimp - Pereira, Thiago Santos.\" \/>\n<meta property=\"og:description\" content=\"About With this extension you will be able to export a custom hash from Magento to Merge Tag on MailChimp and use as a parameters to logged in your customer on you store, after they click them on e-mail. This extesion use Magento Crypt to crypt and decrypt the value of the Merge Tag. For [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/\" \/>\n<meta property=\"og:site_name\" content=\"Pereira, Thiago Santos.\" \/>\n<meta property=\"article:modified_time\" content=\"2012-09-29T02:20:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thiagosantos.com\/blog\/wp-content\/uploads\/\/2012\/06\/ts_auto_login_with_ebzmart_1_1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"468\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:label1\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/\",\"url\":\"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/\",\"name\":\"TS Auto login - MailChimp - Pereira, Thiago Santos.\",\"isPartOf\":{\"@id\":\"https:\/\/thiagosantos.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/thiagosantos.com\/blog\/wp-content\/uploads\/\/2012\/06\/ts_auto_login_with_ebzmart_1_1.png\",\"datePublished\":\"2012-06-28T19:10:52+00:00\",\"dateModified\":\"2012-09-29T02:20:47+00:00\",\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/#primaryimage\",\"url\":\"https:\/\/thiagosantos.com\/blog\/wp-content\/uploads\/\/2012\/06\/ts_auto_login_with_ebzmart_1_1.png\",\"contentUrl\":\"https:\/\/thiagosantos.com\/blog\/wp-content\/uploads\/\/2012\/06\/ts_auto_login_with_ebzmart_1_1.png\",\"width\":\"468\",\"height\":\"300\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/thiagosantos.com\/blog\/#website\",\"url\":\"https:\/\/thiagosantos.com\/blog\/\",\"name\":\"Pereira, Thiago Santos.\",\"description\":\"the fun of code.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/thiagosantos.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"TS Auto login - MailChimp - Pereira, Thiago Santos.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/","og_locale":"pt_BR","og_type":"article","og_title":"TS Auto login - MailChimp - Pereira, Thiago Santos.","og_description":"About With this extension you will be able to export a custom hash from Magento to Merge Tag on MailChimp and use as a parameters to logged in your customer on you store, after they click them on e-mail. This extesion use Magento Crypt to crypt and decrypt the value of the Merge Tag. For [&hellip;]","og_url":"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/","og_site_name":"Pereira, Thiago Santos.","article_modified_time":"2012-09-29T02:20:47+00:00","og_image":[{"width":468,"height":300,"url":"https:\/\/thiagosantos.com\/blog\/wp-content\/uploads\/\/2012\/06\/ts_auto_login_with_ebzmart_1_1.png","type":"image\/png"}],"twitter_misc":{"Est. tempo de leitura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/","url":"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/","name":"TS Auto login - MailChimp - Pereira, Thiago Santos.","isPartOf":{"@id":"https:\/\/thiagosantos.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/#primaryimage"},"image":{"@id":"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/#primaryimage"},"thumbnailUrl":"https:\/\/thiagosantos.com\/blog\/wp-content\/uploads\/\/2012\/06\/ts_auto_login_with_ebzmart_1_1.png","datePublished":"2012-06-28T19:10:52+00:00","dateModified":"2012-09-29T02:20:47+00:00","inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/thiagosantos.com\/blog\/ts-auto-login-mailchimp\/#primaryimage","url":"https:\/\/thiagosantos.com\/blog\/wp-content\/uploads\/\/2012\/06\/ts_auto_login_with_ebzmart_1_1.png","contentUrl":"https:\/\/thiagosantos.com\/blog\/wp-content\/uploads\/\/2012\/06\/ts_auto_login_with_ebzmart_1_1.png","width":"468","height":"300"},{"@type":"WebSite","@id":"https:\/\/thiagosantos.com\/blog\/#website","url":"https:\/\/thiagosantos.com\/blog\/","name":"Pereira, Thiago Santos.","description":"the fun of code.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thiagosantos.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"}]}},"_links":{"self":[{"href":"https:\/\/thiagosantos.com\/blog\/wp-json\/wp\/v2\/pages\/407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thiagosantos.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/thiagosantos.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/thiagosantos.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thiagosantos.com\/blog\/wp-json\/wp\/v2\/comments?post=407"}],"version-history":[{"count":23,"href":"https:\/\/thiagosantos.com\/blog\/wp-json\/wp\/v2\/pages\/407\/revisions"}],"predecessor-version":[{"id":411,"href":"https:\/\/thiagosantos.com\/blog\/wp-json\/wp\/v2\/pages\/407\/revisions\/411"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thiagosantos.com\/blog\/wp-json\/wp\/v2\/media\/420"}],"wp:attachment":[{"href":"https:\/\/thiagosantos.com\/blog\/wp-json\/wp\/v2\/media?parent=407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}