Advanced
Some extra thing which may help you with the use of our product.
Custom Parameters
If you wish to identify your visitors via custom parameters, then here is how you can do that.
This feature can be helpful when you have a website that has a membership system where users can log into your website. If they are logged in, you can specify their identifier (ex: email, user_id, name..etc) with our tracking code.
Why? This becomes very helpful when trying to understand what your users are doing and what problems they encountered on your website.
You can do this by simply adding data-custom-parameters='{JSON_PARAMETERS_HERE}'
like in the following example:
<script async src="https://viscatch.com/en/pixel/12345678910111213" data-custom-parameters='{"name": "John Doe", "email": "john@example.com"}'></script>
If that extra parameter is provided then, in the Visitors page you will see the icon near the visitor which tells you that that specific user has been identified with custom parameters.
Goals
First of all, you need to understand the concept of a goal. A goal is something that you want to track that the already existing analytics are not tracking—anything from a button click, downloads, specific page view, like a thank-you page after a checkout...etc.
Pageview
The pageview goal is the easiest to set up and the conversion of the goal will happen once a visitor reaches a certain specified page.
A good example would be when you have a 'thank you' page after the conversion happened (newsletter, purchase, form submission...etc) where the user will land on after.
Custom
Custom goals will require some extra code implemented to the tracked website, which is specified when you create a new goal from the dashboard.
A custom goal is mainly used for when you want to track a specific event that happens on your website, which can't be tracked with the pageview method.
Some examples of where custom goals will shine are:
- Tracking clicks on external links
- Tracking more advanced form submissions
- Tracking clicks on specific parts of your pages
Here is what a javascript snippet would look like for goal tracking:
.goal('my-goal');
When this code will trigger inside of your page, the goal conversion will be triggered as well on our side.