APIs & Integrations

nutan1
Participant

Tracking url use instead of CTA

Is it possible to use tracking url in website pages instead of CTA to maintain analytics ..as i have a button and want to change button url dynamically based on user country selection.On country selection(country dropdown) user will redirect to respective country page .Is this thing possible with tracking url?

0 Upvotes
1 Reply 1
cbarley
HubSpot Alumni
HubSpot Alumni

Tracking url use instead of CTA

Hi @nutan, taking a look at our documentation it doesn't look like there's a way to generate a dynamic tracking link. That said, you should be able to use the hsLang parameter to direct users to the proper translation. For example if I have a link of www.example.com/contact, you can add ?hsLang=de to direct to the German translation.

www.example.com/contact?hsLang=de redirects to www.example.com/de/contact

0 Upvotes