Skip to content

Commit 182528e

Browse files
committed
Add goals docs
1 parent 2b753e4 commit 182528e

File tree

2 files changed

+56
-8
lines changed

2 files changed

+56
-8
lines changed

_docs/30_features/07-goals.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: Goals
3+
category: features
4+
permalink: /goals
5+
created_at: 2022-12-22
6+
last_modified_at: 2022-12-22
7+
---
8+
9+
Our goals feature is really helpful for organizing and understanding your data. With it, you can set up filters for your data and view the results in these cool goal cards. The cards make it easy to see how you're doing at a glance.
10+
11+
## Overview
12+
13+
In the video below we give you a quick overview of the goals feature.
14+
15+
{%
16+
include video.html
17+
slug="2022-12-21-goals-overview"
18+
formats="mp4,mov,ogg,webm,wmv"
19+
poster="video.png"
20+
subtitles="subtitles.vtt"
21+
controls="true"
22+
autoplay="false"
23+
%}
24+
25+
It's a good but simple introduction, but if you want to make the most of your goals, be sure to check out the rest of this article. We've included some helpful tips and information on how to use the feature to its full potential.
26+
27+
## Funnel
28+
29+
In our next video, we'll show you how to set up a new goal with a filter that targets page views from the home page. We'll also demonstrate how to add an additional step to the goal by filtering page views from the pricing page. This will give you a more comprehensive view of how your pircing page is performing.
30+
31+
{%
32+
include video.html
33+
slug="2022-12-22-goals-home-to-pricing"
34+
formats="mp4,mov,ogg,webm,wmv"
35+
poster="video.png"
36+
controls="true"
37+
autoplay="true"
38+
%}
39+
40+
Go to [your dashboard](https://simpleanalytics.com/select-website/events) and start playing with goals.

_includes/video.html

+16-8
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@
1414
>
1515
<video
1616
loop
17-
muted
18-
autoplay
17+
{% if includes.autoplay == 'false' %}
18+
muted
19+
autoplay
20+
{% else %}
21+
preload="metadata"
22+
{% endif %}
1923
crossorigin="anonymous"
20-
{%
21-
if
22-
include.controls
23-
%}controls{%
24-
endif
25-
%}
24+
{% if include.controls %}controls{% endif %}
2625
class="post-video {% if include.red %}red{% endif %}"
2726
{% if include.poster and include.poster contains '.' %}
2827
poster="https://assets.simpleanalytics.com/videos/{{ include.slug }}/{{ include.poster }}"
@@ -66,5 +65,14 @@
6665
>
6766
instead. {% endif %}
6867
</p>
68+
{% if include.subtitles %}
69+
<track
70+
default
71+
label="English"
72+
kind="subtitles"
73+
srclang="en"
74+
src="https://assets.simpleanalytics.com/videos/{{ include.slug }}/{{include.subtitles}}"
75+
/>
76+
{% endif %}
6977
</video>
7078
</div>

0 commit comments

Comments
 (0)