google tracking code showing in form submissions

Discussion in 'General Web Coding' started by cdog, Aug 24, 2010.

  1. cdog

    cdog Perch

    I'm using php mailer to email form results to a customer.
    I have some code that loops through the post fields and builds the body of the email. As well as the form values the body also contains what appears to be cookie data. e.g. __utma - some google based value and even a payplal one s_favsn_paypalglobal_1

    I figure this is clientside specific and I'm currently searching for these keys and not including them but I don't think thats an ideal solution. I was hoping someone could shed some light on why these values are part of the post data in the first place
  2. cdog

    cdog Perch

    It seems this issue is caused by the analytics code google have people add
    Code:
    <script type="text/javascript">
    google analytics stuff
    </script>
    updating the opening script tag to include the language property seemed to fix it
    Code:
    <script type="text/javascript" language="javascript">

Share This Page

JodoHost - 26,000 hosting end-users in 100 countries
Plesk Web Hosting
VPS Hosting
H-Sphere Web Hosting
Other Services