Mobile app version of vmapp.org
Login or Join
Shelley277

: Setting up page goals in Analytics when using progressive enhancement to load content using jquery .load I'm using jQuery .load to load content in from other pages into my homepage, so that

@Shelley277

Posted in: #Goals #GoalTracking #GoogleAnalytics

I'm using jQuery .load to load content in from other pages into my homepage, so that Google can still see whats going on I've made the <a> tags go to the pages but over ride them in the JavaScript so instead of going the that page it just loads in the content from that page to the main page.

Normaly I would just make the page /contact.html a goal.

Can I still get it to work as a goal if the content is being loaded in? Can I do something like when the user clicks <a href="contact.html" id="load-contact">contact</a> it logs the clicking of the <a> tag as a goal, rather than the actaul page being visited?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelley277

1 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

I believe you'll want to setup some custom events to track as goals... See here for a more in depth explanation.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme