Any Programmers Here?

7 replies
Hey Guys,

I have an Optin form that I want to Pass data to from the URL

Here's the Form

http://jackbastide.com/sixmonth/wf001/


The wf0001 is a separate folder that I have to
create to tell where the source of a lead is
coming from

Rather than doing this id like to be able to do it on the fly

something like this:

http://jackbastide.com/sixmonth/?source=wf001

is there a way to do this? I can't seem to get it working

Jack
#programmers
  • Profile picture of the author TheAnnoyingOrange
    Originally Posted by Jack Bastide View Post

    Hey Guys,

    I have an Optin form that I want to Pass data to from the URL

    Here's the Form

    The Six Month Miracle

    The wf0001 is a separate folder that I have to
    create to tell where the source of a lead is
    coming from

    Rather than doing this id like to be able to do it on the fly

    something like this:

    The Six Month Miracle

    is there a way to do this? I can't seem to get it working

    Jack
    Sorry, I can't help here.. but the squeeze page looks decent.
    Signature
    Reserved for TheAnnoyingOrange
    {{ DiscussionBoard.errors[2469986].message }}
  • Profile picture of the author tecHead
    Unless I'm totally NOT getting what you're trying to do.. just add the tracking variable at the source of the lead.

    You're the one putting the links out there; just tag 'em appropriately.

    HTH
    PLP,
    tecHead
    Signature
    Learn Everything You Need to Know About CryptoCurrencies
    Automation is the primary conduit to successful relaxation
    {{ DiscussionBoard.errors[2469991].message }}
    • Profile picture of the author Jack Bastide
      Originally Posted by tecHead View Post

      Unless I'm totally NOT getting what you're trying to do.. just add the tracking variable at the source of the lead.

      You're the one putting the links out there; just tag 'em appropriately.

      HTH
      PLP,
      tecHead

      For whatever reason the data isn't being passed
      Signature

      If you can drive Biz Op Phone Calls .... I'm Buying

      {{ DiscussionBoard.errors[2470060].message }}
  • Profile picture of the author dwooding
    Jack,

    You can use this page, http://jackbastide.com/sixmonth/?source=wf001.

    You will need to modify the html of the page, specifically this section ...

    WAS:

    <input name="FormValue_Fields[CustomField4519]" value="WSO1" id="FormValue_CustomField4519" type="hidden">
    IS:

    <input name="FormValue_Fields[CustomField4519]" value="<? php echo trim(strip_tags($ _GET['source'])); ?>" id="FormValue_CustomField4519" type="hidden">
    Note: Get rid of the whitespace between the dollar sign and the underscore. I only put it in there because the forum software doesn't allow "variables".

    Thanks.

    Dave

    Originally Posted by Jack Bastide View Post

    Hey Guys,

    I have an Optin form that I want to Pass data to from the URL

    Here's the Form

    The Six Month Miracle

    The wf0001 is a separate folder that I have to
    create to tell where the source of a lead is
    coming from

    Rather than doing this id like to be able to do it on the fly

    something like this:

    The Six Month Miracle

    is there a way to do this? I can't seem to get it working

    Jack
    Signature
    {{ DiscussionBoard.errors[2470081].message }}
    • Profile picture of the author Jack Bastide
      wow thanks let me give this a shot

      Jack
      Signature

      If you can drive Biz Op Phone Calls .... I'm Buying

      {{ DiscussionBoard.errors[2470168].message }}
      • Profile picture of the author Jack Bastide
        It WORKS!!!!!

        thanks you are a lifesaver
        Signature

        If you can drive Biz Op Phone Calls .... I'm Buying

        {{ DiscussionBoard.errors[2470232].message }}
        • Profile picture of the author dwooding
          You're welcome.

          If you want to make your url "prettier", you can create a .htaccess file in your sixmonth subdirectory that contains the following content:

          RewriteEngine On
          RewriteCond %{REQUEST_FILENAME} !-f
          RewriteCond %{REQUEST_FILENAME} !-d
          RewriteRule ^([^/]+)$ index.php?source=$1 [L]
          Then you can use this link instead:

          http://jackbastide.com/sixmonth/wf001
          Signature
          {{ DiscussionBoard.errors[2473958].message }}

Trending Topics