CTA long url

SOLVE
HJack
Participant

Hi,

The CTA links appear to be a long text with tracking parameters and I don't want it. Is there a way to track not through CTA buttons - but through the JS code?

 

Thanks

0 Upvotes
2 Accepted solutions

Accepted Solutions
Indra
Solution
Top Contributor | Diamond Partner

@dennisedson, thanks for mentioning!

 

Hi @HJack,

 

The first question is, why don't you want to have long urls inside your CTA?

The CTA from HubSpot needs to have these parameters to track events.

I don't think you can disable it, since it won't have the effect of tracking.

 

If you don't want the long url, you can make your custom CTA's within by building a custom module.

For tracking you can use multiple ways to track this like:

- Adding UTM tags to every link

- Setup GTM and specify the CTA's

 

In my opinion, you sould build custom CTA's witin your modules. You don't need to track every CTA on every section that will link to internal pages unless it's a landingpage. HubSpot CTA's will add javascript that will slow down your page that can effect website performance.

 


Bureau Vet

Did my post solve your question? Help the community by marking it as a solution

View solution in original post

Indra
Solution
Top Contributor | Diamond Partner

@HJack,

 

I can't fully explain how to setup the GTM, but on there are plenty tutorials on YouTube how yopu can setup these button click tracking for Google Tag Manager.

 

If you don't know the basics of Google Tag Manager, I suggest to first check simple tutorials on YouTube.

Hope this will help.


Bureau Vet

Did my post solve your question? Help the community by marking it as a solution

View solution in original post

4 Replies 4
dennisedson
Community Manager

@Indra@daveroma : any thoughts here?

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes
Indra
Solution
Top Contributor | Diamond Partner

@dennisedson, thanks for mentioning!

 

Hi @HJack,

 

The first question is, why don't you want to have long urls inside your CTA?

The CTA from HubSpot needs to have these parameters to track events.

I don't think you can disable it, since it won't have the effect of tracking.

 

If you don't want the long url, you can make your custom CTA's within by building a custom module.

For tracking you can use multiple ways to track this like:

- Adding UTM tags to every link

- Setup GTM and specify the CTA's

 

In my opinion, you sould build custom CTA's witin your modules. You don't need to track every CTA on every section that will link to internal pages unless it's a landingpage. HubSpot CTA's will add javascript that will slow down your page that can effect website performance.

 


Bureau Vet

Did my post solve your question? Help the community by marking it as a solution

View solution in original post

HJack
Participant

Hi @Indra , thanks for your reply!

 

How can I specify the CTA by setting up the GTM?

0 Upvotes
Indra
Solution
Top Contributor | Diamond Partner

@HJack,

 

I can't fully explain how to setup the GTM, but on there are plenty tutorials on YouTube how yopu can setup these button click tracking for Google Tag Manager.

 

If you don't know the basics of Google Tag Manager, I suggest to first check simple tutorials on YouTube.

Hope this will help.


Bureau Vet

Did my post solve your question? Help the community by marking it as a solution

View solution in original post