Coding advice: Passing parameters

Discussion in 'Google AdWords' started by muchacho79, Sep 23, 2008.

  1. #1
    Hi guys,

    I'll explain what I need, in short form.

    When someone visits my website via Adwords, and consequently goes through to fill out my form (conversion/lead) ... the email that arrives in my inbox, I'd like to include not just the form fields, but also, information such as the following:

    Search Engine used
    keyword that was triggered
    PPC ad that was clicked on.

    I can manually see all this by using GA/Statcounter, however that's taking time, as I'm getting many leads per day. What I'd like is for all this information to pass from the PPC to the website but keep the information and send it along with the form fields (such as name, address etc) through to my email.

    Any suggestions/advice?
     
    muchacho79, Sep 23, 2008 IP
  2. narsticle

    narsticle Peon

    Messages:
    1,679
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    youll need to somehow include this data in the destination url
     
    narsticle, Sep 23, 2008 IP
  3. robertpriolo

    robertpriolo Peon

    Messages:
    1,859
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #3

    You need to add parameters to the end of your url and then pass the information into your form

    Assume you wanted the above params you need to tag each keyword destination url as follows

    myurl.com/?seused=google&keyword=widget&ppcad={creative}


    Then in the form you can pass some hidden fields

    using the following request tag to collect the data from your url

    $_REQUEST[]

    <input type="hidden" name="search engine use" value="$_REQUEST[seused]" />
    <input type="hidden" name="keyword" value="$_REQUEST[keyword]" />
    <input type="hidden" name="text ad" value="$_REQUEST[ppcad]" />


    Hope this helps... its kind of an advanced topic
     
    robertpriolo, Sep 23, 2008 IP