Onclick settings
-
for my wordpress account, yoast inserts the GA outbound tracking like it should but I need to modify it for two onclick events not just one.
It adds this:
onclick=”_gaq.push([‘_trackEvent’, ‘outbound-article’, ‘URLGOESHERE.html?application_id=1498’, ”]);”
I want it to say:
onclick=”_gaq.push([‘_trackEvent’, ‘outbound-article’, ‘URLGOESHERE.html?application_id=1498’, ”]);new Image().src=’2ndURLhere.html'”
The closest I can get is this but the 2nd onclick event doesn’t execute:
onclick=”_gaq.push([‘_trackEvent’, ‘outbound-article’, ‘URLGOESHERE.html?application_id=1498’, ”]);” onclick=”_gaq.push([‘_trackEvent’, ‘outbound-article’, ‘URLGOESHERE.html?application_id=1498’, ”]);new Image().src=’URLGOESHERE'”>
There problem is in the ‘apply now’ button in the middle of the page.
http://www.forsythtech.edu/admissions/getting-started/myvision/
The topic ‘Onclick settings’ is closed to new replies.