URL builders in GA4
When working with URL builders in GA4, you have the option to add parameters and values to your URLs manually.
Alternatively, you can utilize specific URL-builder tools tailored for different platforms to create your URLs and automatically append the necessary parameters:
It’s important to note that while using these tools, you must have the Google Analytics for Firebase SDK integrated. However, you don’t need to make any changes within the SDK for this feature to function seamlessly.
Manual set up
If you prefer to manually set up your custom campaigns, it’s important to follow these guidelines:
- Separate Parameters: Begin by separating the parameters from the URL using a question mark.
- Parameter-Value Pairs: List the parameters and their corresponding values as pairs, separated by an equal sign.
- Ampersand Separation: Separate each parameter-value pair with an ampersand (&).
For instance:
https://www.example.com/?utm_source=email_campaign&utm_medium=email&utm_campaign=summer-sale
Here’s additional information to consider:
- Order of Parameters: You can add parameters to the URL in any order you prefer.
- Case Sensitivity: Keep in mind that parameter values are case-sensitive. For example, utm_source=google is distinct from utm_source=Google.
- Universal Analytics Site: If you are setting up URL parameters for a Universal Analytics site, you must include at least utm_source and utm_medium .
- Google Analytics 4 Site: If you are configuring URL parameters for a Google Analytics 4 site, you must include at least one utm parameter, but you can add any relevant utm parameter as needed.
These guidelines ensure proper manual setup of URL parameters for effective tracking and analysis within your analytics platform.