Campaign Tag URL Builder

Google Analytics can track any marketing initiative that drives traffic to your website.

Use this tool to build URLs that contain Google Analytics Campaign Tags.

Help Article: Tracking Campaigns in Google Analytics


Do Your Users Block Google Analytics?

When Users block tracking, they don’t show up in your GA reports.

The best way to see these missing Users is to use a Google Analytics Wingman.


URL Builder Tool

Step 1: Enter the URL of your website or landing page.

Website URL:
 e.g. https://www.mysite.com

Step 2: Fill in the campaign details below. Fields with * are required.

*Campaign Source: describes website or location of ad
*Campaign Medium: marketing medium: cpc, email, banner
*Campaign Name: name of campaign, product, or initiative
Campaign Content: used to differentiate links on the same page
Campaign Term: bid term/phrase, used for CPC ads

Step 3: or


Additional Information

Campaign Source: Required. Use utm_source to identify a search engine, newsletter name, or other source.
Campaign Medium: Required. The medium describe the type of promotion, e.g. email, banner, cpc, social.
Campaign Name: The Campaign variable lets you group multiple promotional efforts into one initiative.
Campaign Content: Used for A/B testing and content-targeted ads. Use utm_content to differentiate ads or links that point to the same URL.
Campaign Term: Used for keyword analysis. Enter the term you wish to see associated with a campaign, or use dynamic keyword insertion in AdWords to have the term automatically inserted: utm_term={keyword}

Next Steps

Check out our Recommended Tools to learn about products that complement Google Analytics.

Google Analytics Regular Expression Tester

Google Analytics Regular Expression TesterThis tool lets you test regular expressions (RegEx).

Once the RegEx works as expected, use it in a Google Analytics Filter.

Test the RegEx in a sandbox property before applying it to your main property.

Instructions

  1. Enter the regular expression in the first line.
  2. Enter items you want the regex to try to match. Each entry should be on a separate line.
  3. Click the “Test Regex” button.
  4. The items your regular expression match will be displayed below.

Which RegEx characters can I use?

Enter Regex


Enter Items to Test (one per line)





Regex Matches



Do Your Users Block Google Analytics?

When Users block tracking, they don’t show up in your GA reports.

The best way to see these missing Users is to use a Google Analytics Wingman.

IP Range Regular Expression Builder

This tool creates a RegEx statement that matches a range of IP Addresses.

Use this statement in a Google Analytics Filter.

Starting IP

Enter the first IP address in the range. (e.g. 100.22.33.1)

Ending IP

Enter the last IP address in the range. (e.g. 100.22.33.99)
If this field is empty, the tool will create RegEx for the IP address entered in step 1.




RegEx Results

Copy and paste this RegEx statement into a Filter!


Do Your Users Block Google Analytics?

When Users block tracking, they don’t show up in your GA reports.

The best way to see these missing Users is to use a Google Analytics Wingman.