Dynamic Aweber Adtracking Script

17 replies
Hey guys

I have an account with awber.
And I want to install a tracking script so I could dynamically track my subscribers.

E.G.

domainname.com/?ref=google

So I send my google ads to this url, and then in
aweber Their adtracking will be "google"

I have a script for this but it only works on a one page optin.
I have a presell funnel of 6 pages.

Anyone have an idea how to do it? :confused:

Thanks in advance!
- Adam
#adtracking #aweber #dynamic #script
  • Profile picture of the author shinepuppy
    Hey Adam,
    Do you mean you have 6 squeeze pages? Why not put the script on all six pages?

    You could always cookie them
    {{ DiscussionBoard.errors[3234468].message }}
    • Profile picture of the author Adam Goldman
      Hey shine puppy.

      Thanks for the reply man

      The first page my visitor sees has some text and a

      "click to continue" button

      This takes him to the second page, with another "click to continue" button.

      On the sixth page there's the optin form.

      I have very little knowledge about programming, javascript and such.

      Have any ideas?

      Thanks again man.

      Aprreciate it!
      {{ DiscussionBoard.errors[3236845].message }}
      • Profile picture of the author shinepuppy
        Hey Adam,
        Well... warriorforum forum code doesn't seem to like my code snippets I'm trying to input here for some reason. I'll post them on my blog and link you in a sec.

        -jason
        {{ DiscussionBoard.errors[3237080].message }}
        • {{ DiscussionBoard.errors[3237450].message }}
          • Profile picture of the author Adam Goldman
            You just got yourself a new friend, my friend


            Two question before I implement this to my funnel:

            1. If someone have cookies disabled, what will happen?

            I don't wanna lose some potential subscribers to techie stuff...

            2. Do you have any idea if this will hurt QS grom Google adwords?

            As far as I understand,
            google gives the QS based on the FINAL page,
            and disregards all the redirects in the process.

            Thanks again man,
            YOU ROCK!

            - Grateful Adam
            {{ DiscussionBoard.errors[3243008].message }}
            • Profile picture of the author joe12joe
              Originally Posted by Adam Goldman View Post

              You just got yourself a new friend, my friend


              Two question before I implement this to my funnel:

              1. If someone have cookies disabled, what will happen?

              I don't wanna lose some potential subscribers to techie stuff...

              2. Do you have any idea if this will hurt QS grom Google adwords?

              As far as I understand,
              google gives the QS based on the FINAL page,
              and disregards all the redirects in the process.

              Thanks again man,
              YOU ROCK!

              - Grateful Adam

              Hey Adam,

              You are right here Google gives the QS based on the final page and it would ignore all the redirects. So you gota be careful here because you might will lose QS. By the way, i would like know why you have 6 squeeze pages, i mean its making things difficult for you.
              {{ DiscussionBoard.errors[3245140].message }}
              • Profile picture of the author Adam Goldman
                ShinePuppy,

                My question was:

                If I send someone to mydomain.com/landing.php?ref=blah

                and he has cookies disabled

                What will happen?

                Will he be redirected to mydomain.com/page1.html

                and go through the funnel?

                I understand I will lose the tracking for him,
                but the question is,

                If ill lose him.

                Hope that makes sense

                JoeJoe,

                It's not 6 squeeze pages man.

                It's a presell funnel of 6 pages.

                I don't want any freebie seeker or tire kicker joining my list.

                Serious players only

                A cool strategy I picked up from THE email marketer,

                Andre Chaperon.

                Check his stuff out,

                he is awesome!
                {{ DiscussionBoard.errors[3245697].message }}
                • Profile picture of the author shinepuppy
                  Originally Posted by Adam Goldman View Post

                  ShinePuppy,

                  My question was:

                  If I send someone to mydomain.com/landing.php?ref=blah

                  and he has cookies disabled

                  What will happen?

                  Will he be redirected to mydomain.com/page1.html

                  and go through the funnel?

                  I understand I will lose the tracking for him,
                  but the question is,

                  If ill lose him.

                  Hope that makes sense
                  Hey Adam,
                  Ahh gotcha. Ya, I think it'll work you'll just lose the tracking. I'm not at a place where I can test the code but you could test it. Turn off your cookies and hit up my test code and see what happens

                  -jason
                  {{ DiscussionBoard.errors[3246176].message }}
                  • Profile picture of the author Brandon Tanner
                    I didn't see Jason's code, but if you're worried about the unreliability of cookies you could use php sessions.

                    Assuming you are using 'ref' in the URL, then on the first page put this before any HTML code...

                    <?php
                    session_start();
                    $_SESSION['ref'] = $_GET['ref'];
                    ?>


                    Then on the final page put this before any HTML code...

                    <?php
                    session_start();
                    $ref = $_SESSION['ref'];
                    ?>


                    Then to pass the referrer to Aweber... further down that page where the Aweber code is (where there are a bunch of "input types" together), create a hidden field for the referrer...

                    <input type="hidden" name="ref" value="<?php echo $ref; ?>" />

                    Don't forget to name both those pages with .php extensions, and you're good to go!

                    Another alternative would be to pass that info through all 6 pages via GET or POST, but that would be a lot more work.
                    Signature

                    {{ DiscussionBoard.errors[3246854].message }}
                    • Profile picture of the author Adam Goldman
                      LOL

                      I just thought of something

                      this is an affiliate funnel,

                      and if someone have cookies disabled,
                      I won't get the commission for the sales anywayz.

                      As marketers can be so DUMB sometimes

                      Thanks anywayz Brandon!
                      {{ DiscussionBoard.errors[3249242].message }}
  • Profile picture of the author shinepuppy
    Hey Adam,
    Cool man. Honestly, I wouldn't worry about the cookie thing but I guess it really depends on your market. Basically, if they don't have cookies on, the only way for you to get the information across your funnel is via the URL and ya, I'd say it's probably going to affect your quality score from google... just what I've heard, i'm not an SEO or google expert by any means.

    Here's a link to the video:
    http://emanuelpublishing.com/codeSol...on-2/adam2.mov

    Here's a link to the download:
    http://emanuelpublishing.com/codeSol...solution-2.tgz

    take care,
    Jason
    {{ DiscussionBoard.errors[3243367].message }}
  • Profile picture of the author brianoliveruk
    Hi guys - did this work? Im looking at a way to do something similar - Aweber not too helpful.
    I need aweber to pick up the ?ref=google (just the google part) part of the url.
    And then this ref to be dynamically inserted into follow up emails.
    Only trouble is its on a wordpress self hosted blog, and it seems like I have to change all my page from .html to .php
    I dont know how to do any of this

    Help appreciated

    Brian
    Signature

    [FREE TRAFFIC HACK] The Secret Money Project
    Brian Oliver
    The Honest Marketer

    {{ DiscussionBoard.errors[6266826].message }}
    • Profile picture of the author gwpmike
      I am trying to do the same exact thing as Brian (post above). Have an aweber form that looks at the URL, saves the ref ID into a hidden field, and uses that ref ID in the follow up emails. Has anybody figured this out? I can't find a straight forward solution anywhere.

      Thanks,
      Mike Sheehan
      {{ DiscussionBoard.errors[6863394].message }}
      • Profile picture of the author brianoliveruk
        Still looking
        Signature

        [FREE TRAFFIC HACK] The Secret Money Project
        Brian Oliver
        The Honest Marketer

        {{ DiscussionBoard.errors[7361786].message }}
        • Profile picture of the author Brandon Tanner
          @ Brian and Mike...

          First, create a new hidden field in Aweber (see this).

          Then on your squeeze page, pass the query string value of 'ref' to the hidden field, like so...

          <input type="hidden" name="custom ref" value="<?php echo $_GET['ref']; ?>" />

          And don't forget to give your squeeze page a .php extension.

          Then read this to find out how to pass the value from the hidden field into a email message. For example, if your hidden field is named 'ref', then you would use the following token...

          {!custom_ref}
          Signature

          {{ DiscussionBoard.errors[7362448].message }}
          • Profile picture of the author brianoliveruk
            Wow thanks Brandon,
            Hopefully I will have some success this time.
            I have tried this before, and the initial redirect when they clicked the confirm link in the welcome email from aweber didn't work. (It didn't grab the ref)
            However I didn't change my pages to .php
            Is that easy to do with wordpress?
            I'm looking through your stuff now.
            Cheers
            Brian
            Signature

            [FREE TRAFFIC HACK] The Secret Money Project
            Brian Oliver
            The Honest Marketer

            {{ DiscussionBoard.errors[7364966].message }}
            • Profile picture of the author Brandon Tanner
              Originally Posted by brianoliveruk View Post

              Wow thanks Brandon,
              Hopefully I will have some success this time.
              I have tried this before, and the initial redirect when they clicked the confirm link in the welcome email from aweber didn't work. (It didn't grab the ref)
              However I didn't change my pages to .php
              Is that easy to do with wordpress?
              I'm looking through your stuff now.
              Cheers
              Brian
              Brian,

              I rarely ever use WordPress so I couldn't tell you how to do that, but I'm sure it can be done. Might try Google'ing something like "WordPress change page extension to PHP".

              At any rate, it would be easy to pinpoint where the problem is by navigating to the following URL in your browser...

              YourWebsite.com/YourSqueezePage.php?ref=abc

              Once at the page, right-click and view source, then scroll down until you get to your custom hidden field. If it shows 'abc' for the value, then the issue is with your Aweber email. If it doesn't show the 'abc' value, then the issue is with your webpage.
              Signature

              {{ DiscussionBoard.errors[7365757].message }}

Trending Topics