-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblueprints.yaml
85 lines (78 loc) · 2.37 KB
/
blueprints.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: Facebook Conversion Api
slug: facebook-conversion-api
type: plugin
version: 1.0.0
description: Facebook Conversion API integration
icon: facebook
author:
name: Paul Massendari
email: [email protected]
homepage: https://github.com/paulmassen/grav-plugin-facebook-conversion-api
demo: http://demo.yoursite.com
keywords: grav, plugin, etc
bugs: https://github.com/paulmassen/grav-plugin-facebook-conversion-api/issues
docs: https://github.com/paulmassen/grav-plugin-facebook-conversion-api/blob/develop/README.md
license: MIT
dependencies:
- { name: grav, version: '>=1.6.0' }
form:
validation: loose
fields:
enabled:
type: toggle
label: Debug
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
debug:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
test_event_code:
type: text
label: Test Event Code for debugging (you can find this in the event manager).
help: You can use this to verify that the plugin is working correctly.
placeholder: Example TEST123456
credentials:
type: section
title: Credentials Facebook
underline: true
fields:
access_token:
type: text
label: Facebook Conversions API Access Token
help: The Access Token for the Facebook Conversions API. You can find this in the Facebook Pixel settings in the event manager.
validate:
required: true
pixel_id:
type: text
label: Facebook Pixel ID
help: The Pixel ID of the Facebook Pixel you want to send events to. You can find this in the Facebook Pixel settings in the event manager.
validate:
required: true
tracking:
type: section
title: Tracking Configuration
underline: true
fields:
track_pageviews:
type: toggle
label: PageView Tracking
help: If enabled, the plugin will send a PageView event to Facebook on every page load.
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool