Title: URL Content Mapper
Author: Wajahat Mubashir
Published: <strong>11 Tháng 2, 2025</strong>
Last modified: 17 Tháng 12, 2025

---

Tìm kiếm plugin

![](https://ps.w.org/url-content-mapper/assets/banner-772x250.png?rev=3239186)

![](https://ps.w.org/url-content-mapper/assets/icon-256x256.png?rev=3239186)

# URL Content Mapper

 Bởi [Wajahat Mubashir](https://profiles.wordpress.org/wajahatmubashir/)

[Tải về](https://downloads.wordpress.org/plugin/url-content-mapper.1.4.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/url-content-mapper/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/url-content-mapper/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/url-content-mapper/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/url-content-mapper/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/url-content-mapper/)

## Mô tả

URL Content Mapper dynamically adds content groups in Google Analytics 4 and injects
code before GA4 or Google Tag Manager scripts in the `<head>` tag of your WordPress
site. This allows you to better organize and track user activity, ensuring that 
your analytics data is both accurate and comprehensive.

## Cài đặt

 1. **Upload the plugin files** to the `/wp-content/plugins/wp-url-content-mapper/`
    directory, or install the plugin through the WordPress plugins screen directly 
    by uploading the zip file.
 2. **Activate the plugin** through the ‘Plugins’ screen in WordPress.
 3. **Navigate to Settings**  **URL Content Mapper** to configure the plugin.
 4. Once configured, the plugin automatically injects your custom code before GA4/GTM
    scripts on every page load.

## Hỏi đáp

### Does this plugin work with both GA4 and GTM?

Yes. It injects a script responsible for creating content groups before GA4 or GTM
scripts, allowing you to set content groups more effectively.

### Will it slow down my site?

This plugin adds a minimal amount of code, so the impact on performance should be
negligible. However, always test thoroughly on your environment.

### Where can I find the plugin settings?

After activation, go to **Settings**  **URL Content Mapper** in your WordPress Admin
panel.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“URL Content Mapper” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Wajahat Mubashir ](https://profiles.wordpress.org/wajahatmubashir/)

[Dịch “URL Content Mapper” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/url-content-mapper)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/url-content-mapper/), check
out [SVN repository](https://plugins.svn.wordpress.org/url-content-mapper/), hoặc
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/url-content-mapper/)
qua [RSS](https://plugins.trac.wordpress.org/log/url-content-mapper/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.4

 * Improved content grouping for better organization

#### 1.3

 * CRITICAL FIX: Removed DOMContentLoaded wrapper to fix GA4 timing issues
 * CRITICAL FIX: Script now loads in HEAD instead of footer for proper execution
   order
 * Fixed URL pattern matching to use pathname instead of full href
 * Improved query parameter handling for patterns like /?wizard=true
 * Fixed sanitization to preserve relative URL patterns like /products/
 * Removed duplicate script enqueuing for better performance
 * Added “pushed once” logic to prevent multiple category assignments
 * WordPress.org compliance improvements
 * Better documentation and code comments

#### 1.2

 * Added import/export functionality for easy settings backup and migration
 * Enhanced admin interface with better user experience
 * Added file validation and error handling for imports
 * Improved security with WordPress nonces and capability checks

#### 1.1

 * Improved content group mapping logic

#### 1.0

 * Initial release: Adds the capability to inject code before GA4/GTM scripts and
   configure content groups.

## Meta

 *  Phiên bản **1.4**
 *  Cập nhật lần cuối **7 tháng trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 5.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.8.5**
 *  Phiên bản PHP ** 7.2 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/url-content-mapper/)
 * Thẻ
 * [analytics](https://vi.wordpress.org/plugins/tags/analytics/)[ga4](https://vi.wordpress.org/plugins/tags/ga4/)
   [google tag manager](https://vi.wordpress.org/plugins/tags/google-tag-manager/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/url-content-mapper/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/url-content-mapper/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/url-content-mapper/reviews/)

## Những người đóng góp

 *   [ Wajahat Mubashir ](https://profiles.wordpress.org/wajahatmubashir/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/url-content-mapper/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://wajahatmubashir.netlify.app/)