Welcome to our Support Portal

How can we help?

image

Read URL parameters & add them as data1 & data2

<script type="text/javascript" id="pap_x2s6df8d" src="https://PAP_URL/scripts/hash"></script> <script type="text/javascript"> // Get the URL parameters const urlParams = new URLSearchParams(window.location.search); // Get the values of the URL parameters const email = urlParams.get('email'); const name = urlParams.get('name'); PostAffTracker.setAccountId('default1'); var sale = PostAffTracker.createSale(); sale.setTotalCost('0'); sale.setData1(email); sale.setData2(name); sal...

Categories