Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
facebook-pixel-and-fresh8 [2022/11/23 14:57] – evaldas-luksys | facebook-pixel-and-fresh8 [2024/04/11 12:09] (current) – [Triggers] evaldas-luksys | ||
---|---|---|---|
Line 8: | Line 8: | ||
Other events are optional, but the more are added, the better result can be achieved. | Other events are optional, but the more are added, the better result can be achieved. | ||
+ | |||
+ | Please note, javascript code snippets in the screenshots were added just for display purposes. The correct code snippets are next to the screenshots and these should be pasted in Google Tag Manager. | ||
====== Custom variables ====== | ====== Custom variables ====== | ||
- | In some code snippets we use < | + | In some code snippets we use < |
For custom variable list please read Custom variables section. | For custom variable list please read Custom variables section. | ||
Line 127: | Line 129: | ||
{{: | {{: | ||
+ | |||
+ | Code snippet below. Please replace currency ' | ||
< | < | ||
< | < | ||
fbq(" | fbq(" | ||
- | currency: | + | currency: |
value: 0, | value: 0, | ||
external_id: | external_id: | ||
Line 137: | Line 141: | ||
</ | </ | ||
</ | </ | ||
- | |||
==== Purchase ==== | ==== Purchase ==== | ||
{{: | {{: | ||
+ | |||
+ | Please replace currency with your own. | ||
< | < | ||
Line 156: | Line 161: | ||
content_type: | content_type: | ||
content_ids: | content_ids: | ||
- | currency: | + | currency: |
value: {{Amount}} | value: {{Amount}} | ||
}); | }); | ||
Line 178: | Line 183: | ||
{{: | {{: | ||
+ | |||
+ | Please replace currency with your own. | ||
< | < | ||
< | < | ||
fbq(" | fbq(" | ||
- | currency: | + | currency: |
external_id: | external_id: | ||
value: {{Amount}} | value: {{Amount}} | ||
Line 192: | Line 199: | ||
{{: | {{: | ||
+ | |||
+ | Please replace currency with your own. | ||
< | < | ||
Line 197: | Line 206: | ||
fbq(" | fbq(" | ||
value: {{Amount}}, | value: {{Amount}}, | ||
- | currency: | + | currency: |
external_id: | external_id: | ||
}); | }); | ||
Line 224: | Line 233: | ||
{{: | {{: | ||
- | ==== {{Currency}} ==== | ||
- | {{: | ||
==== {{user ID}} ==== | ==== {{user ID}} ==== | ||
Line 232: | Line 239: | ||
==== {{Amount}} ==== | ==== {{Amount}} ==== | ||
{{: | {{: | ||
+ | |||
+ | ==== {{depositsCount}} ==== | ||
+ | {{: | ||
+ | |||
+ | ==== More information about other possible data layer variables can be found here ==== | ||
+ | https:// | ||
====== Triggers ====== | ====== Triggers ====== | ||
+ | Bare in mind, that event names in the screenshots might be out of date. For up to date event names please visit this page: https:// | ||
==== Pageview ==== | ==== Pageview ==== | ||
Line 261: | Line 275: | ||
{{: | {{: | ||
+ | |||
+ | ==== Add to slip event ==== | ||
+ | |||
+ | {{: |