async def METHOD_NAME(self, payload: dict, in_edge=None) -> Result:
    if self.config.enabled is True:
        self.ux.append({"tag": "div", "props": {
            "class": "tracardi-uix-consent",
            "data-endpoint": self.config.endpoint,  # Tracardi endpoint
            "data-position": self.config.position,
            "data-expand-height": self.config.expand_height,
            "data-profile": self.profile.id,
            "data-session": self.session.id if self.session else None,
            "data-source": self.event.source.id
        }})
        self.ux.append({"tag": "script", "props": {"src": f"{self.config.uix_source}/uix/consent/index.js"}})
    return Result(port="payload", value=payload)