Tracking Consent

From XING Events Developer Documentation

If you are using one of our tracking features (Google Analytics, Google Ads, Facebook Pixel, Browser Webhook) the registration form will need the user's consent to enable these tracking features.

According to European Law you need to collect this consent from the user on your event page.

To enable these features you need to pass the user's choice to the Iframe by attaching the parameter &marketingConsentGiven=true or &marketingConsentGiven=false based on if the user gave you the consent for marketing tracking or not.

e.g.
<script type="text/javascript" src="https://www.xing-events.com/resources/js/amiandoExport.js"></script>
<iframe title="Ticket shop" src="https://<identifier>-modules.xing-events.com/<identifier>.html?viewType=iframe&distributionChannel=CHANNEL_IFRAME&language=en&useDefaults=false&resizeIFrame=true&marketingConsentGiven=true" frameborder="0" width="650px" id="_amiandoIFrame4012521">