This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

SiteOrigin Button onclick=

10 years ago · Last reply by joey 10 years ago

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 ‘&#039’ code?

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. joey 10 years, 4 months ago

    edit: the result is
    onclick=”ga(&# 039;send&# 039;, &# 039;CTA&# 039;, &# 039;Button&# 039;, &# 039;Afspraak&# 039;;)”
    without the spaces between # and 039

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread