Hi everyone,
I’m trying to set up a Salesforce integration while handling consent and PII in a privacy-safe way, and I’m unsure what the best architecture would be.
My goal is to send deal status changes e.t.c to advertising platforms via a server-side container (Stape) , while ensuring consent is respected.
I’m currently considering two possible approaches:
Option 1 | Send consent + click IDs with the lead
Steps:
- Send consent status and click IDs with the lead form submission to Salesforce .
- Capture the deal status (including PII) from Salesforce in the server container using the Data Client .
- Trigger conversions based on deal status updates.
Questions:
- Is this setup possible?
- In the Stape Conversion Tracking app for Salesforce , can you select custom fields (for example consent status or click IDs)?
- Is it possible to exclude contacts that do not have consent , so their data is not sent to the server container?
Option 2 | Use Stape ID + Stape Store
- Send the Stape ID with the lead submission to Salesforce .
- Store PII and consent information in the Stape Store.(Stape store Writer tag)
- When the deal status changes, capture the status + Stape ID in the server container via the Data Client .
- Use Stape Store lookup to retrieve the PII and send the conversion.
Main question
What would be the recommended architecture to implement this safely with consent , while still enabling reliable conversion tracking?
Is one of these approaches best practice, or is there another method that is generally recommended for Salesforce → server-side GTM → ad platform tracking?
Any guidance or examples would be greatly appreciated.
Thanks!