Case sharing: "Contact us" to achieve automatic tracking function

Source: Internet
Author: User
Keywords function to achieve

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Recently has been promoting an E-commerce site, and other site optimization is different, E-commerce site is more important to the user experience degree, the page has been browsing volume and the conversion rate of the site. Especially the conversion rate, if the tracking site conversion rate? The author introduces Google Analytics (analysis) Tool goal setting function.

"Contact Us" feature implementation

Describe the case with "contact us". "Contact Us" page can achieve visitors like the site share holders to send inquiries, complaints or any information, in Google Analytics (analysis) Tracking target settings, considering the visitors to complete the transaction, this is the visitor must visit the page, so you retreat analysis, When a user accesses this page, a transaction is realized. Users simply fill out the form and click the button to implement the Submit function.

  

Set a valid target in two ways

Google Analytics (analytics) can differentiate between two different pages, "Contact us" form and "Thank you" page. If you have a "contact us" form, after clicking on the button there will be a "Thank you" page, for beginners, set the target page will be more difficult, because the "Thank you" page may be just a pop-up window, such a window in the prevention of tracking code is difficult to find the corresponding code fragment, Two kinds of cooking are available here.

1, if you "contact us" as your target page, then the tracking code must be placed in Figure 9 in front of the code, this suggestion is made because there are two different pages on one page, and perhaps the user will visit the Contact Us page, but if it does not submit the form, it will not access the Thank you page.

2, if you want to measure the "Thank You" page, this looks difficult to achieve, but in fact it is not difficult, only click on the Submit button will appear "Thank you" page, so we can take this button as a trigger for this page is accessed by the portal, the button code fragment to add tracking code, you can achieve.

Convert < form action= "[Some script]" method= "POST" > to < form action = "Some scripts]" method = "POST" onsubmit = "pagetracker._ Trackpageview ('/contactthankyou ') >

Set up such a tracking target is to further detect, the website promotion process, the user participation degree and the website conversion rate, in the setting process, the optimization worker may set the target page according to own need.

Original source: http://www.kaililong.net/Consulting_Services.htm reprint Please keep valid link address, thank you!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.