Hi,
I am quite new to working with custom modules, HubL and Hubdb, so bare with me.
We have built a programmable email module that uses Contact properties to filter a HubDB table and provide 3 options to the client with images and url’s to book services with us when we send them an email.
The URL is a property in the HubDB table but when clicked in the email none of the URL paramaters are applied to the URL. Since this module is used in multiple emails we would like to bring the UTM’s in dynamically so we know where the module is being interacted with the most.
Even when we try to hardcode the UTM’s to the end of the URL they don’t load when the email is sent and clicked.
<a href="{{ row.booking_url }}?utm_source=email&utm_medium=test&utm_campaign=workdamnit">
<img src="{% if row.profile_photo_url %}{{ row.profile_photo_url }}
{% else %}https://info.placeholder_image.png
{% endif %}" border="0" alt="{{ row.first_name }} {{ row.last_name }}" style="display: block; height: 100%; position: absolute; margin: auto; top: -100%; right: -100%; bottom: -100%;left: -100%;object-fit:cover;" width="60">
</a>
Any ideas or suggestions welcome, or let me know if you need more clarification