Azhar Azhar - 23 days ago 6
PHP Question

Fix Bounce Rate of google analytics

My website consists of many webpages having only a download option for file. Now these webpages are crawled by google and now people are visiting those webpages and downloading the files but the bounce rate is increasing as they only need to visit one webpage.

How do i fix my bounce rate?

Will setting timer on download button help?

what do i need to do?

Additional Information: I am using LAMP

My webpage looks like this page

Answer

Track your download as event (e.g. with an onclick event on the download button) and set the "nointeraction" flag to false (or do not set it at all since false is the default). Then people with download will have two interactions (so they are not bounces) while people who did not interact with your page will still count as bounces.

Example w/ jQuery:

<button id="download" name="mydocument">
 <script>
 $('#download').click(function(){
  ga('send','event','download',this.name);
 });
</script>

Documentation for event tracking is here.

Timers do not measure interaction, so I would not use them. Rather use clicks, scroll events or anything else that indicates your user is actually doing something.