---
title: How to integrate ProfitMetrics with Vendre
description: Follow the steps below to set up an integration with Vendre
---

[Skip to content](https://knowledge.profitmetrics.io/how-to-integrate-profitmetrics-with-vendre#main-content)

[![ProfitMetrics logo black version](https://knowledge.profitmetrics.io/hs-fs/hubfs/pm_logotype_blue.png?width=193&height=28&name=pm_logotype_blue.png)](https://knowledge.profitmetrics.io/?hsLang=en)

Open main navigation

Close main navigation

- [Contact Support](https://knowledge.profitmetrics.io/kb-ticket/new)

[Contact Support](https://knowledge.profitmetrics.io/kb-ticket/new?hsLang=en)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Knowledge base](https://knowledge.profitmetrics.io/?hsLang=en)
2. [E-commerce Platforms](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en)
3. [Other Platforms](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#other-platforms)

# How to integrate ProfitMetrics with Vendre

## Follow the steps below to set up an integration with Vendre

[Part 1: Create a webhook](https://knowledge.profitmetrics.io/how-to-integrate-profitmetrics-with-vendre#part1)

[Part 2: Install the Tracking script](https://knowledge.profitmetrics.io/how-to-integrate-profitmetrics-with-vendre#part2)

[Part 3: Install the setEmail script](https://knowledge.profitmetrics.io/how-to-integrate-profitmetrics-with-vendre#part3)

### Part 1: Create a webhook

1. Click "Apps & Integrations"  
   ![Setting Up New Webhook in ProfitMetrics Admin - Step 4](https://knowledge.profitmetrics.io/hs-fs/hubfs/Setting%20Up%20New%20Webhook%20in%20ProfitMetrics%20Admin%20-%20Step%204.png?width=688&height=385&name=Setting%20Up%20New%20Webhook%20in%20ProfitMetrics%20Admin%20-%20Step%204.png)
2. Click "Webhooks"  
   ![Setting Up New Webhook in ProfitMetrics Admin - Step 5](https://knowledge.profitmetrics.io/hs-fs/hubfs/Setting%20Up%20New%20Webhook%20in%20ProfitMetrics%20Admin%20-%20Step%205.png?width=688&height=385&name=Setting%20Up%20New%20Webhook%20in%20ProfitMetrics%20Admin%20-%20Step%205.png)
3. Click "New webhook"  
   ![Setting Up New Webhook in ProfitMetrics Admin - Step 6](https://knowledge.profitmetrics.io/hs-fs/hubfs/Setting%20Up%20New%20Webhook%20in%20ProfitMetrics%20Admin%20-%20Step%206.png?width=688&height=385&name=Setting%20Up%20New%20Webhook%20in%20ProfitMetrics%20Admin%20-%20Step%206.png)
4. Select the "New order" option  
   ![Setting Up New Webhook in ProfitMetrics Admin - Step 7](https://knowledge.profitmetrics.io/hs-fs/hubfs/Setting%20Up%20New%20Webhook%20in%20ProfitMetrics%20Admin%20-%20Step%207.png?width=688&height=385&name=Setting%20Up%20New%20Webhook%20in%20ProfitMetrics%20Admin%20-%20Step%207.png)
5. Click "New webhook"  
   ![Setting Up New Webhook in ProfitMetrics Admin - Step 8](https://knowledge.profitmetrics.io/hs-fs/hubfs/Setting%20Up%20New%20Webhook%20in%20ProfitMetrics%20Admin%20-%20Step%208.png?width=688&height=385&name=Setting%20Up%20New%20Webhook%20in%20ProfitMetrics%20Admin%20-%20Step%208.png)
6. Copy the URL below and paste it into the URL field and replace "PUBLICID" with your Public ID ([How to find your Public ID](https://knowledge.profitmetrics.io/how-to-find-your-public-id?hsLang=en))
   
   ```
   https://my.profitmetrics.io/l.php?v=3uh&cv=vendre&pid=PUBLICID
   ```
7. Under Data filter, select "ProfitMetrics"  
   ![Google Chrome Workflow - Step 3 (1)](https://knowledge.profitmetrics.io/hs-fs/hubfs/Google%20Chrome%20Workflow%20-%20Step%203%20(1).png?width=688&height=385&name=Google%20Chrome%20Workflow%20-%20Step%203%20(1).png)
8. Under Method, select GET  
   ![Google Chrome Workflow - Step 5 (3)](https://knowledge.profitmetrics.io/hs-fs/hubfs/Google%20Chrome%20Workflow%20-%20Step%205%20(3).png?width=688&height=385&name=Google%20Chrome%20Workflow%20-%20Step%205%20(3).png)
9. Click "Add"  
   ![Google Chrome Workflow - Step 8](https://knowledge.profitmetrics.io/hs-fs/hubfs/Google%20Chrome%20Workflow%20-%20Step%208.png?width=688&height=385&name=Google%20Chrome%20Workflow%20-%20Step%208.png)

### Part 2: Install the Serverside Hybrid Universal Integration Script

1. Copy this snippet and remember to replace PUBLICID with your Public ID  ([How to find your Public ID](https://knowledge.profitmetrics.io/how-to-find-your-public-id?hsLang=en))
   
   ```
   <!-- START ProfitMetrics - Script --><script>window.profitMetrics = {pid: 'PUBLIC_ID', // Your Public IDemailInputSelector: 'input',onLoad: () => {   const email = '#customer_email_address';   if (email && email.includes('@') && email.includes('.') && !/\s/.test(email)) {     profitMetrics.setEmail(email);   }}}if (typeof window._klarnaCheckout === 'function') {window._klarnaCheckout(function(api) {api.on({'change': function(data) {profitMetrics.setEmail(data.email);}});});}</script><script src="https://cdn1.profitmetrics.io/PUBLIC_ID/bundle.js"defer></script><!-- END ProfitMetrics - Script-->
   ```
2. Click "Settings"  
   ![How to Configure Tracking Codes in Webhooks - Step 2](https://knowledge.profitmetrics.io/hs-fs/hubfs/How%20to%20Configure%20Tracking%20Codes%20in%20Webhooks%20-%20Step%202.png?width=688&height=385&name=How%20to%20Configure%20Tracking%20Codes%20in%20Webhooks%20-%20Step%202.png)
3. Click "Tracking Codes"  
   ![How to Configure Tracking Codes in Webhooks - Step 3](https://knowledge.profitmetrics.io/hs-fs/hubfs/How%20to%20Configure%20Tracking%20Codes%20in%20Webhooks%20-%20Step%203.png?width=688&height=385&name=How%20to%20Configure%20Tracking%20Codes%20in%20Webhooks%20-%20Step%203.png)
4. Paste the code into "Tracking code in HEAD on each side"  
   ![How to Configure Tracking Codes in Webhooks - Step 7](https://knowledge.profitmetrics.io/hs-fs/hubfs/How%20to%20Configure%20Tracking%20Codes%20in%20Webhooks%20-%20Step%207.png?width=688&height=385&name=How%20to%20Configure%20Tracking%20Codes%20in%20Webhooks%20-%20Step%207.png)
5. Click "Spara"  
   ![How to Configure Tracking Codes in Webhooks - Step 16](https://knowledge.profitmetrics.io/hs-fs/hubfs/How%20to%20Configure%20Tracking%20Codes%20in%20Webhooks%20-%20Step%2016.png?width=688&height=385&name=How%20to%20Configure%20Tracking%20Codes%20in%20Webhooks%20-%20Step%2016.png)

### Part 3: Install the setEmail script

1. Copy this snippet
   
   ```
   <!-- Start ProfitMetrics - setEmail --><script>    function _pm_tryemailorderconfirmation() {        if (null != window.profitMetrics && null != window.profitMetrics.setEmail && typeof window.profitMetrics.setEmail === 'function') {            window.profitMetrics.setEmail('#customer_email_address');        } else {            setTimeout(_pm_tryemailorderconfirmation, 500);        }    }    _pm_tryemailorderconfirmation();</script><!-- End ProfitMetrics - setEmail -->
   ```
2. Click "Settings"  
   ![How to Configure Tracking Codes in Webhooks - Step 2](https://knowledge.profitmetrics.io/hs-fs/hubfs/How%20to%20Configure%20Tracking%20Codes%20in%20Webhooks%20-%20Step%202.png?width=688&height=385&name=How%20to%20Configure%20Tracking%20Codes%20in%20Webhooks%20-%20Step%202.png)
3. Click "Tracking Codes"  
   ![How to Configure Tracking Codes in Webhooks - Step 3](https://knowledge.profitmetrics.io/hs-fs/hubfs/How%20to%20Configure%20Tracking%20Codes%20in%20Webhooks%20-%20Step%203.png?width=688&height=385&name=How%20to%20Configure%20Tracking%20Codes%20in%20Webhooks%20-%20Step%203.png)
4. Paste the code into "Tracking code at the end of BODY on Thank you for order"  
   ![How to Update Tracking Codes in Profit Metrics - Step 9](https://knowledge.profitmetrics.io/hs-fs/hubfs/How%20to%20Update%20Tracking%20Codes%20in%20Profit%20Metrics%20-%20Step%209.png?width=688&height=385&name=How%20to%20Update%20Tracking%20Codes%20in%20Profit%20Metrics%20-%20Step%209.png)
5. Click "Spara"  
   ![How to Update Tracking Codes in Profit Metrics - Step 10](https://knowledge.profitmetrics.io/hs-fs/hubfs/How%20to%20Update%20Tracking%20Codes%20in%20Profit%20Metrics%20-%20Step%2010.png?width=688&height=385&name=How%20to%20Update%20Tracking%20Codes%20in%20Profit%20Metrics%20-%20Step%2010.png)

That's it.

- [Getting Started](https://knowledge.profitmetrics.io/getting-started?hsLang=en#main-content)

    - [Learn the Basics](https://knowledge.profitmetrics.io/getting-started?hsLang=en#learn-the-basics)
    - [Prepare for Onboarding](https://knowledge.profitmetrics.io/getting-started?hsLang=en#prepare-for-onboarding)
    - [Account Setup](https://knowledge.profitmetrics.io/getting-started?hsLang=en#account-setup)
- [E-commerce Platforms](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#main-content)

    - [Shopify](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#shopify)
    - [WooCommerce](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#woocommerce)
    - [Magento](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#magento)
    - [PrestaShop](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#prestashop)
    - [BigCommerce](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#bigcommerce)
    - [Shopware](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#shopware)
    - [DanDomain & Related](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#dandomain-related)
    - [Universal Integration (Clientside)](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#universal-integration-clientside)
    - [Universal Integration (Server-side Hybrid)](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#universal-integration-server-side-hybrid)
    - [Other Platforms](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#other-platforms)
    - [Developer Documentation](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#developer-documentation)
- [Ad Channels](https://knowledge.profitmetrics.io/ad-channels?hsLang=en#main-content)

    - [Google Ads](https://knowledge.profitmetrics.io/ad-channels?hsLang=en#google-ads)
    - [Meta (Facebook/Instagram)](https://knowledge.profitmetrics.io/ad-channels?hsLang=en#meta-facebook-instagram)
    - [Microsoft Bing Ads](https://knowledge.profitmetrics.io/ad-channels?hsLang=en#microsoft-bing-ads)
    - [Google Analytics 4](https://knowledge.profitmetrics.io/ad-channels?hsLang=en#google-analytics-4)
    - [Partner-ads](https://knowledge.profitmetrics.io/ad-channels?hsLang=en#partner-ads)
    - [Other Channel Configuration](https://knowledge.profitmetrics.io/ad-channels?hsLang=en#other-channel-configuration)
- [Tracking & Conversion Setup](https://knowledge.profitmetrics.io/tracking-conversion-setup?hsLang=en#main-content)

    - [Overview](https://knowledge.profitmetrics.io/tracking-conversion-setup?hsLang=en#overview)
    - [Conversion Booster for Google Ads](https://knowledge.profitmetrics.io/tracking-conversion-setup?hsLang=en#conversion-booster-for-google-ads)
    - [Conversion Booster for Meta](https://knowledge.profitmetrics.io/tracking-conversion-setup?hsLang=en#conversion-booster-for-meta)
    - [Conversion Booster Custom Pixels](https://knowledge.profitmetrics.io/tracking-conversion-setup?hsLang=en#conversion-booster-custom-pixels)
    - [Enhanced Conversions](https://knowledge.profitmetrics.io/tracking-conversion-setup?hsLang=en#enhanced-conversions)
- [Shopping Booster](https://knowledge.profitmetrics.io/shopping-booster?hsLang=en#main-content)

    - [Overview & Setup](https://knowledge.profitmetrics.io/shopping-booster?hsLang=en#overview-setup)
    - [Supplemental Feeds](https://knowledge.profitmetrics.io/shopping-booster?hsLang=en#supplemental-feeds)
    - [Campaigns & Labels](https://knowledge.profitmetrics.io/shopping-booster?hsLang=en#campaigns-labels)
    - [Troubleshooting](https://knowledge.profitmetrics.io/shopping-booster?hsLang=en#troubleshooting)
- [Product Feed & Costs](https://knowledge.profitmetrics.io/product-feed-costs?hsLang=en#main-content)

    - [Product Feed](https://knowledge.profitmetrics.io/product-feed-costs?hsLang=en#product-feed)
    - [Shipping & Payment Costs](https://knowledge.profitmetrics.io/product-feed-costs?hsLang=en#shipping-payment-costs)
    - [Expenses](https://knowledge.profitmetrics.io/product-feed-costs?hsLang=en#expenses)
- [Dashboard, Orders & Reporting](https://knowledge.profitmetrics.io/dashboard-orders-reporting?hsLang=en#main-content)

    - [Dashboard & Orders](https://knowledge.profitmetrics.io/dashboard-orders-reporting?hsLang=en#dashboard-orders)
    - [Looker Studio](https://knowledge.profitmetrics.io/dashboard-orders-reporting?hsLang=en#looker-studio)
    - [Google BigQuery](https://knowledge.profitmetrics.io/dashboard-orders-reporting?hsLang=en#google-bigquery)
- [Account & Billing](https://knowledge.profitmetrics.io/account-billing?hsLang=en#main-content)

    - [Users & Access](https://knowledge.profitmetrics.io/account-billing?hsLang=en#users-access)
    - [Billing & Invoices](https://knowledge.profitmetrics.io/account-billing?hsLang=en#billing-invoices)
- [Privacy & Consent](https://knowledge.profitmetrics.io/privacy-consent?hsLang=en#main-content)

    - [GDPR](https://knowledge.profitmetrics.io/privacy-consent?hsLang=en#gdpr)
    - [Consent Management Platforms](https://knowledge.profitmetrics.io/privacy-consent?hsLang=en#consent-management-platforms)
    - [Google Consent Mode](https://knowledge.profitmetrics.io/privacy-consent?hsLang=en#google-consent-mode)
- [For Agencies](https://knowledge.profitmetrics.io/for-agencies?hsLang=en#main-content)

    - [Getting Started as an Agency](https://knowledge.profitmetrics.io/for-agencies?hsLang=en#getting-started-as-an-agency)
    - [Agency Certification](https://knowledge.profitmetrics.io/for-agencies?hsLang=en#agency-certification)
- [Shopify](https://knowledge.profitmetrics.io/shopify?hsLang=en)
- [PrestaShop](https://knowledge.profitmetrics.io/prestashop?hsLang=en)
- [Google Ads](https://knowledge.profitmetrics.io/google-ads?hsLang=en#main-content)

    - [troubleshoot](https://knowledge.profitmetrics.io/google-ads?hsLang=en#troubleshoot)
- [Meta (Facebook / Instagram)](https://knowledge.profitmetrics.io/meta-facebook-instagram?hsLang=en)
- [Uncategorized](https://knowledge.profitmetrics.io/uncategorized?hsLang=en)
- [Billing](https://knowledge.profitmetrics.io/billing?hsLang=en)
- [Google Sheets](https://knowledge.profitmetrics.io/google-sheets?hsLang=en)
- [Account](https://knowledge.profitmetrics.io/account?hsLang=en)
- [Ideal Shop](https://knowledge.profitmetrics.io/ideal-shop?hsLang=en)

[![ProfitMetrics logo black version](https://knowledge.profitmetrics.io/hs-fs/hubfs/pm_logotype_blue.png?width=193&height=28&name=pm_logotype_blue.png "ProfitMetrics logo black version")](https://profitmetrics.io)

<https://www.facebook.com/ProfitMetrics/> <https://podcasts.apple.com/> [mailto:support@profitmetrics.io](mailto:support@profitmetrics.io)

Copyright © 2026, ProfitMetrics ApS