Want to Write Aweber Form Data To A Cookie?

Let’s say you have an Aweber opt-in form. You’d like to save the information people enter in the opt-in to a cookie that you can then use for something else – like detecting if a user has been on that page before and sending them to hidden content if they are. This tactic I’ve found being used a lot lately during product launches. Maybe not the the exact same technology but if you’d like to implement something like that it is not difficult at all.

These are the steps you’d have to take.

  1. In the Aweber web form builder, turn on the “Pass form data” option. This way, Aweber sends all the submitted information (and more) over to the thank you page.
  2. Inside your thank you page, you insert some simple script – I am most familiar with PHP so I generally use PHP. This few lines of code will capture the data passed on in #1 and save it in a cookie.
  3. You can then use the data in this cookie to do other things in other pages on the same site. Do note that for security, you cannot read cookie data across domains. In other words. If your thank you page is on site1.com and the page you want to use the cookie information is on site2.com. That won’t fly. There is no way to share cookies across different sites period.In such a case, you would write the code to pass the data from site1.com to site2.com and then set the cookie at site2.com

There’s lots of really cool things you can do with just a little bit of PHP code and data passed on by sites such as Aweber or Clickbank sale etc. If you’d like to learn how to do that, check out Little Personalization, Big Impact on TechBasedTraining. The training is written with marketers in mind so you don’t have to go around the many programming sites and spend hours (maybe days) trying to piece it all together. The code is all written for you so you can copy and paste if you wish or like in this case, if you’re more adventurous, tweak it to do exactly what you want.

Photo by Mateusz Atroszko

Do You Want A Hands-Free Business?

Then get this guide to help you systemize your business so you'll have more time working on your business.

!
!

Hey! I want to make sure you know what you're getting here. In addition to the guide, you will also receive our memo that includes special offers, announcements and of course actionable information.

Terms and Conditions checkbox is required.
Something went wrong. Please check your entries and try again.
Facebook Comments