XPath Integration for Click Event Tracking in Snowplow with Custom Contexts

I have configured Snowplow through Google Tag Manager on my website. Now, I need to track click events, so I added the link-click package to that tag. I have obtained the class name of the div in those events, but I need the XPath of the container. Is it possible to get the XPath of the container through events, or is it possible to send it to a custom context? Can you provide more details and an example of a custom context?