To track that people have viewed a certain page, grab the URL of the page and name the event something easy to remember.
Some examples include:
- The URL of a landing page
- The payment confirmation page of a checkout process
- The URL of your pricing page
- A URL to download a key document of yours
- The final page of any funnel on your site
You can also record visits to similar URLs under one event name. Use
* to indicate wildcards.
For example, let’s say you’re giving out beta invites to your site. All of the URLs are generated according to a pattern, like:
You could record visits to
yourdomain.com/beta/*/, which encompasses all of these similar URLs. Please refer to Wildcards for more examples.
Rather than typing in the domain of your site every time, you can use partial URLs. Here are some examples:
https://yourdomain.com/plansis the same as
http://yourdomain.com/reports/*is the same as
To clarify, a partial URL is the entire part of the URL that follows the domain.
Don’t forget about that initial
This option is enabled by default.
The Event Manager can differentiate between
two query strings, (the ends of some URLs that start with
?). That is, you can safely set up these events to be different from each other:
Event 1 = [http://yourdomain.com/foo.html?id=1](http://yourdomain.com/foo.html?id=1)
Event 2 = [http://yourdomain.com/foo.html?id=2](http://yourdomain.com/foo.html?id=2)
(In this example, we detect the difference between
?id=2 though they’re on the same page
Our Event Manager URL detection has difficulty with hash symbols
pattern is your URL pattern:
> KM.um("/beta/*"); true
Updated about 1 month ago