040 696 39 10 30 info@uptain.de

Übermittlung von Zusatz­parametern

Zusätzlich zur Basis­integration oder den uptain-Plugins können Sie optional durch das Setzen zusätzlicher Parameter weitere Informationen an uptain übermitteln.

Die Anleitungen für die Basis­integration finden Sie hier.


window._upEventBus.publish("uptain.readData");

ATTENTION: The DIV tag with the ID “__up_data_qp” is already created by the uptain plugins. The additional parameters must therefore be written to the existing DIV tag. Then, this JavaScript command must be executed so that the DIV tag again (is read with the extended data).

<div id="__up_data_qp"
data-scv1="99999.99"
data-scv2="99999.99"
data-scv3="99999.99"
data-disable="mails,activation">
</div>

Optionally, you can provide additional information to uptain by setting additional parameters. Make sure that you implement the logic in your backend so that you always submit the data that is always relevant. This could, for example, be implemented as follows:


<div id="__up_data_qp" data-email="test@beispiel.de" data-gender="m" data-lastname="Nachname" data-firstname="Vorname" data-title="Dr."></div>

However, you should only provide personal data, such as the e-mail address or the name, if you have a suitable double opt-in or you can ensure that the visitor’s e-mail meets the requirements of § 7 UWG Paragraph 3. For example, this could be done completely as follows:

data-firstname="Vorname"

As a free text, the first name of your website visitor can be given here.

data-lastname="Nachname"

As a free text, the last name of your website visitor can be given here.

data-gender="m" oder gender="f"

You can pass the gender of your web page visitor. Choose between m for male or f for female.

data-title="Dr."

As a free text, the title of the salutation (eg Dr. or Prof.) of your website visitor can be given here.

data-returnurl="https%3A%2F%2F80%2Fwww.domain.de%2unterseite"

Give us a URL where each user can return to continue their process. Please let us know in advance if you want to use this parameter!

data-customergroup="distributors"

You can transfer the customer groups created in your backend.

data-revenue="99999.99"

Pass us the customer revenue as a number and use only one dot as a separator and only and always two decimal places.

data-currency="EUR"

Transfer a different currency for the respective shopping cart values. Use the currency ISO codes

data-scv="99999.99"

Give us the shopping cart value as a number and use only one dot as separator and only and always two decimal places.

data-scv1="99999.99"

Give us another shopping cart value (for example, another product category) as a number, using only one dot as a separator and only two decimal places.

data-scv2="99999.99"

Give us another shopping cart value (for example, another product category) as a number, using only one dot as a separator and only two decimal places.

data-scv3="99999.99"

Give us another shopping cart value (for example, another product category) as a number, using only one dot as a separator and only two decimal places.

data-usedvoucher="V0uCh3r"

As free text, the voucher codes used by the website visitor can be transferred as a comma-separated list.

data-ordernumber="ORD00123"

As a free text, the order number of the current order can be transferred here.

data-success="1" oder data-success="0"

Submit a 1 if the site visitor has successfully ordered or a 0 if no successful order has been made. Please let us know in advance if you want to use this parameter!

data-disable="mails" oder data-disable="activation"

Pass (as an array) those uptain products that you want to disable for the current webpage visitor. If you want to deactivate both uptain-Mails and uptain-Activation use data-disable = “mails, activation” Please let us know in advance, if you want to use this parameter!