Campaign

Conversion tracking via AdUp Pixel

Measure conversions reliably and attribute them to your campaigns. Learn how to correctly create and install the conversion pixel.

A woman working on a laptop

Measure your success!

Use AdUp Technology's conversion tracking to find out which of your campaigns and keywords are the most efficient and thereby increase your ROI. You can also track which actions follow a click on an ad, such as the purchase of a product or a sign-up for a newsletter. 


How it works

All you need to do is create a conversion code and embed it on your page where the conversion occurs (e.g. on the booking confirmation page) using an <img> tag.​ As soon as a user arrives on your website by clicking an AdUp ad, a temporary cookie is stored, which is then used to register and track the conversion.


Create conversion code

Step 1

Log in to the advertiser front-end here with your login details. 

Step 2

Click on the “Tools” tab and select “Conversion Tracking”.

Step 3

Now generate a new conversion code using the “Create conversion code” button.

Step 4

Assign a name and define the type (for internal classification purposes only):​

  • Enquiry

  • Registration

  • Page view

  • Sale

  • Other

Step 5 (optional)

Enter a value for the conversion (this and other values can also be passed dynamically later via URL parameters when the conversion tag is called).

Step 6 (optional)

Change the counting method of the conversion code. The “every” counting method records every conversion for which there was a valid click from your ad(s) during conversion validation. In contrast, the “Unique” option only records the first conversion. A click can therefore only lead to one conversion. This setting applies individually per conversion code.  

Done

After clicking the “Save” button, the “Conversion Tracking” page should refresh automatically and the new conversion code should be available in the list.


Integration of a conversion tag on your site

Embed an <img> tag with the relevant URL parameters in the <body> section of your website where the conversion is to be tracked (e.g. on the booking confirmation page). You can easily track different conversions by creating multiple conversion codes and embedding each where they occur.

The working integration code for your conversion codes can be viewed on the “Tools” > “Conversion Tracking” page in the advertiser front-end. To do this, simply select the “Integration code” option in the “Actions” column of the desired conversion code.


Simple integration

Insert this HTML script tag on the page where the conversion takes place.

<script
    async
    src="https://s.d.adup-tech.com/services/pixel.js?account=[ACCOUNT_ID]&event=conversion&code=[PARAMETER]">
</script>
<script
    async
    src="https://s.d.adup-tech.com/services/pixel.js?account=[ACCOUNT_ID]&event=conversion&code=[PARAMETER]">
</script>
<script
    async
    src="https://s.d.adup-tech.com/services/pixel.js?account=[ACCOUNT_ID]&event=conversion&code=[PARAMETER]">
</script>

Available query parameters

−

Name

Required

Description

Example

account

✅

Your unique account ID.

account=1234

Event

✅

The type of the recorded event.

event=conversion

code

✅

Your unique conversion code.

code=<CONVERSION_CODE>

GDPR

❌

Manually submits the GDPR status. Use this parameter if automatic detection via the TCF API is not available. Possible values: 0, 1

gdpr=1

GDPR consent

❌

Manually submits the IAB TCF consent string. Use this parameter if automatic detection via the TCF API is not available.

gdpr_consent=<CONSENT_STRING>


Advanced integration

Your conversion code and further data (e.g. order number or price) are passed via window.adup.push() event.

<script async src="https://s.d.adup-tech.com/services/pixel.js?account=[ACCOUNT_ID]"></script>
<script>
    window.adup = window.adup || [];
    window.adup.push({
        event: 'conversion',
        code: [PARAMETER],
        orderId: '<ORDER_ID>',
        total: [TOTAL_AMOUNT]
    });
</script>
<script async src="https://s.d.adup-tech.com/services/pixel.js?account=[ACCOUNT_ID]"></script>
<script>
    window.adup = window.adup || [];
    window.adup.push({
        event: 'conversion',
        code: [PARAMETER],
        orderId: '<ORDER_ID>',
        total: [TOTAL_AMOUNT]
    });
</script>
<script async src="https://s.d.adup-tech.com/services/pixel.js?account=[ACCOUNT_ID]"></script>
<script>
    window.adup = window.adup || [];
    window.adup.push({
        event: 'conversion',
        code: [PARAMETER],
        orderId: '<ORDER_ID>',
        total: [TOTAL_AMOUNT]
    });
</script>

Available query parameters

−

Name

Required

Description

Example

account

✅

Your unique account ID. Can be set either via URL parameter on the script tag or as an event option.

account: 3914

Event

✅

The type of the recorded event.

event: ‘conversion’

description

❌

Adds a description of the conversion to the tracking.

description: ‘<DESCRIPTION>‘

Order ID

❌

Adds the order or invoice number to the tracking.

orderId: ‘<ORDER_ID>‘

Product ID

❌

Adds the product ID to the tracking.

productID: ‘<PRODUCT_ID>‘

price

❌

Adds the unit price of the product to the tracking.

price: 12.34

quantity

❌

Adds the product quantity to the tracking.

quantity: 2

total

❌

Adds the total order value to the tracking.

total: 123.45

GDPR

❌

Manually submits the GDPR status. Use this parameter if automatic detection via the TCF API is not available. Possible values: true, false

GDPR: true

GDPR consent

❌

Manually submits the IAB TCF consent string. Use this parameter if automatic detection via the TCF API is not available.

gdprConsent: ‘<CONSENT_STRING>‘

code

✅

Your unique conversion code.

code: ‘<CONVERSION_CODE>‘


Required parameters

Name

Description

Example

t

Your unique conversion code

  • max. 255 characters

  • UTF-8 & URL-encoded


t=ABCDEF


Optional parameters

Name

Description

Example

order_id

Order number

  • max. 25 characters

  • UTF-8 & URL-encoded

  • Used for deduplicating conversions


order_id=A12345

total

Total price of the conversion

  • max. 2 decimal places

  • Dot as decimal separator

  • No thousands separators

  • max. 99999.99


total=399.98

item_number

Item number

  • max. 25 characters

  • UTF-8 & URL-encoded


item_number=EF_7890

quantity

Quantity

  • max. 2 decimal places

  • Dot as decimal separator

  • No thousands separators

  • max. 999.99


quantity=2

price

Unit price of the item

  • max. 2 decimal places

  • Dot as decimal separator

  • No thousands separators

  • max. 99999.99


price=199.99

description

Description of the conversion

  • max. 255 characters

  • UTF-8 & URL-encoded


description=Travel_booking

gdpr
gdpr_consent

Here you have the option to pass GDPR information to us.

gdpr

1 = GDPR applies

0  = GDPR does not apply

(omit) = Unknown (default)

gdpr_consent

The IAB Consent String (base64url-encoded)


gdpr=1&gdpr_consent=[CONSENT_STRING]


Examples of integration

Simple

  • Advertiser ID: 1234

  • Conversion code: ABCDEF

<script
    async
    src="https://s.d.adup-tech.com/services/pixel.js?account=1234&event=conversion&code=ABCDEF">
</script>
<script
    async
    src="https://s.d.adup-tech.com/services/pixel.js?account=1234&event=conversion&code=ABCDEF">
</script>
<script
    async
    src="https://s.d.adup-tech.com/services/pixel.js?account=1234&event=conversion&code=ABCDEF">
</script>

Advanced

  • Advertiser ID: 1234

  • Conversion code: ABCDEF

  • Description: Conversion

  • Order number: abc123

  • Total price: £46.50

<script async src="https://s.d.adup-tech.com/services/pixel.js?account=1234"></script>
<script>
    window.adup = window.adup || [];
    window.adup.push({
        event: 'conversion',
        code: 'ABCDEF',
        orderId: 'abc123',
        total: 46.50
    });
</script>
<script async src="https://s.d.adup-tech.com/services/pixel.js?account=1234"></script>
<script>
    window.adup = window.adup || [];
    window.adup.push({
        event: 'conversion',
        code: 'ABCDEF',
        orderId: 'abc123',
        total: 46.50
    });
</script>
<script async src="https://s.d.adup-tech.com/services/pixel.js?account=1234"></script>
<script>
    window.adup = window.adup || [];
    window.adup.push({
        event: 'conversion',
        code: 'ABCDEF',
        orderId: 'abc123',
        total: 46.50
    });
</script>


Create test conversion

Step 1

Log in to the advertiser front-end here with your login details. 

Step 2

Click on the “Tools” tab and select “Conversion Tracking”.

Step 3

In the “Actions” column of the desired conversion code, select the “Create test conversion” option.

Step 4 (optional)

Add a comment for the test conversion.

Step 5

Click on the “Create test conversion” button.

Step 6

Now open the website on which your conversion code was integrated (e.g. your order confirmation page) in a new browser tab.

Done

Afterwards, refresh the “Conversion Tracking” page in the advertiser front-end or open it again via the menu item “Tools” > “Conversion Tracking”. A new test conversion should now be visible in the “Test conversions” column of the corresponding conversion code.