If you have questions about using mojoPortal, you can post them here.
You may want to first review our site administration documentation to see if your question is answered there.
Hello,
I am unable to get event tracking information from one of our websites. I have set up the event correctly in Analytics, and added code to the button on the website, but am unable to get this to connect. I did the same thing on a WordPress site to see if it was the code that was incorrect, but it worked immediately when adding to that platform.
Are there any code modifications that need to be made for the Mojoportal in order to track events properly in Google Analytics?
Thanks!
please be more specific about what you're doing to track events and how and where you are putting a button, ie show your markup and describe where you are putting the markup
It is put in:
<div class=" modulecontent"> <div id="ctl01_mainContent_ctl01_divContent" class="slidecontainer"> <div class="subpage-content">
And the markup is:
<h2>Loan Application</h2> <a href="https://www.24x7loans.com/CSEFCUAuto/default.aspx" onClick="_gaq.push(['_trackEvent', 'Loan Application', 'Click', 'Clicked',, false]);"> <img width="192" height="40" src="/Data/Sites/89/skins/cse-subpage/cse-images/button-apply-online-big.png" alt="Apply Online" /></a>
Is that what you're looking for, or something else?
what you posted appears to have an extra comma between 'Clicked' and false
Using browser tools is the console showing any script error?
Also are you sure that the page has the google analytics async script?