How to add google analytic event when CTA created at page level

Highlighted
New Contributor

We have added CTA in one of our template and now want to add google analytic event on that.Can you provide me idea how to do that?

Reply
0 Upvotes
1 Reply 1
Community Manager

Hi @nutanhaspe,

 

It should be possible by setting up a GA click event to target the HubSpot CTA.


One thing to keep in mind with a CTA is that its loaded via JS, so its not just a regular HTML element that can be targeted.

 

I would also recommend checking out the Google forums for users who have worked with GA and JS in the past.

 

Thank you,
Jenny


Did my post help answer your query? Help the Community by marking it as a solution
Reply
0 Upvotes