Framework Guides

Salesforce Account Engagement

Install the Ours Privacy Web SDK on Salesforce Account Engagement landing pages using a layout template, so tracking applies to every page built from it.

Use this page to install the Ours Privacy Web SDK on Salesforce Account Engagement landing pages, previously known as Pardot.

Account Engagement builds landing pages from layout templates. Adding the snippet to a layout template applies it to every page using that template, which is the approach to prefer.

Note: This page covers installing tracking on Account Engagement landing pages. To send events from Ours Privacy into Salesforce, see the Salesforce destination.


Steps to Integrate Ours Privacy with Account Engagement

1. Copy your install snippet

Copy your install snippet from the Install Ours page.

2. Add the snippet to your layout template

  1. In Account Engagement, go to Marketing > Landing Pages > Layout Templates.
  2. Open the layout template your landing pages use, then select Edit.
  3. On the Layout tab, find the closing </head> tag in the HTML.
  4. Paste your snippet directly before it, then save.
<!-- layout template -->
<head>
  <!-- Ours Pixel Code -->
  <script>
    // your install code is here
  </script>
  <!-- End Ours Pixel Code -->
</head>

Every landing page built on that template now loads Ours Privacy. If you maintain several layout templates, repeat this for each one.

3. Verify

  1. Open a live landing page built from the template, not the preview.
  2. Open the browser console to check for script errors.
  3. In your Ours Privacy account, check Recent Events to confirm page views are arriving.

Running Alongside Account Engagement Tracking

Ours Privacy and the Account Engagement tracking code can both run on the same page without conflicting.

If your landing pages are served from a tracker domain, confirm your Ours Privacy install is configured for that domain so events are attributed to the right site. See Custom domains.


Track Custom Events

Call ours('track', ...) from a script on the page or in the layout template:

ours('track', 'Form Submitted', { form_name: 'whitepaper_download' });

Next Steps

If you need further assistance, contact us at support@oursprivacy.com.

How is this guide?

On this page