Hello,
I’m using the SiteOrigin Button and I would like to track clicks.
I paste the tracking info in the Onclick field in the button widget:
ga('send', 'CTA', 'Button', 'Afspraak';)
But the result in the source code is
onclick=”ga('send', 'CTA', 'Button', 'Afspraak';)
So google analytics won’t recognize the event/conversion.
How can I solve the issue of the quotation mark automatically converting to ‘'’ code?
edit: the result is
onclick=”ga(&# 039;send&# 039;, &# 039;CTA&# 039;, &# 039;Button&# 039;, &# 039;Afspraak&# 039;;)”
without the spaces between # and 039