Reporting & Analytics

piercleo
参加者

Pass utm parameters from hubspot landing page to external URL

解決

Hi,

 

How can I pass the UTM parameters of a Hubspot landing page URL to a button on that page which sends to an external URL ?

 

Best regards,

Pierre

1件の承認済みベストアンサー
Vectordude
解決策
投稿者

Pass utm parameters from hubspot landing page to external URL

解決

Hi piercleo,

 

It depends. If you control both websites, I would enable cross domain tracking. Here is link to how to do this in google analytics https://support.google.com/analytics/answer/1034342?hl=en. This will essentially link your two websites and look at the original source of sessions between both websites.

 

If you only have control over the landing page, or want to limit the link for just this page you will have to get into some javascript to fetch the URL variables and append them to the link on the CTA. Here is a link to some info about what that might look like.https://html-online.com/articles/get-url-parameters-javascript/ .

 

 

元の投稿で解決策を見る

1件の返信
Vectordude
解決策
投稿者

Pass utm parameters from hubspot landing page to external URL

解決

Hi piercleo,

 

It depends. If you control both websites, I would enable cross domain tracking. Here is link to how to do this in google analytics https://support.google.com/analytics/answer/1034342?hl=en. This will essentially link your two websites and look at the original source of sessions between both websites.

 

If you only have control over the landing page, or want to limit the link for just this page you will have to get into some javascript to fetch the URL variables and append them to the link on the CTA. Here is a link to some info about what that might look like.https://html-online.com/articles/get-url-parameters-javascript/ .