Skip to content

Commit 4f5cdf8

Browse files
authored
Merge pull request #3364 from segmentio/develop
Release 22.32.2
2 parents a5ac6d7 + 1ca031b commit 4f5cdf8

File tree

6 files changed

+78
-6
lines changed

6 files changed

+78
-6
lines changed

src/connections/destinations/catalog/actions-facebook-conversions-api/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ With the Facebook Conversions API (Actions) destination, you can choose any fiel
8080

8181
![the coalesce function](images/image1.png)
8282

83-
You can send additional User Data to increase the match rate for events from a server source. Collect other fields from the browser, like User Agent, IP Address, and [Facebook's cookie parameters (fbp, fbc)](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/fbp-and-fbc){:target="_blank"}, pass them to the server, and map them in the User Data object. See [Facebook's Customer Information Parameters](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/customer-information-parameters){:target="_blank"} for more information on User Data fields, and [Facebook's Best Practices for Conversions API](https://www.facebook.com/business/help/308855623839366?id=818859032317965){:target="_blank"} for match rate best practices.
83+
You can send additional User Data to increase the match rate for events from a server source. Collect other fields from the browser, like User Agent, IP Address, and [Facebook's cookie parameters (fbp, fbc)](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/fbp-and-fbc){:target="_blank"}, pass them to the server, and map them in the User Data object. See [Facebook's Customer Information Parameters](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/customer-information-parameters){:target="_blank"} for more information on User Data fields, and [Facebook's Best Practices for Conversions API](https://www.facebook.com/business/help/308855623839366?id=818859032317965){:target="_blank"} for match rate best practices. In addition, you can check your [event match quality (EMQ) rating](https://www.facebook.com/business/help/765081237991954?id=818859032317965){:target="_blank"} in the Meta Events Manager.
8484

8585
![the user data object](images/image2.png)
8686

@@ -104,7 +104,7 @@ With the Facebook Conversions API (Actions) destination, you can choose any fiel
104104

105105
![the coalesce function](images/image1.png)
106106

107-
You can send additional User Data to increase the match rate for events from a server source. Collect other fields from the browser, like User Agent, IP Address, and [Facebook's cookie parameters (fbp, fbc)](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/fbp-and-fbc){:target="_blank"}, pass them to the server, and map them in the User Data object. See [Facebook's Customer Information Parameters](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/customer-information-parameters){:target="_blank"} for more information on User Data fields, and [Facebook's Best Practices for Conversions API](https://www.facebook.com/business/help/308855623839366?id=818859032317965){:target="_blank"} for match rate best practices.
107+
You can send additional User Data to increase the match rate for events from a server source. Collect other fields from the browser, like User Agent, IP Address, and [Facebook's cookie parameters (fbp, fbc)](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/fbp-and-fbc){:target="_blank"}, pass them to the server, and map them in the User Data object. See [Facebook's Customer Information Parameters](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/customer-information-parameters){:target="_blank"} for more information on User Data fields, and [Facebook's Best Practices for Conversions API](https://www.facebook.com/business/help/308855623839366?id=818859032317965){:target="_blank"} for match rate best practices. In addition, you can check your [event match quality (EMQ) rating](https://www.facebook.com/business/help/765081237991954?id=818859032317965){:target="_blank"} in the Meta Events Manager.
108108

109109
![the user data object](images/image2.png)
110110

@@ -120,7 +120,7 @@ Use this approach if you don't want to track users from the browser with Faceboo
120120

121121
If you use Facebook Conversions API as a stand-alone without certain data fields collected from the browser, the match rate might not be as high as if you included them. You can increase the match rate for events from a server source by including User Data, such as Zip Code, Country and State.
122122

123-
You can send additional User Data to increase the match rate for events from a server source. Collect other fields from the browser, like User Agent, IP Address, and [Facebook's cookie parameters (fbp, fbc)](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/fbp-and-fbc){:target="_blank"}, pass them to the server, and map them in the User Data object.
123+
You can send additional User Data to increase the match rate for events from a server source. Collect other fields from the browser, like User Agent, IP Address, and [Facebook's cookie parameters (fbp, fbc)](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/fbp-and-fbc){:target="_blank"}, pass them to the server, and map them in the User Data object. In addition, you can check your [event match quality (EMQ) rating](https://www.facebook.com/business/help/765081237991954?id=818859032317965){:target="_blank"} in the Meta Events Manager.
124124

125125
#### Deduplication considerations
126126

270 KB
Loading
61.6 KB
Loading
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
title: Pardot (Actions) Destination
3+
hide-boilerplate: true
4+
hide-dossier: true
5+
hidden: true
6+
strat: salesforce
7+
id: 62df16e45ba0058c864a75d1
8+
---
9+
Pardot is a Salesforce marketing automation and analytics solution that lets you send automated emails to prospects and track conversions in emails and across social networks.
10+
11+
Segment’s Pardot (Actions) destination enables you to create and update prospects with custom traits that can be leveraged in your marketing efforts. Segment sends data to [version 5 of the Pardot API](https://developer.salesforce.com/docs/marketing/pardot/guide/version5overview.html){:target="_blank"}.
12+
13+
> success "Good to know"
14+
> This page is about the [Actions-framework](/docs/connections/destinations/actions/) Pardot destination. There's also a page about the [non-Actions Pardot destination](/docs/connections/destinations/catalog/pardot/). Both of these destinations receive data from Segment.
15+
16+
## Benefits of Pardot (Actions) Destination vs Pardot Destination Classic
17+
18+
The Pardot (Actions) destination provides the following benefits over the classic Pardot destination:
19+
- **Fewer settings**. Data mapping for actions-based destinations happens during configuration, which eliminates the need for most settings.
20+
- **Clearer mapping of data**. Actions-based destinations enable you to define the mapping between the data Segment receives from your source, and the data Segment sends to Pardot.
21+
- **Sandbox support**. Testing with a Salesforce Pardot sandbox account before implementing in your production account enables you to feel confident in your configuration.
22+
- **API upgrade**. Data is sent to version 5 of the Pardot API — the newest and most standardized version of the API.
23+
- **Transparent error handling**. Triage and resolve any errors blocking delivery to Pardot with clearer error messages and steps to fix.
24+
- **OAuth 2.0 support**. Authentication with Salesforce Pardot leverages OAuth 2.0 with an improved token refresh flow.
25+
26+
## Getting started
27+
28+
To get started using Pardot with Segment:
29+
1. Make sure you have a Salesforce account with Pardot REST API access.
30+
2. Navigate to `https://app.segment.com/[workspace-slug]/destinations/catalog/actions-pardot`. Replace `[workspace-slug]` with your workspace slug.
31+
3. Click **Configure Pardot (Actions)** in the top-right corner of the screen.
32+
4. Accept the Beta terms.
33+
5. Select the source that will send data to Pardot (Actions) and follow the steps to name your destination.
34+
6. On the **Settings** tab, authenticate with Salesforce Pardot using OAuth. Input the Pardot Business Unit ID associated with your Pardot Account, and click **Save**.
35+
7. Follow the steps in the Destinations Actions documentation on [Customizing mappings](/docs/connections/destinations/actions/#customizing-mappings).
36+
8. Enable the destination and configured mappings.
37+
38+
<!--- {% include components/actions-fields.html %} --->
39+
40+
## FAQ
41+
### When will Pardot create versus update a prospect?
42+
In version 5 of the Pardot API, the email address is used to upsert a prospect.
43+
- If there’s no prospect with the email address provided, a prospect is created.
44+
- If there’s one prospect with the email address provided, that prospect is updated.
45+
- If multiple prospects have the same email address provided, the prospect with the latest activity is updated.
46+
Please note that Pardot treats email address as case sensitive and will create multiple prospects for casing differences.
47+
48+
### How do I enable a sandbox instance?
49+
To send data to a Salesforce Pardot sandbox instance, navigate to **Settings** and toggle on the “Sandbox Instance” setting. If you have not set up OAuth yet, connect with your sandbox username. If you are already authenticated, please disconnect and reconnect with your sandbox username. Update your Pardot Business Unit ID with the ID corresponding to your sandbox account and click **Save**.
50+
51+
Your sandbox username appends the sandbox name to your Salesforce production username. For example, if a username for a production org is `[email protected]` and the sandbox is named `test`, the username to log in to the sandbox is `[email protected]`.
52+
53+
> info ""
54+
> Data and configuration can’t be shared between sandbox and production accounts. Make sure you use the Pardot Business Unit ID corresponding to your sandbox account. Information on how to create a sandbox for Pardot can be found [here](https://help.salesforce.com/s/articleView?language=en_US&type=5&id=sf.pardot_sf_connector_sandbox.htm){:target="_blank"}.
55+
56+
### How do I add custom prospect fields?
57+
Custom fields can be included in the Other Fields mapping. Custom fields must be predefined in your Pardot account and should end with `__c` (for example, `custom_field__c`). Please include the `__c` in your mapping.
58+
59+
You can see and add custom prospect fields in Pardot under **Pardot Settings** > **Object and Field Configuration** > **Prospect Fields**. Be sure to input the **FIELD API NAME** exactly as it appears in Pardot in your Segment mapping.
60+
61+
![the custom fields](images/image1.png)
62+
63+
### How do I update a prospect’s email address?
64+
With version 5 of the Pardot API, you can update a prospect’s email address using the Other Fields mapping. To update a prospect's email address:
65+
1. Input the prospect’s current email in the Email Address mapping. This will be used to search for the corresponding prospect in Pardot.
66+
2. Input the prospect’s new email in the **Other Fields** mapping with a field name of “email”.
67+
68+
In the example below, `[email protected]` is the prospect’s current email. `[email protected]` is the prospect’s new email that will be updated in Pardot.
69+
70+
![the email update](images/image2.png)

src/connections/destinations/catalog/google-analytics/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ Analytics.track(
625625

626626
If you want to send UTM parameters to Google Universal Analytics using one of the Segment server-side sources they need to be passed manually. The client-side Javascript library ([Analytics.js](/docs/connections/sources/catalog/libraries/website/javascript)) is highly recommended for collecting this data since it all happens automatically.
627627

628-
Your UTM params need to be passed in the `context` object in `context.campaign`. For Google Universal Analytics `campaign.name`, `campaign.source` and `campaign.medium` all need to be sent together for things to show up in reports. The other two params (`campaign.term` and `campaign.content`) are both optional, but will be forwarded to GA if you send them to Segment.
628+
Your UTM params need to be passed in the `context` object in `context.campaign`. For Google Universal Analytics `campaign.name`, `campaign.source` and `campaign.medium` all need to be sent together for things to show up in reports. The `campaign.content` param is optional, but will be forwarded to GA if you send it to Segment.
629629

630630
### Measurement Protocol Parameters
631631

src/connections/destinations/catalog/hubspot/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@ id: 54521fd725e721e32a72eec1
77
---
88
[HubSpot](https://www.hubspot.com/) is an inbound marketing and sales platform that helps companies attract visitors, convert leads, and close customers. The `analytics.js` HubSpot Destination is open-source. You can browse the code [on GitHub](https://github.com/segmentio/analytics.js-integrations/tree/master/integrations/hubspot).
99

10+
> info ""
11+
> As of July 2022, HubSpot no longer allows new connections to authenticate with an API Key. Existing API Keys will continue to work, but to authenticate a new API connection with HubSpot, use a Private App Token. To generate a Private App access token from the HubSpot dashboard, navigate to **Integrations > Private Apps**. Segment requires the following scopes: `business-intelligence`, `crm.objects.contacts.read`, `crm.objects.contacts.write`, `crm.schemas.contacts.read`, `crm.objects.companies.read`, `crm.objects.companies.write`, `crm.schemas.companies.read`. For more information, see Hubspot's article [Private Apps](https://developers.hubspot.com/docs/api/private-apps){:target="_blank"}.
12+
1013
> warning ""
1114
> The HubSpot destination is not compatible with the Segment Event Tester. As result, Segment recommends using other tools to troubleshoot the HubSpot destination.
1215
13-
1416
## Getting Started
1517

1618
{% include content/connection-modes.md %}
1719

1820
1. From the Segment web app, click **Catalog**.
1921
2. Search for "HubSpot" in the Catalog, select it, and choose which of your sources to connect the destination to.
20-
3. If you haven't already done so, add your API Key from [HubSpot](https://knowledge.hubspot.com/articles/kcs_article/integrations/how-do-i-get-my-hubspot-api-key) and enter it in the "API Key" field in the Segment web app.
22+
3. Generate a Private App access token in [HubSpot](https://developers.hubspot.com/docs/api/private-apps){:target="_blank"} and enter it in the "Private App Token" field in the Segment web app. Segment requires the following scopes: `business-intelligence`, `crm.objects.contacts.read`, `crm.objects.contacts.write`, `crm.schemas.contacts.read`, `crm.objects.companies.read`, `crm.objects.companies.write`, `crm.schemas.companies.read`. Note: HubSpot no longer allows generation of new API Keys so you must authenticate with a Private App Token.
2123
4. Navigate to the "Settings" page in the HubSpot UI to find your Hub ID and enter it to the "Hub ID" field in the Segment web app.
2224

2325

0 commit comments

Comments
 (0)