เราอยู่ใน LinkedIn แล้วตอนนี้: หากต้องการข่าวสารและแหล่งข้อมูลจาก Google Search เกี่ยวกับการทำให้เว็บไซต์ของคุณค้นพบได้ โปรด
ติดตามเราใน LinkedIn
อัปเดตเกี่ยวกับตัวกรองนิพจน์ทั่วไปของ Search Console และเคล็ดลับง่ายๆ สำหรับการใช้งาน
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
วันพุธที่ 2 มิถุนายน 2021
เมื่อเร็วๆ นี้ เราได้แจ้งให้ทราบเรื่องการกรองข้อมูลที่ปรับปรุงดียิ่งขึ้นสําหรับรายงานประสิทธิภาพของ Search Console และเราดีใจที่ได้เห็นการตอบรับของชุมชนเกี่ยวกับประกาศนี้
เราให้ความสนใจในความคิดเห็นที่ได้รับเหมือนทุกครั้ง รวมถึงมีคําขอจำนวนมากที่ช่วยเติมเต็มชิ้นส่วนภาพที่ขาดหายไป นั่นคือการเพิ่มตัวเลือกการทำงานแบบเชิงลบลงในตัวกรองนิพจน์ทั่วไป
ข่าวดีก็คือ เริ่มตั้งแต่วันนี้ตัวกรองรายงานประสิทธิภาพจะรองรับตัวกรองนิพจน์ทั่วไปทั้งที่ตรงกันและไม่ตรงกัน ตัวเลือกนี้มีให้ใช้งานผ่านเมนูแบบเลื่อนลงชั้นที่สอง ซึ่งจะปรากฏหลังจากเลือก "กําหนดเอง (นิพจน์ทั่วไป)" ในตัวเลือกตัวกรอง ดังที่แสดงในภาพหน้าจอด้านล่าง ดูข้อมูลเพิ่มเติมเกี่ยวกับการกรองข้อมูลประสิทธิภาพการค้นหา
เคล็ดลับง่ายๆ สำหรับการใช้นิพจน์ทั่วไปใน Search Console
เรายังคิดด้วยว่าหากคุณเพิ่งเริ่มใช้นิพจน์ทั่วไป การให้คำแนะนำการใช้งานสั้นๆ จะเป็นประโยชน์สำหรับคุณ
อย่างแรกเลย มาทำความเข้าใจกันก่อนว่านิพจน์ทั่วไปคืออะไร หากอธิบายโดยย่อ นิพจน์ทั่วไปก็คือลําดับของอักขระที่ระบุรูปแบบการค้นหา ซึ่งให้คุณใช้สร้างตัวกรองขั้นสูงเพื่อรวมหรือยกเว้นคำหรือวลีมากกว่า 1 รายการ เมื่อใช้นิพจน์ทั่วไป คุณสามารถใช้อักขระเมตาได้จํานวนหนึ่ง ซึ่งเป็นอักขระที่มีความหมายพิเศษ เช่น ใช้กําหนดเกณฑ์การค้นหา โปรดดูข้อมูลอ้างอิงไวยากรณ์นิพจน์ทั่วไป RE2 สําหรับการอ้างอิงอักขระเมตาทั้งหมดที่ Search Console รองรับ
หากคุณสงสัยว่าเมื่อใดควรใช้นิพจน์ทั่วไปแทนที่จะใช้ตัวกรองประเภทอื่น ให้ลองดูตัวอย่างการใช้นิพจน์ทั่วไปแทนตัวกรองประเภทอื่นต่อไปนี้
- จัดกลุ่มผู้ใช้ที่รู้จักแบรนด์ของคุณอยู่แล้ว - ใช้นิพจน์ทั่วไปที่ระบุชื่อบริษัทของคุณได้หลายรูปแบบ รวมถึงการสะกดผิด วิธีนี้จะบอกให้คุณรู้ได้ว่าผู้ใช้แต่ละกลุ่มใช้การค้นหาประเภทใด และส่วนใดของเว็บไซต์ที่ดึงดูดผู้ชมแต่ละคน
เช่น หากชื่อบริษัทของคุณคือ
Willow Tree
คุณอาจต้องสร้างตัวกรองสําหรับรูปแบบต่างๆ ทั้งหมด เช่น willow tree|wilow tree|willowtree|willowtee
(อักขระเมตา |
หมายถึงคําสั่ง OR)
- วิเคราะห์การเข้าชมส่วนของเว็บไซต์ - ใช้นิพจน์ทั่วไปที่เน้นไดเรกทอรีที่เจาะจงในเว็บไซต์ ซึ่งจะช่วยให้คุณรู้ว่าคำค้นหาใดที่มีการใช้บ่อยสำหรับเนื้อหาในแต่ละส่วน ตัวอย่างเช่น หากโครงสร้าง URL ของคุณคือ
example.com/[product]/[brand]/[size]/[color]
และต้องการดูการเข้าชมที่นำไปยังรองเท้าสีเขียว แต่ไม่สนใจว่าจะเป็นยี่ห้อหรือขนาดใด คุณอาจใช้ shoes/.*/green
(.*
จะตรงกับอักขระใดก็ได้และกี่ครั้งก็ได้)
- ทำความเข้าใจเจตนาของผู้ใช้ - ใช้นิพจน์ทั่วไปเพื่อวิเคราะห์ว่าคำค้นหาแบบใดที่นำผู้ใช้ไปยังส่วนต่างๆ ของเว็บไซต์
ตัวอย่างเช่น คุณอาจสนใจการค้นหาที่มีคำที่เป็นคำถาม ตัวกรองคำค้นหา
what|how|when|why
อาจแสดงผลการค้นหาที่บ่งชี้ว่าเนื้อหานั้นควรจะตอบคำถามได้โดยง่าย โดยอาจใช้การตอบผ่านคำถามที่พบบ่อยก็ได้ อีกตัวอย่างหนึ่งอาจเป็นคําค้นหาที่มี (หรือไม่มี) คําที่เกี่ยวกับการทำธุรกรรม เช่น buy|purchase|order
นอกจากนี้ นิพจน์เหล่านี้ยังใช้แสดงชื่อผลิตภัณฑ์ที่ใช้กันทั่วไปหรือที่ไม่ค่อยใช้กันได้ด้วย
โปรดไปที่ศูนย์ช่วยเหลือของ Search Console เพื่อดูนิพจน์ทั่วไปที่พบบ่อย และหากคุณมีตัวอย่างดีๆ ของวิธีใช้นิพจน์ทั่วไป ก็แชร์บน Twitter โดยใช้แฮชแท็ก #performanceregex
ได้เลย
หากมีข้อสงสัยหรือข้อกังวลใดๆ โปรดติดต่อเราในชุมชน Google Search Central หรือทาง Twitter
โพสต์โดย Daniel Waisberg ผู้ประสานงานของ Search
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
[null,null,[],[[["\u003cp\u003eGoogle Search Console's Performance report now supports negative matching for regular expression filters, allowing users to exclude specific patterns.\u003c/p\u003e\n"],["\u003cp\u003eRegular expressions (regex) are sequences of characters used for advanced filtering beyond simple keywords, enabling analysis of various aspects of website traffic.\u003c/p\u003e\n"],["\u003cp\u003eRegex in Search Console can be used for tasks like segmenting users based on brand knowledge, analyzing traffic to specific website sections, and understanding user intent through query patterns.\u003c/p\u003e\n"],["\u003cp\u003eUsers can leverage the RE2 regex syntax and refer to Search Console help center for guidance on using regular expressions effectively.\u003c/p\u003e\n"]]],["The Search Console Performance report now supports both matching and non-matching regular expression (regex) filters via a secondary dropdown. Regex allows for advanced filtering using metacharacters, enabling users to segment branded traffic, analyze specific website sections (e.g., using `shoes/.*/green`), and understand user intent by filtering for question words or transactional terms (e.g `buy|purchase|order`). The document provides guidance, a link to the RE2 syntax, and encourages the sharing of regex examples.\n"],null,["# Search Console regex filters update and quick tips\n\nWednesday, June 02, 2021\n\n\nWe recently announced [improved data filtering](/search/blog/2021/04/performance-report-data-filtering)\nfor Search Console Performance reports, and we were delighted to see the [community\nreaction](https://twitter.com/googlesearchc/status/1379775388193320962) to the announcement.\n\n\nWe were also interested in the feedback we received, as always, and we saw many requests to complete the picture by adding a negative match option\nto the regular expression (regex) filter.\n\n\nThe good news is that starting today **the Performance report filter supports both matching and not matching regex filters** . The option\nis available through a secondary dropdown, which appears after picking the \"Custom (regex)\" option in the filter selector, as shown in the screenshot\nbelow. Learn more about [filtering search performance data](https://support.google.com/webmasters/answer/7576553#filteringdata).\n\n\nQuick tips on using regex on Search Console\n-------------------------------------------\n\n\nWe also thought it would be helpful to provide some quick tips if you're just starting with regex.\n\n\nFirst of all, what *is* a regular expression? In a few words, it is a sequence of characters that specifies a search pattern. You can use it\nto create advanced filters to include or exclude more than just a word or a phrase. When using regex, you can use a number of metacharacters, which are\ncharacters that have a special meaning, such as defining a search criteria. Check the [RE2 regex\nsyntax reference](https://github.com/google/re2/blob/main/doc/syntax.txt) for a reference on all metacharacters supported by Search Console.\n\n\nIf you're wondering when you should use regex as opposed to other filter types, here are a few examples when to use regex instead of other filters:\n\n- **Segment users that already know your brand** - Use regex that specify multiple variants of your company name, including misspellings. This will inform you what type of queries each group is using and which section of your website is attracting each audience. For example, if your company's names is `Willow Tree`, you might want to create a filter for all variants like this: `willow tree|wilow tree|willowtree|willowtee` (the `|` metacharacter represents an OR statement).\n- **Analyze traffic to a website section** - Use regex that focus on specific directories on your website, this can help you understand what are common queries for each of your content areas. For example, if your URL structure is `example.com/[product]/[brand]/[size]/[color]` and you'd like to view traffic leading to green shoes, but you don't care about the brand or the size, you might use `shoes/.*/green` (`.*` matches any character any number of times).\n- **Understand user intent** - Use regex to analyze which types of queries are bringing users to different sections of your website. For example, you might be interested in queries containing question words; a query filter `what|how|when|why` might show results that indicate your content should easily answer questions, maybe through an FAQ. Another example would be queries containing (or not) transactional words such as `buy|purchase|order`. This might also show which product names are more commonly or rarely used with these expressions.\n\n\nCheck the Search Console help center for [common regular\nexpressions](https://support.google.com/webmasters/answer/7576553#regexp_glossary). If you have any cool examples of what to use regex for, share them on Twitter using the hashtag `#performanceregex`.\n\n\nIf you have any questions or concerns, please reach out on the [Google Search Central Community](https://support.google.com/webmasters/threads?thread_filter=(category:search_console)) or on [Twitter](https://twitter.com/googlesearchc).\n\n\nPosted by [Daniel Waisberg](https://www.danielwaisberg.com), Search Advocate"]]