The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Forum
    2. Categories
    3. SEO Tactics
    4. Reporting & Analytics
    5. Cookies/Tracking/Code developement

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Cookies/Tracking/Code developement

    Reporting & Analytics
    4 3 1.3k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • leadsprofi
      leadsprofi last edited by

      So.

      I have an online application form, on the website. It's maked with php, html and css.

      What i like to place on the email, is a cookie tracking system.

      For example, when someone search on the google for " web design ", and then see my result on google organic, comes the visitor to my site, charge the fields of application forms and click send.

      Than, me like an admin, i receive an email with informations of a customer, i see name/surname/etc.. but i like to integrate is for example, like to see a:

      • IP from Visitors, who charged the fields

      • Referrerr, if google, like to see which query he typed.

      How can i do this please?

      1 Reply Last reply Reply Quote 0
      • leadsprofi
        leadsprofi @StreamlineMetrics last edited by

        Is this for free?

        1 Reply Last reply Reply Quote 0
        • KeriMorgret
          KeriMorgret last edited by

          I can't help with the technical information, but I do want to mention to be sure that everything is disclosed in a privacy statement, and that you're not doing anything to violate Google Analytics' terms of service about personally identifiable information (if you're using GA).

          1 Reply Last reply Reply Quote 0
          • StreamlineMetrics
            StreamlineMetrics last edited by

            Hi there,

            I had the same issue and couldn't find any simple solutions so I went ahead and created a free tool that does exactly what you are looking to do. It captures information submitted through a lead form along with where they came from and if they came from a search engine, it automatically tracks the exact keyword phrase they searched for. Then all of the lead information is sent to you in an email as well as stored in a very basic database for you to manage them. It's still a work in progress but it accomplishes what I want it to do for the time being. Feel free to check it out at http://convertable.com and please let me know if you have any suggestions or comments.

            Another option is to add a Unique ID number to the Thank You page URL. For example, add a hidden field to your application form named "uid" which is a random number like 399285. Then when the form is submitted, redirect to a Thank You page such as www.yoursite.com/thankyou?uid=399285. Then you can look up that pageview in Google Analytics and reverse engineer it to see more data about who submitted the form and how they got to your site, such as referral information, keyword, etc.

            Hope that helps!

            leadsprofi 1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post

            Got a burning SEO question?

            Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


            Start my free trial


            Explore more categories

            • Moz Tools

              Chat with the community about the Moz tools.

              Getting Started
              Moz Pro
              Moz Local
              Moz Bar
              API
              What's New

            • SEO Tactics

              Discuss the SEO process with fellow marketers

              Content Development
              Competitive Research
              Keyword Research
              Link Building
              On-Page Optimization
              Technical SEO
              Reporting & Analytics
              Intermediate & Advanced SEO
              Image & Video Optimization
              International SEO
              Local SEO

            • Community

              Discuss industry events, jobs, and news!

              Moz Blog
              Moz News
              Industry News
              Jobs and Opportunities
              SEO Learn Center
              Whiteboard Friday

            • Digital Marketing

              Chat about tactics outside of SEO

              Affiliate Marketing
              Branding
              Conversion Rate Optimization
              Web Design
              Paid Search Marketing
              Social Media

            • Research & Trends

              Dive into research and trends in the search industry.

              SERP Trends
              Search Behavior
              Algorithm Updates
              White Hat / Black Hat SEO
              Other SEO Tools

            • Support

              Connect on product support and feature requests.

              Product Support
              Feature Requests
              Participate in User Research

            • See all categories

            • Collecting post codes / zip codes in Google Analytics - Terms of Service
              A_Q
              A_Q
              0
              3
              2.3k

            Get started with Moz Pro!

            Unlock the power of advanced SEO tools and data-driven insights.

            Start my free trial
            Products
            • Moz Pro
            • Moz Local
            • Moz API
            • Moz Data
            • STAT
            • Product Updates
            Moz Solutions
            • SMB Solutions
            • Agency Solutions
            • Enterprise Solutions
            • Digital Marketers
            Free SEO Tools
            • Domain Authority Checker
            • Link Explorer
            • Keyword Explorer
            • Competitive Research
            • Brand Authority Checker
            • Local Citation Checker
            • MozBar Extension
            • MozCast
            Resources
            • Blog
            • SEO Learning Center
            • Help Hub
            • Beginner's Guide to SEO
            • How-to Guides
            • Moz Academy
            • API Docs
            About Moz
            • About
            • Team
            • Careers
            • Contact
            Why Moz
            • Case Studies
            • Testimonials
            Get Involved
            • Become an Affiliate
            • MozCon
            • Webinars
            • Practical Marketer Series
            • MozPod
            Connect with us

            Contact the Help team

            Join our newsletter
            Moz logo
            © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy

            Looks like your connection to Moz was lost, please wait while we try to reconnect.