creating and capture cookies to track where signups came from

8 replies
  • WEB DESIGN
  • |
We will soon be running an ad campaign to drive traffic to our site. The campaign will be through email and we want to make sure that everyone who signs up on our site from the email campaign is easy to separate from organic sign ups.

Basically what we need to do is create an affiliate link to our page (becomingyourownbank.com) which drops a cookie on the visitors browser and then when that visitor signs up we need to be able to pull information from that cookie and include it on the aweber signup form (through the use of a hidden get variable i would assume).

hope that makes sense, any help would be great!
#capture #cookies #creating #signups #track
  • Profile picture of the author wayfarer
    How this is accomplished depends on what programming language you're using on the server side. You might be better off asking this question in the programming section.
    Signature
    I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
    {{ DiscussionBoard.errors[3424312].message }}
  • Profile picture of the author GotLiveChat
    Keep in mind many visitors' browsers may end up blocking the cookie, at which point you won't know where they came from unless you cross-check with your web server logs. Consider putting the tracking ID in the URL at the point of entry, then pass it with the querystring as they click through your site.
    {{ DiscussionBoard.errors[3424441].message }}
    • Profile picture of the author daquimo
      gotlivechat - good point...however i have no idea what you mean when you say "pass it with the querystring"

      thanks for the help
      {{ DiscussionBoard.errors[3424849].message }}
      • Profile picture of the author GotLiveChat
        I'm assuming you're using affiliate tracking like yoursite.com?affid=customerX
        Then using server-side scripting get the value of affid and then append it to all hyperlinks on each web page.

        So if they click a link on your site that says signup.asp then it should actually be signup.asp?affid=customerX (and then each subsequent page again reads in the affid value off the querystring).

        Did that help?
        {{ DiscussionBoard.errors[3426124].message }}
        • Profile picture of the author daquimo
          Yes what you just explained is what we are trying to do. but i guess we just dont know how. the idea is this we will have two types of visitors to our site, both of which must be kept separate.

          The first type is organic visitors which i'm assuming the URL for them will look as it always does. The second type is those that have come from a link sent out in an email - our goal is to make it so those that click the link in the email will have something like ?affid=1234 added to the url of every page they navigate to.

          i think we're on the same page but we just may need some more instruction as to how exactly we make that happen. thanks for the help, it's much appreciated!


          Originally Posted by GotLiveChat View Post

          I'm assuming you're using affiliate tracking like yoursite.com?affid=customerX
          Then using server-side scripting get the value of affid and then append it to all hyperlinks on each web page.

          So if they click a link on your site that says signup.asp then it should actually be signup.asp?affid=customerX (and then each subsequent page again reads in the affid value off the querystring).

          Did that help?
          {{ DiscussionBoard.errors[3430745].message }}
          • Profile picture of the author GotLiveChat
            What type of server-side scripting are you using - PHP, ASP, etc.?
            {{ DiscussionBoard.errors[3431359].message }}
            • Profile picture of the author daquimo
              Its php I believe. Wordpress site.
              {{ DiscussionBoard.errors[3431384].message }}
  • Profile picture of the author GotLiveChat
    Google php read querystring
    several sites detail how to grab URL values using PHP. This assumes you, or someone you know, is familiar with PHP programming...
    {{ DiscussionBoard.errors[3431572].message }}

Trending Topics