UTM captures landing page

We have multiple landing pages that we use for clients, each of which has multiple links that direct users to our app (not hosted on Hubspot).

Right now we manually update the UTM for each of these links for the specific page so we can track where they came from (eg https://app.COMPANY.com/LINK1?utm\_source=PAGEa and https://app.COMPANY.com/LINK1?utm\_source=PAGEb).

Is there an easy way to have the links autmatically insert the UTM code based upon the specific landing page? In the example above, automatically include PAGEa and PAGEb?

Thank you.

Hi @mossjb

You could create a Custom Module that could be reused on your pages.

In the Custom Module you can call a Page Variable in you code. In this example I’ve chosen “content_id” although there may be something more suited to your tracking.

https://app.COMPANY.com/LINK1?utm_source={{ content_id }}

Does this work for you?

Mike

@Mike_Eastwood - thanks so much! Checking with the Marketing team here asap. Thank you again

You are welcome @mossjb,

We’ve built a few Custom Modules for our clients (we’re a Gold HubSpot Partner based in New Zealand) let me know if you want us to build something for you.

Cheers

Mike