Goals
Tracking offline goals with External Goal Match API¶
Warning
This documentation is still a draft! This part of the documentation is a draft and may change heavily!
Prerequisites¶
- Giosg script is installed on your website that you wish to track
- You should have at least one goal configured.
While the visitor is browsing a website¶
- Visitor arrives on the site
- While the visitor is browsing the site the following call is made using Visitor Identifier API:
_giosg('visitor', 'setIdentifier', 'customer-12345')
- Giosg has now saved the visitor's identity (
customer-12345
) and it can be used to create a goal event for that particular visitor and session at a later point. - Rules with and without Targeting are triggered for the visitor. Giosg tracks these events.
At a later time¶
- Visitor does something that you count as reaching the goal
- One or multiple goals can be tracked for the visitor using External Goal Match API.
- This API needs the Goal, list of room UUID's and the visitor identifier (
customer-12345
) that was created in the previous section. - Amazing! we have just created a goal event for the visitor and the correct visit. Target can use it when creating a model for the site.
Tracking goals with Goal Match javascript API¶
Prerequisites¶
- Giosg script is installed on your website that you wish to track
- You should have at least one goal configured.
Triggering goals manually while the visitor is browsing a website¶
- Visitor arrives on the site
- Trigger goal by calling javascript Goal Match API:
_giosg('goal', 'matches', '2870f654-c6a7-11e6-8a67-60f81db030fe');