There are two ways to set your Goals. Both methods are explained below.
Definition of a "Goal" in Conversion Reporting:
A goal is a url where your visitors view a page on your website. This page can be a landing page where your visitors first arrive or the last page they see before they leave, for example a purchase confirmation. The point is to measure the amount of visitors who arrive at your goals (convert) from specific sources.
By defining your goals you pass Opentracker 2 pieces of information;
- The page (url) that you are defining as a goal and
- The value (monetary amount that a click is worth to you)
The first method has the advantage of generating dynamically. Therefore we recommend you start with the first method unless you are an advanced webmaster.
Two ways to define goals:
Insert a script (in addition to the original Opentracker JS) in the source code of each goal page. We call this "goalscript".Update goal page urls to include a parameter that indicates the goal & value. We call this "inurl".
Example implementation type 1 (goalscript):
Add this script to the <HEAD> section of your designated goal page;
<script type="text/javascript">
otgoal="signup.page1";
otclv="1";
</script>
where otgoal="signup.page1" means that "signup.page1" is the name assigned to the designated goal page
and otclv="1" means that the click has been assigned a value of $1
Note
The extra goal-javascript must be placed before the default opentracker javascript
Example implementation type 2 (inurl):
Inurl: change the (internal) url from
http://www.mysite.com/sample-page.html
to
http://www.mysite.com/sample-page.html?otgoal=sample.goalname&otclv=10
where "?otgoal=sample.goalname&otclv=10" had been added to the original url and
"otgoal=signup" means the goal is called "sample.goalname" and
"otclv=10" means the value is $10
If you want to group goals you can use a dot "." as separator, this will enable you to filter the ROI reports by hierarchy, for example;
- signup
- signup.step1
- signup.step2
- etc.
Opentracker will try to group these values