Mobile app version of vmapp.org
Login or Join
Becky754

: Tracking URL Goals to an external site from a landing page I have a landing page promoting an iOS app. The page is at vitogo.com. I've set up a goal for When a user clicks on the link

@Becky754

Posted in: #GoalTracking #GoogleAnalytics #LandingPage

I have a landing page promoting an iOS app. The page is at vitogo.com. I've set up a goal for When a user clicks on the link to go to iTunes to download the app.

I set up a URL destination goal in the property for the site, and can see the goal set up in the reports section. The problem is it isn't tracking any clicks. I've had the goal set up for a while now, and it hasn't tracked anything.

Thanks for the help!

EDIT: I now have two goals set up. Both URL Destinations.


An internal destination to /log-in
An external destination to itunes.apple.com/us/app/vitogo-fitness-personal-trainer/id492292132?ls=1&mt=8


I tried setting up an event for the second url with the following tracking code on the link

<a href="http://itunes.apple.com/us/app/vitogo-fitness-personal-trainer/id492292132?ls=1&mt=8" onclick="_gaq.push(['_trackEvent', 'Downloads', 'AppStore' 'Get the App']);" target="_blank" class="appstore"></a>

I then set up the goal values for the even in Google Analytics as shown in the image below:


The event doesn't record anything. I'm able to set up an internal path as a goal, but can't get an external link to record any information.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Becky754

2 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

The correct onClick code for async Analytics snippets is below.

onclick="_gaq.push(['_trackPageview', '/some-page']);"

and for event tracking you would use

onClick="_gaq.push(['_trackEvent', 'Site wide', 'View Cart']);"

More on event tracking here developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide?hl=es
virtual pageviews and events take about 10 minutes to register in Analytics after they've fired.

10% popularity Vote Up Vote Down


 

@Cugini213

You can do something like this. On the link to iTunes put this attribute onclick=”pageTracker._trackPageview(‘/goal/downloadFromiTunes’);return true” assuming that the name of you goal is downloadFromiTunes

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme