From 1a88d9de97fcef4f77b12fb63831419e00268295 Mon Sep 17 00:00:00 2001 From: Spencer Attick <23665784+spencerattick@users.noreply.github.com> Date: Thu, 6 Apr 2023 14:26:36 -0400 Subject: [PATCH 1/2] add Pixel FAQ --- src/connections/functions/source-functions.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/connections/functions/source-functions.md b/src/connections/functions/source-functions.md index 7e63145957..c282907478 100644 --- a/src/connections/functions/source-functions.md +++ b/src/connections/functions/source-functions.md @@ -408,4 +408,8 @@ Segment alphabetizes payload fields that come in to **deployed** source function #### Does the source function allow `GET` requests? `GET` requests are not supported with a source function. Source functions can only receive data through `POST` requests. + +#### Can I use a Source Function in place of adding a Tracking Pixel to my code? + +Generally Tracking Pixels operate client-side only which means that they'll actually need to be loaded onto your website directly. Source Functions operate server-side and as such will not be able to capture or implement client-side tracking code such as a Pixel. If the tool you're hoping to integrate is server-side however, then you're likely able to use a Source Function to connect it to Segment. From b6a2a8512706a5779fc699125eabec36db240df1 Mon Sep 17 00:00:00 2001 From: forstisabella <92472883+forstisabella@users.noreply.github.com> Date: Thu, 13 Apr 2023 16:10:50 -0400 Subject: [PATCH 2/2] Update src/connections/functions/source-functions.md --- src/connections/functions/source-functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connections/functions/source-functions.md b/src/connections/functions/source-functions.md index c282907478..fb9ae3bc63 100644 --- a/src/connections/functions/source-functions.md +++ b/src/connections/functions/source-functions.md @@ -411,5 +411,5 @@ Segment alphabetizes payload fields that come in to **deployed** source function #### Can I use a Source Function in place of adding a Tracking Pixel to my code? -Generally Tracking Pixels operate client-side only which means that they'll actually need to be loaded onto your website directly. Source Functions operate server-side and as such will not be able to capture or implement client-side tracking code such as a Pixel. If the tool you're hoping to integrate is server-side however, then you're likely able to use a Source Function to connect it to Segment. +No. Tracking Pixels operate client-side only and need to be loaded onto your website directly. Source Functions operate server-side only, and aren't able to capture or implement client-side tracking code. If the tool you're hoping to integrate is server-side, then you can use a Source Function to connect it to Segment.